{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"},{"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"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":"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":"HostedClusterReconciler.reconcileLegacy (cyclomatic 336): HostedClusterReconciler.reconcileLegacy has cyclomatic complexity 336 (threshold 15). Of this number, 314 points are the body\u0027s own statements and 22 belong to 11 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ddb8c3f11a3f4ff84f33aeb3bacf316913c8220a0480039b137e505f756784"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.reconcile (cyclomatic 205): HostedClusterReconciler.reconcile has cyclomatic complexity 205 (threshold 15). Of this number, 187 points are the body\u0027s own statements and 18 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9658715997a4d24fee283bb106492d3cee1449e1912a15c0a81d4916912d73c2"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.delete (cyclomatic 48): HostedClusterReconciler.delete has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0737072a0f790ef8546bc41c74bd89700dce8780808869bf7dee477c57513"}},{"ruleId":"D1","level":"warning","message":{"text":"PRReportGenerator.generate_blog_data (cyclomatic 41): PRReportGenerator.generate_blog_data has cyclomatic complexity 41 (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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4184e63b9fe455ea6eeb18f419fd8a964545ae5c6bd8582f2b335ee98fd8c83"}},{"ruleId":"D1","level":"warning","message":{"text":"e2eutilallowlist.run (cyclomatic 39): e2eutilallowlist.run has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 6 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 43). 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":"hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4909090a54bf3b2f755899554d22c623c6587b0ec40e412779d6bcf7ef67c39"}},{"ruleId":"D1","level":"warning","message":{"text":"platform.GetPlatform (cyclomatic 34): platform.GetPlatform has cyclomatic complexity 34 (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":"hypershift-operator/controllers/hostedcluster/internal/platform/platform.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c366101f5755510c2ccd7729edab522822222ec2f32f2bc08b7b60cc57992d"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.reconcile (cyclomatic 34): NodePoolReconciler.reconcile has cyclomatic complexity 34 (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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"280f62a11871624f4039dd6a1c69d740ff889c38353291ecfef1c39be93681fd"}},{"ruleId":"D1","level":"warning","message":{"text":"testfuncstructure.reportGroup (cyclomatic 32): testfuncstructure.reportGroup has cyclomatic complexity 32 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 7 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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0e85290d529acb8bed88ce13f7b752502ea58539529097c3c4de5f46042449"}},{"ruleId":"D1","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.Reconcile (cyclomatic 30): GCPPrivateServiceConnectReconciler.Reconcile 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb471c4e37e3117a0018b37d3dc345f3c1e28457a0ded397fd4af91438c4415"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.Reconcile (cyclomatic 30): reconciler.Reconcile has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"0152c77fe635a55ebd728354ed0da339dc558f7e26e06673126e8881322c4e95"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileRegistryAndIngress (cyclomatic 30): reconciler.reconcileRegistryAndIngress has cyclomatic complexity 30 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 9 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"052d887b9ff8e49b9a3ef4d4c612585b0601e65dc40e5cb6a79e3517812c6ea3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.generate (cyclomatic 30): main.generate has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 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":"hack/gmp-api-gen/main.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"014982468cbd1c52643fdab3070c096a401d404100867c3a8859ed3c682982cd"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 30): main.run has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/main.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9c1293c71451d63ddf6cab318650637760032d97451b4bc896d49488fa6d2"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalIgnitionProvider.GetPayload (cyclomatic 30): LocalIgnitionProvider.GetPayload has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"24243ad750298582427c085c0c60aa8a6e879f1c3415753308ab96ce730e670c"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenSecretReconciler.Reconcile (cyclomatic 30): TokenSecretReconciler.Reconcile has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs 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":"ignition-server/controllers/tokensecret_controller.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280bba4f089b17b3aef16a6115684a3589214152da12a8c63da9b62d3a02bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"PRReportGenerator.generate_report (cyclomatic 30): PRReportGenerator.generate_report 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bbb1d16b51b8849dd6e6010346dd6e0e234f9d7608a51ab47ffba8064c0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_ownership.build_rules (cyclomatic 30): generate_ownership.build_rules 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":"skills/restructure-commits/generate_ownership.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a15048b99d68c78f315be8dad3933877413bd126f8556c0d224e4f9bf39ca2c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOptions.ApplyPlatformSpecifics (cyclomatic 29): CreateOptions.ApplyPlatformSpecifics 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":"cmd/cluster/aws/create.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ad53a881abb426ef226a85becfe2035b017ee7f397270e72e7306e9ce7d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"dump.DumpCluster (cyclomatic 29): dump.DumpCluster has cyclomatic complexity 29 (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":"cmd/cluster/dump/dump.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c162aaf83d79375256d99e41b3752f9e000c57fdff35d39df9e445155aa53253"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSEndpointServiceReconciler.Reconcile (cyclomatic 29): AWSEndpointServiceReconciler.Reconcile 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ce588a90c41264277b9d0d57a5d69a3f8f2266d0f6772b73d0a4a74c0508a2"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.Reconcile (cyclomatic 29): HostedControlPlaneReconciler.Reconcile has cyclomatic complexity 29 (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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a830a353fc59912345397f99a2b1a06be21fc3f077b145ca714f8f3e7c4a37e"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileCloudCredentialSecrets (cyclomatic 29): reconciler.reconcileCloudCredentialSecrets has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaee20c6c7d6f4d760537137c786b692f29e4baecc6c80c4e8858fde86cadf4b"}},{"ruleId":"D1","level":"warning","message":{"text":"CertificateRevocationController.ensureOldSignerCertificateRevoked (cyclomatic 29): CertificateRevocationController.ensureOldSignerCertificateRevoked 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b93d1ae9a77a4469a4c28f47a5d2c1a3baf444f27cc658502fbf81e55944b8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.crossFileCascade (cyclomatic 29): main.crossFileCascade 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":"hack/copy-capi-types/main.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b4974ba4a27d91cebd9db6fe4823d92299bf73ce12ba500433e360900bcc96"}},{"ruleId":"D1","level":"warning","message":{"text":"hostedcluster.enqueueHostedClustersFunc (cyclomatic 29): hostedcluster.enqueueHostedClustersFunc has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to one function literal inside it that branches (line 4363). 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4362}}}],"partialFingerprints":{"codehealthFindingId/v1":"77370ff5893e9c157b92a15c983499f3f2d972b1b8fa002450345327b3f3ff60"}},{"ruleId":"D1","level":"warning","message":{"text":"CAPI.Reconcile (cyclomatic 29): CAPI.Reconcile 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"59499ee8a37de6aef13aa5c266263abf836d28f3b93af4dea7aa5f406ac31c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"capabilities.DetectManagementClusterCapabilities (cyclomatic 29): capabilities.DetectManagementClusterCapabilities has cyclomatic complexity 29 (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":"support/capabilities/management_cluster_capabilities.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9214d155bca18e27ab217acebd76732360ec6a429dcaac85cf1326009a52f1c9"}},{"ruleId":"D1","level":"warning","message":{"text":"RBACManager.assignRole (cyclomatic 28): RBACManager.assignRole 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":"cmd/infra/azure/rbac.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6710d48837945f93b1e12bbe771f533764d8698daaf7368ea27c545080c9a9"}},{"ruleId":"D1","level":"warning","message":{"text":"DestroyInfraOptions.DestroyInfra (cyclomatic 28): DestroyInfraOptions.DestroyInfra 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":"cmd/infra/powervs/destroy.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8da563fb7111d187af4063ef9c722671cef6edb7ddeee76bb79b1290c8b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"AzurePrivateLinkServiceReconciler.Reconcile (cyclomatic 28): AzurePrivateLinkServiceReconciler.Reconcile 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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f59e4d54ddc1bc479320bc586893bbec84076abee61c877639e21c970e1a70"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileCPOV2 (cyclomatic 28): HostedControlPlaneReconciler.reconcileCPOV2 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfb7aded228954ef997e1fc8ff28d40d1fc70a8b0d216aac77ffb5e6121fc39"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.ReconcileService (cyclomatic 28): kas.ReconcileService 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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8bc463c55dad2271e11bc3d14c0e1a7715ef39d289b7c055d62c484f6c5272"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.generateConfig (cyclomatic 28): kas.generateConfig 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4530a04103c5332d4cd854c6c76ff705467c590027081a1426fc3afd3448ec34"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.adaptDeployment (cyclomatic 28): kas.adaptDeployment has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd964b0b8ad7439add41d5c95adad6de22ac027c683c17ccd5c9427ea595f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"DefragController.runDefrag (cyclomatic 28): DefragController.runDefrag has cyclomatic complexity 28 (threshold 15). Of this number, 26 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":"etcd-defrag/etcddefrag_controller.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec5b20a535c389f2e1c72c60d60c306ed9867a8b47962bb6c07d6c275fdfd3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.readFindings (cyclomatic 28): main.readFindings has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 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":"hack/tools/deadcode-report/report.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"151cf3cd6b45602d96ab347bc472cc5c09b1c58f107747095fb78c5da8fdc212"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOptions.ApplyPlatformSpecifics (cyclomatic 27): CreateOptions.ApplyPlatformSpecifics 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":"cmd/cluster/azure/create.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28174b8e67eae196bd8ed8fcd7048291d7e3682e355645290b16dc92318ff6c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOptions.RunBackup (cyclomatic 27): CreateOptions.RunBackup 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":"cmd/oadp/backup.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"166ec5a848bb7ddb0b686e87b359d2d9d4aa7dd0afb5196d2f303cb987ec6b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOptions.RunSchedule (cyclomatic 27): CreateOptions.RunSchedule 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":"cmd/oadp/schedule.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9398951437dc5bf8a9159553cd3e7e195271b682bb88e0cdd83b282fb57f8345"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcilePKI (cyclomatic 27): HostedControlPlaneReconciler.reconcilePKI 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4072bc8895a7783a304c5ac09858438fcafcc568e02b4a9bece2331fce49729"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.reconcileAPIServerService (cyclomatic 27): Reconciler.reconcileAPIServerService 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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"71448c6bf299cfad8647dfb45da6c2b6fed60f110b0ef200752b4e187a6520d6"}},{"ruleId":"D1","level":"warning","message":{"text":"CertificateRevocationController.ensureNewSignerCertificatePropagated (cyclomatic 27): CertificateRevocationController.ensureNewSignerCertificatePropagated 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"239aabdd50ddf3558a61cac512f963f44615434f67afa6495862d5790e5852e4"}},{"ruleId":"D1","level":"warning","message":{"text":"hostedcluster.reconcileHostedControlPlane (cyclomatic 27): hostedcluster.reconcileHostedControlPlane has cyclomatic complexity 27 (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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed4837da73d86d5a222caa1ae41b4e55a32ec57dc02179061075283bfa4d8ad"}},{"ruleId":"D1","level":"warning","message":{"text":"PRReportGenerator.fetch_release_prs_graphql (cyclomatic 27): PRReportGenerator.fetch_release_prs_graphql 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"019b64c8ec467a0f2081bb78f6f8970c21929a1e74a40228af27ccee04d15e75"}},{"ruleId":"D1","level":"warning","message":{"text":"availabilityprober.check (cyclomatic 26): availabilityprober.check 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":"availability-prober/availability_prober.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b97a0592094179edca18427d3eaad2eb4596e56f9aa992bad63752b1fdf0c"}},{"ruleId":"D1","level":"warning","message":{"text":"core.CreateCluster (cyclomatic 26): core.CreateCluster has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs 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":"cmd/cluster/core/create.go"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8e07d3f0a9b83be703cefa1ba9711dbc9ec260f046733c3edd74b05692c56f"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSEndpointServiceReconciler.delete (cyclomatic 26): AWSEndpointServiceReconciler.delete 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"29207aba2cdfb5f96ac65aedf7ae918c5e8d45350eeafce788095ed9006d887d"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.removeCloudResources (cyclomatic 26): HostedControlPlaneReconciler.removeCloudResources has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c7622b3dbe6810a7a41b106bdfd87a5012a609277f2a2b4aaa29269d302c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"hostedcluster.validateSliceNetworkCIDRs (cyclomatic 26): hostedcluster.validateSliceNetworkCIDRs 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5203}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f0286a9f318b474397ad985bac35d7f669fa4eaf2c6fad89b45a397e9481ed"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.reconcilePublicEndpointExposedCondition (cyclomatic 26): HostedClusterReconciler.reconcilePublicEndpointExposedCondition 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":6340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a132508b399450af10189444be26d4622531c0717991a24b65135f547ce6505"}},{"ruleId":"D1","level":"warning","message":{"text":"HAProxy.reconcileHAProxyIgnitionConfig (cyclomatic 26): HAProxy.reconcileHAProxyIgnitionConfig 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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d99b0762ed9c0ef37c6230bb0f6514b605ba4671150e6cec62fd70bd99d400"}},{"ruleId":"D1","level":"warning","message":{"text":"conditions.ExpectedHCConditions (cyclomatic 26): conditions.ExpectedHCConditions 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":"support/conditions/conditions.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d721c2bee0ef957fefa7a66c58e3ce969aaa13382aba726dc8a35d9d5dc12a50"}},{"ruleId":"D1","level":"warning","message":{"text":"main.NewStartCommand (cyclomatic 25): main.NewStartCommand has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to one function literal inside it that branches (line 367). 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":"control-plane-operator/main.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ea32dea86c32b53cf1cbcf73fd65d80137fd943d5301504a6c9ce737bd7fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.processFile (cyclomatic 25): main.processFile 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":"hack/copy-capi-types/main.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e5b3a5273398aeb2101b3acbf22a5bb8dde77ac0f1ed28e6f3a7ac3dcc62b3"}},{"ruleId":"D1","level":"warning","message":{"text":"PowerVS.ReconcileCredentials (cyclomatic 25): PowerVS.ReconcileCredentials has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 226, 291, 327, \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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"331068b123a0ace1281ece609a81619a7f904f8552511002b1cf0a793166889c"}},{"ruleId":"D1","level":"warning","message":{"text":"kubevirt.virtualMachineTemplateBase (cyclomatic 25): kubevirt.virtualMachineTemplateBase 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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5910d4cae2c8388299011250aec6f99e4684814aca2bd436d3550f4fd901336"}},{"ruleId":"D1","level":"warning","message":{"text":"secretJanitor.Reconcile (cyclomatic 25): secretJanitor.Reconcile has cyclomatic complexity 25 (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":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d3bfbd783e80b66bc9bcb5fd1fd86919c56861a0265e693439e7cda719503a"}},{"ruleId":"D1","level":"warning","message":{"text":"globalconfig.ReconcileInfrastructure (cyclomatic 25): globalconfig.ReconcileInfrastructure 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":"support/globalconfig/infrastructure.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"945d1b6faf650d5c5935e4e67d57653ac5655c5ed95a02900bfff6faf2667f06"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 25): main.run has cyclomatic complexity 25 (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":"hack/tools/deadcode-report/main.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e3ae664d78a2c17e36c379825aec7994179232580e735ab266480046225db4"}},{"ruleId":"D1","level":"warning","message":{"text":"configrefs.oauthSecretRefs (cyclomatic 24): configrefs.oauthSecretRefs 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":"api/util/configrefs/refs.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9865b893c73d683f66e64f3a395b3c9f27b63da28cdbdf2bc6a3b54e3434331c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateOptions.GenerateNodePools (cyclomatic 24): CreateOptions.GenerateNodePools 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":"cmd/cluster/azure/create.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0266f9f7282cde83871600589a1cb3f2ca370074f7a11d229e15bb096cd61784"}},{"ruleId":"D1","level":"warning","message":{"text":"core.parseEtcdShard (cyclomatic 24): core.parseEtcdShard 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":"cmd/cluster/core/etcd_shards.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4f0694bf0f97281317a63b31c92c31233af386edec09e836585ead93b6aacc"}},{"ruleId":"D1","level":"warning","message":{"text":"install.InstallHyperShiftOperator (cyclomatic 24): install.InstallHyperShiftOperator 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":"cmd/install/install.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fa4eefb40ac95f00a43e00a50147a8910ee49b8222d270080c2a8e7f956e27"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.ensureCloudResourcesDestroyed (cyclomatic 24): reconciler.ensureCloudResourcesDestroyed 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e196fd7ac11907bae9e0aa50d47e509f1850ed141a22200d2105bee895e814"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 24): main.main 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":"hack/copy-capi-types/main.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e3673d2e8430966e507adc662255999c9fb93b8e655fb530ea4a38c20a59e"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.reconcileKubevirtPlatformDefaultSettings (cyclomatic 24): HostedClusterReconciler.reconcileKubevirtPlatformDefaultSettings has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d3b2761b1a14d0190102ed1f6737e0fba4e5fa71f5219a1e03fa890fcfb9a8"}},{"ruleId":"D1","level":"warning","message":{"text":"validations.ValidateOCPAPIServerSANs (cyclomatic 24): validations.ValidateOCPAPIServerSANs 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":"hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08447eb610a7f6421976dc7fcd8346d75250b04e3c029deecb708e8fde9d67f"}},{"ruleId":"D1","level":"warning","message":{"text":"nodepool.isArchAndPlatformSupported (cyclomatic 24): nodepool.isArchAndPlatformSupported 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2d419693cefe4789f4e2e2d7e16e6d8129f196470c566035b7597eaaf28bd"}},{"ruleId":"D1","level":"warning","message":{"text":"util.setHostedClusterSchedulingAnnotations (cyclomatic 24): util.setHostedClusterSchedulingAnnotations 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":"hypershift-operator/controllers/scheduler/util/scheduler.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe697e639f9c33f32ddb1728c73d4c1c12f2425db827e0e8b1c0c8d720418ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 24): main.run 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":"karpenter-operator/main.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d280fd803a9831f9bf3802b0b1db1e3941bfcebb2b93bcd8e1ba40767bb73c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"controlPlaneWorkload.setDefaultOptions (cyclomatic 24): controlPlaneWorkload.setDefaultOptions 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":"support/controlplane-component/defaults.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64ed0597c9f2864482ea8a6901333b22ddb9c5fa02234521f174abbdc47d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"KonnectivityContainerOptions.buildContainer (cyclomatic 24): KonnectivityContainerOptions.buildContainer 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":"support/controlplane-component/konnectivity-container.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f656c92ed99f11cabc1279226f732c79f868d73f447c78fec4246b541e4cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidatedCreateOptions.Complete (cyclomatic 23): ValidatedCreateOptions.Complete 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":"cmd/cluster/aws/create.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaad3a47b78a364cea71b3e9b4fb45cfa74b5a671c5033de3000943221e3eb1"}},{"ruleId":"D1","level":"warning","message":{"text":"core.destroyCluster (cyclomatic 23): core.destroyCluster 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":"cmd/cluster/core/destroy.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2cb9be33a052b339867900bf3ae34ab9115769bfa0f040d18c397072617508"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileDefaultSecurityGroup (cyclomatic 23): HostedControlPlaneReconciler.reconcileDefaultSecurityGroup has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecc8b9e5b6e6ab048bdce252cfba131e9d47729c70761da63acf22a0b227529"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.setupKASClientSigners (cyclomatic 23): HostedControlPlaneReconciler.setupKASClientSigners has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 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":"control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8fdceef8b85586b2a68eb6aa81af2d0fe2a608636e85e3ba6c946fd13cefa1"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.setCIDRConflictCondition (cyclomatic 23): NodePoolReconciler.setCIDRConflictCondition 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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ae4fac0f25ad9e59ea52e93aadd622e8329b58fec61408f0ee3e69d1001f74"}},{"ruleId":"D1","level":"warning","message":{"text":"placeholderUpdater.reconcile (cyclomatic 23): placeholderUpdater.reconcile 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":"hypershift-operator/controllers/scheduler/aws/placeholders.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d20a87de8d8c7c44026442d4ee167c59f407cf88a9ba5e2936b0ba8187a1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"EC2NodeClassReconciler.Reconcile (cyclomatic 23): EC2NodeClassReconciler.Reconcile 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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"650e2120905d16cebb4c80b5c8fac7e66380a559c25150021b230d98eb302253"}},{"ruleId":"D1","level":"warning","message":{"text":"kubevirtexternalinfra.ValidateKubeConfig (cyclomatic 23): kubevirtexternalinfra.ValidateKubeConfig 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":"kubevirtexternalinfra/externalinfra.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a0cef7e245f09d1a89bdb64b51dc6a47d5bf85dce6bd980c1301dd65a08ace"}},{"ruleId":"D1","level":"warning","message":{"text":"releaseinfo.readComponentVersions (cyclomatic 23): releaseinfo.readComponentVersions 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":"support/releaseinfo/releaseinfo.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec5627e693d1a2b4613e131b3003754765f35ee6221fae6c84b008ca9dd274"}},{"ruleId":"D1","level":"warning","message":{"text":"applyProvider.update (cyclomatic 23): applyProvider.update 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":"support/upsert/apply.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1adc379e4f02a45a876a0e1d3d165180bedb4fc2238abb766984131e3b1e73"}},{"ruleId":"D1","level":"warning","message":{"text":"vacuouspass.extractNonEmptyGuardTarget (cyclomatic 23): vacuouspass.extractNonEmptyGuardTarget has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 265). 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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5188c06d3753e8e0d05824889118b51d710b4ba1e7332c8bfd78ffa6a5199c68"}},{"ruleId":"D1","level":"warning","message":{"text":"RawCreateOptions.Validate (cyclomatic 22): RawCreateOptions.Validate 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/cluster/azure/create.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5909a1eb8b95a5126a7a218edef3f39384ad79d8a964b050aa908992f882d6f"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.deriveKMSKeys (cyclomatic 22): kas.deriveKMSKeys 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59268ef2c083fc5696d476c32f2263dcf7f6fa9f3f13daa0b279219cef591e7"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.NewConfigParams (cyclomatic 22): kas.NewConfigParams 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"545bde214c3704a71a7d9fe24abdcf15910625b048ae380ff830575d05528444"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileOLM (cyclomatic 22): reconciler.reconcileOLM has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54606638775ab87ea249e8d20724b31761daa6464d021df2385ddda56a23e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.stripDecls (cyclomatic 22): main.stripDecls 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":"hack/copy-capi-types/main.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8648fa585ba375c959fd0b2faf5cf9a66007d9c7587612a811f05d3a579d94"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotReconciler.Reconcile (cyclomatic 22): SnapshotReconciler.Reconcile 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":"hypershift-operator/controllers/auditlogpersistence/snapshot_controller.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1065af791b8ff1db1a47bdb5eea61d8bde30c39c3feb57a6a31523bd151a0304"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSEndpointServiceReconciler.Reconcile (cyclomatic 22): AWSEndpointServiceReconciler.Reconcile 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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f43d3418e818bfd753febd20bf156669f2db3540a22f4bcdcb2cf69efbb687"}},{"ruleId":"D1","level":"warning","message":{"text":"KarpenterIgnitionReconciler.Reconcile (cyclomatic 22): KarpenterIgnitionReconciler.Reconcile 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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2457729c8cbe44a183b2f247518a12e14cc0f469a768d6562e8bbe5fe08842a5"}},{"ruleId":"D1","level":"warning","message":{"text":"CRDMigrator.Reconcile (cyclomatic 22): CRDMigrator.Reconcile has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c3ffd17ec4a495efa2edbe5b811dce4bc39a7da01f0a6111326ab0756ef55c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 22): main.main 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":"hack/tools/release/notes.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ea64d2d00acd1cc54e470e88cf081132662879ed62ab27d546f9cbaa3c7825"}},{"ruleId":"D1","level":"warning","message":{"text":"PRReportGenerator._write_section (cyclomatic 22): PRReportGenerator._write_section 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05541a322a68b70feb0b6eaf4d6556acddac06edbf3e365f1a5c9040f8cd427"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.newAPIJournalCollector (cyclomatic 21): azure.newAPIJournalCollector has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"cmd/consolelogs/azure/api_journals.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"522766b34918105f37a702cfa2abd29080b22e67cbeb718dbf9c94b017cc9452"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateInfraOptions.handleIdentitiesAndRBAC (cyclomatic 21): CreateInfraOptions.handleIdentitiesAndRBAC 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":"cmd/infra/azure/create.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"05299d9b211c797662bc7277c016176f43eafc9532a4b1c6fb5be496d88e3bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"install.setupAuth (cyclomatic 21): install.setupAuth 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":"cmd/install/install.go"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc8af272ab768e5163aa5d061dd123ff40cef88e86a958fbb195aa451fe1c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateNodePoolOptions.CreateNodePool (cyclomatic 21): CreateNodePoolOptions.CreateNodePool has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/core/create.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"616cf52d4d513ff581d51fb7ac12a703fed5417b82485e8bffbe062f35fe6f16"}},{"ruleId":"D1","level":"warning","message":{"text":"etcd.adaptStatefulSet (cyclomatic 21): etcd.adaptStatefulSet has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 3 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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c34db865887ee06a0a91cf14dab0b933409481aa42cb0f17c82489f4fa930"}},{"ruleId":"D1","level":"warning","message":{"text":"network.ReconcileNetworkOperator (cyclomatic 21): network.ReconcileNetworkOperator 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/network/reconcile.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f62c961853478f3f5a0383436bd3c13307c8f46735d252cc1464d228a0802b7"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileNetworkingAndSecrets (cyclomatic 21): reconciler.reconcileNetworkingAndSecrets has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c5a7b0ad9ac079a33c14a198169b779102dd29b880b0c00b2168c77a7bd163"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileMetricsForwarder (cyclomatic 21): reconciler.reconcileMetricsForwarder has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c7a8dba5ec6bdd60a565db3334ce28beaab9ca6d691b2eea67c871f61d2d23"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.ensureIngressControllersRemoved (cyclomatic 21): reconciler.ensureIngressControllersRemoved 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"9875b08e60097580c3c89619a1e8f796987b9801d69eaa2a8e650079ff08b1cc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.localizeFile (cyclomatic 21): main.localizeFile 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":"hack/copy-capi-types/main.go"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be470b4ea740d6617fd53323edc1c0b91448f27079eea9bcbf1f9947548f77b"}},{"ruleId":"D1","level":"warning","message":{"text":"supportedversion.IsValidReleaseVersion (cyclomatic 21): supportedversion.IsValidReleaseVersion has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/supportedversion/version.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1e9e2f2db9a1cf511f501d00b220b168b74d1b70b2e99cf9c61973be4626cd"}},{"ruleId":"D1","level":"warning","message":{"text":"commit_layout.cmd_verify (cyclomatic 21): commit_layout.cmd_verify 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":"skills/restructure-commits/commit_layout.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"596026e84abba799ed434e6d27121106a3eb218072742bbde277d39662aae1d5"}},{"ruleId":"D1","level":"warning","message":{"text":"RawCreateOptions.Validate (cyclomatic 20): RawCreateOptions.Validate 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":"cmd/cluster/gcp/create.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf037a7c9821d7829d29343fad25a40c461149efe20ef80848483cebd051f2d"}},{"ruleId":"D1","level":"warning","message":{"text":"RawCreateOptions.Validate (cyclomatic 20): RawCreateOptions.Validate 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":"cmd/cluster/kubevirt/create.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"547cc7c2d6b734c44271ecf35c65debba70d4ac2edfa85a2ded2f96703f05c98"}},{"ruleId":"D1","level":"warning","message":{"text":"DrOidcIamOptions.Run (cyclomatic 20): DrOidcIamOptions.Run 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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9582a57edad35645cd2012e74ac32bfc6bf0740ddda7f66a185e31e5cfbe8245"}},{"ruleId":"D1","level":"warning","message":{"text":"install.crdIncludeFilter (cyclomatic 20): install.crdIncludeFilter has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 994). 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/install/install.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcf4c4cc03c46085f63bd025fec7e5b4b3dd6c975b3bf2b1e7f159a808b9326"}},{"ruleId":"D1","level":"warning","message":{"text":"FirewallManager.Delete (cyclomatic 20): FirewallManager.Delete 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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5143020fc1fdd07ae3c935744c1a75cccf264eb7c06c448ff40c8714f4eeff00"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.reconcileInPlaceUpgrade (cyclomatic 20): Reconciler.reconcileInPlaceUpgrade has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5017b9851cf6ad5387d7e96924184ccc8d488eda1428eec1cfb71a3c12bd96ca"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.reconcileSecretEncryptionSync (cyclomatic 20): HostedClusterReconciler.reconcileSecretEncryptionSync has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"447b679269607f77b512802f18e3476abe3c3b31d5f430fb3d9599e2e8d756db"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.Reconcile (cyclomatic 20): Reconciler.Reconcile 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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8973d7459a4faafc3a2ef110c10f25f228f98d90ff532de86ea667a938bfb276"}},{"ruleId":"D1","level":"warning","message":{"text":"nodepool.defaultAzureNodePoolImage (cyclomatic 20): nodepool.defaultAzureNodePoolImage 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":"hypershift-operator/controllers/nodepool/azure.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f748f244f1100efbc80df0e9afde6dde38e4b9b2684278590870f805b648baeb"}},{"ruleId":"D1","level":"warning","message":{"text":"kubevirt.MachineTemplateSpec (cyclomatic 20): kubevirt.MachineTemplateSpec 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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ac59f9db36aeea28e2a75c87ed4a62f91dfcf934eb4d2430a8c53f8439f42"}},{"ruleId":"D1","level":"warning","message":{"text":"AzurePrivateLinkServiceController.reconcilePrivateLinkService (cyclomatic 20): AzurePrivateLinkServiceController.reconcilePrivateLinkService 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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"77772718ec04a03fdb52138bb4864f403c9c0e71e1981a2f623a9bfa06275ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"GCPLoadBalancerLabelsReconciler.reconcileRouterServices (cyclomatic 20): GCPLoadBalancerLabelsReconciler.reconcileRouterServices 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":"hypershift-operator/controllers/platform/gcp/loadbalancer_labels_controller.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beddda7a6200aa18613075ec0a8a119e97741108f772da7c4567585052bb42b"}},{"ruleId":"D1","level":"warning","message":{"text":"DedicatedServingComponentSchedulerAndSizer.Reconcile (cyclomatic 20): DedicatedServingComponentSchedulerAndSizer.Reconcile 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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf1d313bcaaa8f1b45524bcbae43cd4073c3dc815fbd8d445c1bc87a925be39"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedIngressReconciler.reconcileRouter (cyclomatic 20): SharedIngressReconciler.reconcileRouter 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":"hypershift-operator/controllers/sharedingress/sharedingress_controller.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16a66b92ec27e9131115d8f5ae3b31420f2031d355e68d00949492beafa52d1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 20): main.main 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":"hack/tools/check-konflux-triggers/main.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b194b7ef80e5839712624002bce39427c81c4d01935ca5fb66555380e425468"}},{"ruleId":"D1","level":"warning","message":{"text":"main.checkCRDsInDir (cyclomatic 20): main.checkCRDsInDir 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":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"39166d7956b7c1a6ee99ff14711a0db001891268bd32148e2f894c877b1ac7c8"}},{"ruleId":"D1","level":"warning","message":{"text":"testcasename.run (cyclomatic 20): testcasename.run has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 30). 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":"hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5653c0db38269c13eccdfd5bfca82c6fdaa6bf34a90d4a4f2de1f29bc763fa58"}},{"ruleId":"D1","level":"warning","message":{"text":"PRReportGenerator.fetch_all_prs (cyclomatic 20): PRReportGenerator.fetch_all_prs 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cd68d6b3ca36c7a8377e9cfc159b0b8e89b4f6bf474f6e3d35d20032edf34f"}},{"ruleId":"D1","level":"warning","message":{"text":"powervs.getCISDomainDetails (cyclomatic 19): powervs.getCISDomainDetails has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 500). 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/infra/powervs/create.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5764009ed50500606c2865374736311cd85c0e15115e271c751759148b87331c"}},{"ruleId":"D1","level":"warning","message":{"text":"HyperShiftOperatorDeployment.buildEnvVars (cyclomatic 19): HyperShiftOperatorDeployment.buildEnvVars 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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e28f883c927103ce0b62ce4ae464f51048396009aa6ed1c204daa663b48ed1"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileDeprecatedConfigurationStatus (cyclomatic 19): HostedControlPlaneReconciler.reconcileDeprecatedConfigurationStatus has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e215028bada471e7e9373e9b72767d776535ffa3fc2ed05de94b1bb9cfb72"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.healthCheckKASLoadBalancers (cyclomatic 19): HostedControlPlaneReconciler.healthCheckKASLoadBalancers 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c3575148663d7344466fb262acbbe2b0791e02a6e31e35f1edf2c794320db9"}},{"ruleId":"D1","level":"warning","message":{"text":"ingress.ReconcileRouterService (cyclomatic 19): ingress.ReconcileRouterService 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":"control-plane-operator/controllers/hostedcontrolplane/ingress/router.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"839438d8f6aefc67f69de1e50eefb370627472973258652ca6105267c02479ec"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.ReconcileServiceStatus (cyclomatic 19): kas.ReconcileServiceStatus has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ad88953fee779689f29e2a51bdc03ebdd7334d188ce09c482f8f9963824e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.ReconcilePrivateService (cyclomatic 19): kas.ReconcilePrivateService 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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf67d57a31f73a9f610237fd96671ae7361c2a13d3baaa15c81a60560994f546"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.transportForCARef (cyclomatic 19): oauth.transportForCARef 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0af40ebadc272779d2d4c3180adf67f8968904d86d5959453e2708204d308a"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.azureConfig (cyclomatic 19): azure.azureConfig 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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/config.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1637c1fa9f15048722beb61cfb0c3d272be987d4fa0df35f3186a19c68614256"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.transportForCARef (cyclomatic 19): oauth.transportForCARef 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"936c3717172769114dd7221de232898e97301c119f2cdc18a905c07a653e4183"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.reconcileGlobalPullSecret (cyclomatic 19): Reconciler.reconcileGlobalPullSecret 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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6015f9dca80e027ff46d74ef1030e6c5c58dff56001a075bfc4653a07396f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"ingress.NewIngressParams (cyclomatic 19): ingress.NewIngressParams 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/ingress/params.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb42ab0fb87a5f560ee1a165bab96175fc471363f40374166bdb79c310caf3c"}},{"ruleId":"D1","level":"warning","message":{"text":"CertificateRevocationController.prunePreviousSignerCertificates (cyclomatic 19): CertificateRevocationController.prunePreviousSignerCertificates 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a77ee0839a9de75ea4d9f5318d17dfbbb346c99652f392d6890f3a135f6724"}},{"ruleId":"D1","level":"warning","message":{"text":"nodepool.setScaleFromZeroAnnotationsOnObject (cyclomatic 19): nodepool.setScaleFromZeroAnnotationsOnObject 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":"hypershift-operator/controllers/nodepool/scale_from_zero.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e25c42cba4974c355968b9f9cb5438c0737f30dff2104e534e1dec39ec8755"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.Reconcile (cyclomatic 19): NodePoolReconciler.Reconcile has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1756b7e6208fc9ad14066ac54f0fe36179cd25b3400ff0e8567782649c880"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.SetupWithManager (cyclomatic 19): Reconciler.SetupWithManager has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 5 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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c02f1638c4bbcb681b1f2631219c1f5c9b55aea7bc8fe3dce98c7900602d7a"}},{"ruleId":"D1","level":"warning","message":{"text":"upsert.defaultContainer (cyclomatic 19): upsert.defaultContainer 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":"support/upsert/upsert.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d80d4ba4064fdc1785f118852c305f249aaff6638197c5524a75281e59a77"}},{"ruleId":"D1","level":"warning","message":{"text":"tokenminter.mintToken (cyclomatic 19): tokenminter.mintToken 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":"token-minter/tokenminter.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c6a0be656215caabd0cdf55a45e9e1248150e4ef4c9bd7eeab3f25145b10e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 19): main.main 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":"hack/tools/deployment/deployment-update.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab629c2f1eb1a24216696ef8f426425aba0a544535465d5a13b4f061fe07d6"}},{"ruleId":"D1","level":"warning","message":{"text":"update_trusted_task_bundles.print_summary (cyclomatic 19): update_trusted_task_bundles.print_summary 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":"hack/tools/scripts/update_trusted_task_bundles.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6761e390d96c767fcd2c9ea76b98c9816a29af9ceb44eab20e275111489ba6c3"}},{"ruleId":"D1","level":"warning","message":{"text":"loader.Resolve (cyclomatic 18): loader.Resolve 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":"contrib/gomaxprocs-webhook/internal/config/loader.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5299ddb8e5036d674ebd88eb655f1c3f0c4f133f416f5fc2192966a36e041b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"core.forceRemoveAllFinalizers (cyclomatic 18): core.forceRemoveAllFinalizers 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":"cmd/cluster/core/destroy.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb959277e6970942d936d0cc96be23bb6011c717927747496f4b25df08a6d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateInfraOptions.createPerZoneResources (cyclomatic 18): CreateInfraOptions.createPerZoneResources 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":"cmd/infra/aws/create.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a86267c6fab80195eb41f07158b028856ac3edc84e8adad2888e087e15fa1c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateIAMOptions.CreateIAM (cyclomatic 18): CreateIAMOptions.CreateIAM 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":"cmd/infra/aws/create_iam.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e49720d6d84232ad9c0bac8654bde11e51b1764c9286630b466e7de2e7539f"}},{"ruleId":"D1","level":"warning","message":{"text":"DestroyIAMOptions.DestroyWorkerInstanceProfile (cyclomatic 18): DestroyIAMOptions.DestroyWorkerInstanceProfile 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":"cmd/infra/aws/destroy_iam.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7f03b5b093a059ddc267fd25775ed757f7bd3196a2ff8224fdfe5be313481a"}},{"ruleId":"D1","level":"warning","message":{"text":"powervs.validateVpc (cyclomatic 18): powervs.validateVpc has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"cmd/infra/powervs/validate.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2537b875bb6de4a80ae9485f46d3917ecda1675d586f48d68652ca762684bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"powervs.validateTransitGatewayByName (cyclomatic 18): powervs.validateTransitGatewayByName has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/validate.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"33141855fd4e36f32217ac3a24ca652f4f97649d6a3cb4becf09ccbfa1350755"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.validateExternalDNSConfig (cyclomatic 18): Options.validateExternalDNSConfig 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":"cmd/install/install.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df1fb06ba2d3caddbd4e7b7a7d3a740e2d08d5a15621551a5b2616bd71f45bf"}},{"ruleId":"D1","level":"warning","message":{"text":"RawKubevirtPlatformCreateOptions.Validate (cyclomatic 18): RawKubevirtPlatformCreateOptions.Validate 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":"cmd/nodepool/kubevirt/create.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f1e485bc55de5a78ccb2b234a2932333bef602b51e1e162944caf06320eb56"}},{"ruleId":"D1","level":"warning","message":{"text":"AzurePrivateLinkServiceReconciler.reconcileDNSZone (cyclomatic 18): AzurePrivateLinkServiceReconciler.reconcileDNSZone 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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe8c370423fb51d9ab9414642b20b90fefa8c759330d607c5ba5dd2c2d0e846"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileDeletion (cyclomatic 18): HostedControlPlaneReconciler.reconcileDeletion 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ffa1a875901ee6fd071ed3691ca9c8133c1f575a9e0302b9553e85255c12f9"}},{"ruleId":"D1","level":"warning","message":{"text":"resources.Setup (cyclomatic 18): resources.Setup has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fae40daaf3e4f0528f3b2cfdad54c3c9706428511793c09a5add19500fcaa1"}},{"ruleId":"D1","level":"warning","message":{"text":"etcdrecovery.checkEtcdStatus (cyclomatic 18): etcdrecovery.checkEtcdStatus 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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3d9c49be94466d6d2aea3e788c8a4ca1e6c1be7538948377efacc5b7735e58"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigMapWebhookHandler.Handle (cyclomatic 18): ConfigMapWebhookHandler.Handle 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":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e222ab2ae637a7e692ebf3eb4dec1a31f1de84a80c42d9c59cffebbb8a2cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"PodWebhookHandler.mutatePod (cyclomatic 18): PodWebhookHandler.mutatePod 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":"hypershift-operator/controllers/auditlogpersistence/pod_webhook.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8642df8a2d38d5e9d4521834bffb604346ead0fdfa7189deae8d3368a53af126"}},{"ruleId":"D1","level":"warning","message":{"text":"HCPEtcdBackupReconciler.Reconcile (cyclomatic 18): HCPEtcdBackupReconciler.Reconcile 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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"739c2b65390a5c45ffe4b47fd2850b3d78f41ce599ebb95c26f648e9be0fddbb"}},{"ruleId":"D1","level":"warning","message":{"text":"CAPI.listMachineTemplates (cyclomatic 18): CAPI.listMachineTemplates 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"21be2f51a2a1c088d0803a6bccca7dfb726d9f2a347fadf02519fd654db0f8ce"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.setAllMachinesReadyCondition (cyclomatic 18): NodePoolReconciler.setAllMachinesReadyCondition 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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d897045ce5726a4ac28448042950b2045f072b54fbf668d986a9ca3203f8580"}},{"ruleId":"D1","level":"warning","message":{"text":"uwmtelemetry.reconcileUWMConfigContent (cyclomatic 18): uwmtelemetry.reconcileUWMConfigContent 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":"hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20c81dc010d5e8734875b2829c9cd4dafbcc2fe41e871201f5b5aa788691825"}},{"ruleId":"D1","level":"warning","message":{"text":"main.setupNodePoolController (cyclomatic 18): main.setupNodePoolController 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":"hypershift-operator/main.go"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"875797ef5fa4dd92ed67ffe08276c605670285bd48ffbace7c29c72f0de0c084"}},{"ruleId":"D1","level":"warning","message":{"text":"hcpstatuspatch.advanceDefinitionsForStmt (cyclomatic 18): hcpstatuspatch.advanceDefinitionsForStmt 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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0388877ec367e2c5311c5faed1ea54f3fa0360bded256675af53557f167481e"}},{"ruleId":"D1","level":"warning","message":{"text":"JiraClient._fetch_json (cyclomatic 18): JiraClient._fetch_json 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c8600553144078f95413fdbadf74630e1c646f2dc1e8856cdeadd91f49409c"}},{"ruleId":"D1","level":"warning","message":{"text":"update-job-registry.build_categories (cyclomatic 18): update-job-registry.build_categories 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":"hack/ci/update-job-registry.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2215902ad7324d7a0b9a18f003a23f74e0be158e56112790c0d476b35702a"}},{"ruleId":"D1","level":"warning","message":{"text":"update_trusted_task_bundles.main (cyclomatic 18): update_trusted_task_bundles.main 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":"hack/tools/scripts/update_trusted_task_bundles.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4f6fef35e841fb231d29d9ebfb8f05318074a3a6adb07bb8cfbdb7233f406f"}},{"ruleId":"D1","level":"warning","message":{"text":"configrefs.oauthConfigMapRefs (cyclomatic 17): configrefs.oauthConfigMapRefs 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":"api/util/configrefs/refs.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ec71c8d2c9fc2886cb46aaeedeace2888aae10af3da0e3a67e38c41d03bb5f"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateBastionOpts.Run (cyclomatic 17): CreateBastionOpts.Run 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":"cmd/bastion/aws/create.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"653756e49eac0671a4eadc675c088cc2374822750033f9506fa7926d053e30b0"}},{"ruleId":"D1","level":"warning","message":{"text":"core.parseTolerationString (cyclomatic 17): core.parseTolerationString has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/core/create.go"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe7269f768c0ab454bdc82b4f60933b61d899765461b21d64ebc606552cf26"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.collectMachineDiagnostics (cyclomatic 17): azure.collectMachineDiagnostics has cyclomatic complexity 17 (threshold 15). 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, 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/consolelogs/azure/getlogs.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a187baf0fd48c0de9d4993773506f81d4e57a934e8b345c28fc7533042dbf1"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateIAMOptions.CreateWorkerInstanceProfile (cyclomatic 17): CreateIAMOptions.CreateWorkerInstanceProfile 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":"cmd/infra/aws/iam.go"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"090afb9a4d3b727de081d70a80f7402bdf808ddf16a05412f07b9d32809b98e9"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.convergePrivateDNSZoneLink (cyclomatic 17): azure.convergePrivateDNSZoneLink has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 579). 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/infra/azure/networking.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8224e4601256df99efef89ee14af3ec091873dedb02342721a57cbc383f120b"}},{"ruleId":"D1","level":"warning","message":{"text":"gcp.isTransientNetworkError (cyclomatic 17): gcp.isTransientNetworkError has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/iam.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f44f75dfb1b915d54034737acdda6174d625bddb96fcb9712946006eb392a"}},{"ruleId":"D1","level":"warning","message":{"text":"install.WaitUntilAvailable (cyclomatic 17): install.WaitUntilAvailable has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 757, 792). 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/install/install.go"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef69491b56c4d980edc84a5a6946c7f56a413dea647d9f263c8ac8ad6c3fd50"}},{"ruleId":"D1","level":"warning","message":{"text":"install.hyperShiftOperatorManifests (cyclomatic 17): install.hyperShiftOperatorManifests has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4a5249a488117c8a13d6a685c55896d16b21748c31668b31c4b0eb666cd10b"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileNetworkServingCerts (cyclomatic 17): HostedControlPlaneReconciler.reconcileNetworkServingCerts 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"2340ea62dadb757bf8a67519d3f3f6b81767264fcb9e329b161cfd508d76c853"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.ReconcileKonnectivityServerServiceStatus (cyclomatic 17): kas.ReconcileKonnectivityServerServiceStatus 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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d9b1ae2233a1a48b99baef47a863e2e609f571222e6e5b67c420835925da65"}},{"ruleId":"D1","level":"warning","message":{"text":"kas.deriveAESCBCEncryptionConfig (cyclomatic 17): kas.deriveAESCBCEncryptionConfig 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/secretencryption.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a486ea09a9ebdb741a959e71f2a38ab4e19f1bc35c6c9739828b9f78e1a67d3b"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileKubevirtPassthroughService (cyclomatic 17): reconciler.reconcileKubevirtPassthroughService 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":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98857d0adca93ae2215b763cebba5d8baeba96e4ca2dddca8c8b3596b5d82bf"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration.ReconcileGlobal (cyclomatic 17): configuration.ReconcileGlobal has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/configuration/global.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976b66c03b3c4dcb71afa311ffd96e73c101e386e5bbc6a81c9c143ac17bec7"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileIngressController (cyclomatic 17): reconciler.reconcileIngressController 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad61dfaf32fbbc79ec2afc85a5727348ee64c1c6eaee2ded3f408f50befa8a"}},{"ruleId":"D1","level":"warning","message":{"text":"main.cascadeRemovals (cyclomatic 17): main.cascadeRemovals 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":"hack/copy-capi-types/main.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"86db06cc5311407a3cdda88cc96ac2e397a0f0fd1450743f3bd7caa497b667e1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.loadCAPIPackage (cyclomatic 17): main.loadCAPIPackage has cyclomatic complexity 17 (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":"hack/copy-capi-types/main.go"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5b9b4ab5100acfa1e24e6313457a2f9de115ff0b1fc3c9be5715c8c1da91d5"}},{"ruleId":"D1","level":"warning","message":{"text":"PodWebhookHandler.Handle (cyclomatic 17): PodWebhookHandler.Handle has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/pod_webhook.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"529429e8c07bdd26f893176bd693b2de35bd7f3fc24559add042c592ea3fd074"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.reconcileAutoNodeEnabledCondition (cyclomatic 17): HostedClusterReconciler.reconcileAutoNodeEnabledCondition 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":"hypershift-operator/controllers/hostedcluster/karpenter.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f5188975cc74659c8e2533275db45dc7687d0832b6a099098ed715579f5a60"}},{"ruleId":"D1","level":"warning","message":{"text":"AWS.CAPIProviderDeploymentSpec (cyclomatic 17): AWS.CAPIProviderDeploymentSpec 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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62180e74a52f06f50baa91a0864586378637a4a52c39d8db610f51cda501300"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.reconcileScaleFromZeroAnnotations (cyclomatic 17): NodePoolReconciler.reconcileScaleFromZeroAnnotations 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaeebe428f257862e8229b7f65d6af69a4c6fb25503604c591dfe33cbcda7ec"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.reconcileMirroredConfigs (cyclomatic 17): NodePoolReconciler.reconcileMirroredConfigs 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":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59e89f0bcca49b086728a530bb749ada450b02f62a17fbba68647661ca6877f"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.ntoReconcile (cyclomatic 17): NodePoolReconciler.ntoReconcile 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":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb49f0dfdebe314d176d69371568db5397591890065c318a8a96f144a0707c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Token.cleanupOutdated (cyclomatic 17): Token.cleanupOutdated 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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9895e3d654e16d3a25bed969088953712c6e9ad7a1190b2f6812ea789d227"}},{"ruleId":"D1","level":"warning","message":{"text":"Token.resolveEffectiveHash (cyclomatic 17): Token.resolveEffectiveHash has cyclomatic complexity 17 (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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4bd4fccb8c9277e396856b003e6ce258c01f25959cd984fb1566f5237a8034"}},{"ruleId":"D1","level":"warning","message":{"text":"MachineSetDescaler.Reconcile (cyclomatic 17): MachineSetDescaler.Reconcile has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60891527267d35199b7640cc960f51f0406a3ab2a99b2a2ee2987ed2dad90a3"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.reconcileDeletion (cyclomatic 17): Reconciler.reconcileDeletion 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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"518491c8214332d161ae32e0d6f63b8e205339bf765f0a7e87c26a5ecfe89c49"}},{"ruleId":"D1","level":"warning","message":{"text":"azureutil.GetKeyVaultDNSSuffix (cyclomatic 17): azureutil.GetKeyVaultDNSSuffix 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":"support/azureutil/azureutil.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2e9b547143ca1d327187d38373a6cbbf57eb81be13d1cc3a98e22915c26cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"catalogs.computeCatalogImages (cyclomatic 17): catalogs.computeCatalogImages 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":"support/catalogs/images.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"399036745ebf2b7f27da2e5297c89bdad22491e7ad348e31550d9c71e1d755eb"}},{"ruleId":"D1","level":"warning","message":{"text":"controlPlaneWorkload.update (cyclomatic 17): controlPlaneWorkload.update has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 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":"support/controlplane-component/controlplane-component.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdb97de3a767014a133e44eb536fbeeaef8465339ed7cac05e10d57df00d274"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.Validate (cyclomatic 17): Options.Validate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/konnectivityproxy/dialer.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"48963b6adfa6782cf380b927fbbdd68d1e7b4930c72cb86f983c137f4b5dd730"}},{"ruleId":"D1","level":"warning","message":{"text":"proxyResolver.Resolve (cyclomatic 17): proxyResolver.Resolve 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":"support/konnectivityproxy/resolver.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac18cf4f765e27660e3015e68bb2b9d18cb308a55be7affbcda40903d81fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"registryclient.ExtractImageFiles (cyclomatic 17): registryclient.ExtractImageFiles 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 67). 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9253c4661e14abc78e2fd73996435cc33556310806900f58f37ca785c2e9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"supportedversion.retrieveSupportedOCPVersion (cyclomatic 17): supportedversion.retrieveSupportedOCPVersion 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":"support/supportedversion/version.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eaf804f98b65472486750ea3a240f4d7d13105931574d2442883a351506994"}},{"ruleId":"D1","level":"warning","message":{"text":"ho_release_gate.poll_until_complete (cyclomatic 17): ho_release_gate.poll_until_complete 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":".tekton/lib/ho_release_gate.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c690a7b44f857ea2d634cb11eecc7871646bbe4fdba63c06ed2df66c5cb546"}},{"ruleId":"D1","level":"warning","message":{"text":"verify-tekton-pipeline-pairs.check_pair (cyclomatic 17): verify-tekton-pipeline-pairs.check_pair has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/verify-tekton-pipeline-pairs.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c024607c8980d513f0e254485ae03be906ad741bb0b0d11f480421afce59a68"}},{"ruleId":"D1","level":"warning","message":{"text":"aws.ensureBastionSecurityGroup (cyclomatic 16): aws.ensureBastionSecurityGroup has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"cmd/bastion/aws/create.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a73c30f1a8265bb1f8530b9d0ff1c341ca36d45eb7d5f8585f00869c930c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.collectSerialConsoleLog (cyclomatic 16): azure.collectSerialConsoleLog 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":"cmd/consolelogs/azure/getlogs.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"665f78cb3d46884025708396f28a96c8cfd7c20470b91bc031730136fdf0fd8c"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.parseAzureVMResourceID (cyclomatic 16): azure.parseAzureVMResourceID has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/azure/getlogs.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dbe317e492f1e54bde5e1ec5002a3a87e14f14dabd165549082159b8937862"}},{"ruleId":"D1","level":"warning","message":{"text":"DrOidcIamOptions.extractFromHostedCluster (cyclomatic 16): DrOidcIamOptions.extractFromHostedCluster 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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c129ab736607e82268de9b60d38f0816b36299766ad2952aa35bbdd41d2fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateIAMOptions.CreateOIDCResources (cyclomatic 16): CreateIAMOptions.CreateOIDCResources 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":"cmd/infra/aws/iam.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce84a331695039fdf5c724d2271bbb1f63d3893f31139eb4d50926c8084f1bc"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.assessVirtualNetworkLinkStates (cyclomatic 16): azure.assessVirtualNetworkLinkStates has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/networking.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9623328e6238245bbc4f4ef5b5f75fab8ade42b911a8d2e9d3328c55f1c9d4"}},{"ruleId":"D1","level":"warning","message":{"text":"DestroyInfraOptions.Run (cyclomatic 16): DestroyInfraOptions.Run 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":"cmd/infra/azure/destroy.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd385d569ecf7fda631f9e07dccb94903e3a90ee44b12edb29fc206036b2a9"}},{"ruleId":"D1","level":"warning","message":{"text":"DestroyInfraOptions.deleteClusterResourcesInGroup (cyclomatic 16): DestroyInfraOptions.deleteClusterResourcesInGroup 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":"cmd/infra/azure/destroy.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87539e6f0d81d212bca742841a396716b6271f0b1a240b346009e895cf45fac"}},{"ruleId":"D1","level":"warning","message":{"text":"install.RenderHyperShiftOperator (cyclomatic 16): install.RenderHyperShiftOperator 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":"cmd/install/install_render.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5452e621c4baf456271bd81d7bcf28963c802a71e6c73c7563e23bf843d2bce6"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletedKubevirtPlatformCreateOptions.NodePoolPlatform (cyclomatic 16): CompletedKubevirtPlatformCreateOptions.NodePoolPlatform 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":"cmd/nodepool/kubevirt/create.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd1f0d210fdda7b623572d72ecaef5fed6785c6007eea9298aaee1e97a869af"}},{"ruleId":"D1","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.ensureIPAddress (cyclomatic 16): GCPPrivateServiceConnectReconciler.ensureIPAddress 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab62888967d09c3f9ae6dbb853667485c2010770720c4a74fa4919c71094bb3"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileAzurePlatformCerts (cyclomatic 16): HostedControlPlaneReconciler.reconcileAzurePlatformCerts 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b189efca9d30a0fc525f25a8ce4fee5e1c9d09db6ab7beec673fcf92a30e0a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.ReconcileInfrastructureStatus (cyclomatic 16): Reconciler.ReconcileInfrastructureStatus 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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"301d47f2359ac1ee84a428b681463d2d38102a721f6f8833ea04e00d25219edc"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler.reconcileAPIServerServiceStatus (cyclomatic 16): Reconciler.reconcileAPIServerServiceStatus 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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab89d734de3bc9021e352d2f89add70d8b2e0a65d0116c1271a06703483f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.ReconcileService (cyclomatic 16): oauth.ReconcileService 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/service.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3192f6e33fdcbc31d24d593d0be05918aecdf344548dd989672470f3312fffc9"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.adaptDeployment (cyclomatic 16): oauth.adaptDeployment has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"231fa6af93ab124ea83a04a985579d4204e19c1fb96d41e7ff36baf1e217d400"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterConfigOperator.Run (cyclomatic 16): HostedClusterConfigOperator.Run 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":"control-plane-operator/hostedclusterconfigoperator/cmd.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d7e3f8284ec45ea9feee89f9ae0b5c6f8ceea5886a3f42425826515a8bc2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"machine.Setup (cyclomatic 16): machine.Setup has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 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":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/setup.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee2455b6e482270e68a8ddac301e1d66e10c0b87cbfbda0c5e5b808f171552"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyHandler.ServeHTTP (cyclomatic 16): ProxyHandler.ServeHTTP 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":"control-plane-operator/metrics-proxy/proxy.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c715811be9cb56de721b2e12ff726a278092dff7755e30788937b100dbfb4af"}},{"ruleId":"D1","level":"warning","message":{"text":"CertificateRevocationController.generateNewSignerCertificate (cyclomatic 16): CertificateRevocationController.generateNewSignerCertificate 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e2fd02897c1c54531998909a9aa35320c29536a68a6698629140879153edb6"}},{"ruleId":"D1","level":"warning","message":{"text":"main.computeClosure (cyclomatic 16): main.computeClosure has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 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":"hack/copy-capi-types/main.go"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7080c3660445efed72777d1b8d35b9bcaa712a7289f3f6bab377fb9d372ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedClusterReconciler.validateConfigAndClusterCapabilities (cyclomatic 16): HostedClusterReconciler.validateConfigAndClusterCapabilities 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ef2fad5347116e14ad8f7bc1de77faaa764a81bdc7f4bab0422c1fcd73f885"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenStack.CAPIProviderDeploymentSpec (cyclomatic 16): OpenStack.CAPIProviderDeploymentSpec 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":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00fb6bba54153929fdc390e5a7e73aeb3c6be719882cf00bbaa6289f5bae74f"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.setKubevirtConditions (cyclomatic 16): NodePoolReconciler.setKubevirtConditions 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":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c408533b9db5b09b492a8ef2fefa67c85da4ac57f0186fe73470cf29bfe61"}},{"ruleId":"D1","level":"warning","message":{"text":"NodePoolReconciler.enqueueNodePoolsForConfig (cyclomatic 16): NodePoolReconciler.enqueueNodePoolsForConfig 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79faca7d644c0b7026dacec7cfd19bc5c7e0705b6ce41d8323b013e1b4b2f22"}},{"ruleId":"D1","level":"warning","message":{"text":"placeholderCreator.reconcile (cyclomatic 16): placeholderCreator.reconcile 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":"hypershift-operator/controllers/scheduler/aws/placeholders.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5e9931e6ee5e5bee740c05e21bf9f29e0d15ec601271c9fbcb8124ef0b420c"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd.run (cyclomatic 16): cmd.run has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 246, 235, 324). 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":"ignition-server/cmd/start.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ff08c51aba8e07ae324e049f21919f40d03334c844ed80354dd2eb851cd385"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalIgnitionProvider.extractMCOBinaries (cyclomatic 16): LocalIgnitionProvider.extractMCOBinaries has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"90491d0edbbc9aeaa09e56ccb7704fdd9f49ab04169309ed1500176d8c115ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"sharedingressconfiggenerator.getBackendsForHostedCluster (cyclomatic 16): sharedingressconfiggenerator.getBackendsForHostedCluster 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":"sharedingress-config-generator/config.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65a35dfc2ff7f75c0bed1f24652401f7aba181447ae3655cd216d40b023c3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"CRDMigrator.reconcileCleanupManagedFields (cyclomatic 16): CRDMigrator.reconcileCleanupManagedFields has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa5aaf22d0e422ee48f39938646bd32992b94e689dad5254fd901f5229f3d12"}},{"ruleId":"D1","level":"warning","message":{"text":"genericAdapter.reconcile (cyclomatic 16): genericAdapter.reconcile 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":"support/controlplane-component/generic-adapter.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"864b6385edf00e79d1a77cbb65bbe2ddfa80a8698ce403a7231a95f5b29f8832"}},{"ruleId":"D1","level":"warning","message":{"text":"gcputil.ReconcileLBResourceLabelAnnotations (cyclomatic 16): gcputil.ReconcileLBResourceLabelAnnotations 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":"support/gcputil/gcputil.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ffca8991b2f54a468bb03a080ac2ca79782357fe2f2c06ece824ca2db23844"}},{"ruleId":"D1","level":"warning","message":{"text":"registryclient.ExtractImageFilesToDir (cyclomatic 16): registryclient.ExtractImageFilesToDir 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 one function literal inside it that branches (line 195). 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20719e5694ce95e6634362c91145081324da43165a255e81e0fbfbb4a1b5aff"}},{"ruleId":"D1","level":"warning","message":{"text":"secretencryption.FindKeyRole (cyclomatic 16): secretencryption.FindKeyRole 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":"support/secretencryption/encryptionconfig.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dcdc260b24772ae524474e74561f05aa2a512b166850080cfdf3f168069adf"}},{"ruleId":"D1","level":"warning","message":{"text":"main.sourcePath (cyclomatic 16): main.sourcePath 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":"hack/tools/deadcode-report/report.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"836d4e433a729c9deb181b552dbc9b0e8bbf11f64f83082ddce5ca087616ee79"}},{"ruleId":"D1","level":"warning","message":{"text":"JiraClient._parse_issue (cyclomatic 16): JiraClient._parse_issue 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb631ac3b4779fc88bedb183e95aebadf28f94106821afa4e5b141a43b69975"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileLegacy (cognitive 621): HostedClusterReconciler.reconcileLegacy has cognitive complexity 621 (threshold 15). Drivers by points: if/else 310 (573 pts), boolean chains 30, loops 8 (14 pts), match/switch 3 (4 pts) (nesting depth added 270). Of this number, 578 points are the body\u0027s own statements and 43 belong to 11 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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1607adf12df3edf4bc0e5ec630ed12ae29b441eec7a78e26a7631e465e27a445"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcile (cognitive 365): HostedClusterReconciler.reconcile has cognitive complexity 365 (threshold 15). Drivers by points: if/else 196 (335 pts), boolean chains 21, loops 5 (8 pts), match/switch 1 (nesting depth added 142). Of this number, 341 points are the body\u0027s own statements and 24 belong to 9 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fe88f5c0d6c7c4849d2f3965e0a4a2a61a92522091eba1a322e29c9b694719"}},{"ruleId":"D2","level":"warning","message":{"text":"main.crossFileCascade (cognitive 94): main.crossFileCascade has cognitive complexity 94 (threshold 15). Drivers by points: if/else 14 (47 pts), loops 10 (35 pts), match/switch 2 (11 pts), boolean chains 1 (nesting depth added 67). 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":"hack/copy-capi-types/main.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"60165ebd2aff9aa259a55a8e06ae8cce03548f91d7923e94a0f2141c130c92ca"}},{"ruleId":"D2","level":"warning","message":{"text":"e2eutilallowlist.run (cognitive 94): e2eutilallowlist.run has cognitive complexity 94 (threshold 15). Drivers by points: if/else 24 (78 pts), loops 4 (9 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 60). Most of this is not in the body itself: 12 of the 94 points are its own statements and the rest belongs to one function literal inside it that branches (line 43). 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":"hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a169063e7c510373f3e3599762974e6cbef33f6fd25b3d60cba0da049ca4aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.delete (cognitive 81): HostedClusterReconciler.delete has cognitive complexity 81 (threshold 15). Drivers by points: if/else 46 (78 pts), boolean chains 3 (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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a581b8cd9e96345b1562f7a92a53827a57d0b06588792fb6392bc57baac0becd"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileRegistryAndIngress (cognitive 75): reconciler.reconcileRegistryAndIngress has cognitive complexity 75 (threshold 15). Drivers by points: if/else 28 (70 pts), boolean chains 5 (nesting depth added 42). Of this number, 40 points are the body\u0027s own statements and 35 belong to one function literal inside it that branches. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b8827154be77fad7f7052330795f287525f7cc8cedd0275e6d801d14081bca"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.RunBackup (cognitive 74): CreateOptions.RunBackup has cognitive complexity 74 (threshold 15). Drivers by points: if/else 32 (73 pts), boolean chains 1 (nesting depth added 41). 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/oadp/backup.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9192021d4966b280082a115b34a86262659693c0dae658eb661aa4eccfb8621c"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.RunSchedule (cognitive 73): CreateOptions.RunSchedule has cognitive complexity 73 (threshold 15). Drivers by points: if/else 32 (72 pts), boolean chains 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/oadp/schedule.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"538dd8c9987110a3df4f5b60dff42c6e12fb054aa4fae798bc74ff81abf60bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.generate_blog_data (cognitive 67): PRReportGenerator.generate_blog_data has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (42 pts), loops 12 (15 pts), boolean chains 4, error handling 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4574b4a9a4532d618c62feaa068d9673212227b1f7280753b9a4050ea5762"}},{"ruleId":"D2","level":"warning","message":{"text":"availabilityprober.check (cognitive 63): availabilityprober.check has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (51 pts), loops 3 (8 pts), boolean chains 4 (nesting depth added 38). 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":"availability-prober/availability_prober.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"776ce6c901ba76a45b88a7cb13a7ee231b1df851b7cb8a2854d866008049997c"}},{"ruleId":"D2","level":"warning","message":{"text":"platform.GetPlatform (cognitive 61): platform.GetPlatform has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (57 pts), boolean chains 3, match/switch 1 (nesting depth added 36). 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":"hypershift-operator/controllers/hostedcluster/internal/platform/platform.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"689a58f4465b9ac7065603e1e18bcf63a144361d3c0ee64d8141aaee68f7ee49"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator._write_section (cognitive 61): PRReportGenerator._write_section has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (46 pts), ternaries 3 (9 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b444d7f05bea6b5dfa1990336fdbefed8716a7c363381e64d0425171017e9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.delete (cognitive 59): AWSEndpointServiceReconciler.delete has cognitive complexity 59 (threshold 15). Drivers by points: if/else 23 (52 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c9e38445a802c09231017bde22bc50f0618d0e051b4416c7a83c8b39a3bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.enqueueHostedClustersFunc (cognitive 56): hostedcluster.enqueueHostedClustersFunc has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (44 pts), loops 3 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 33). None of this is in the body itself: all 56 points belong to one function literal inside it that branches (line 4363). 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab037984e74b44177e044e67d579c4cc029f679093eef49f22ef47c56b925c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileCloudCredentialSecrets (cognitive 54): reconciler.reconcileCloudCredentialSecrets has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (51 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 30). Of this number, 41 points are the body\u0027s own statements and 13 belong to 2 function literals inside it that branch. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e44191cda5c78bf17c141d90cb18c000c5b91b2590cc3ebd9eabc401aab2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"main.generate (cognitive 53): main.generate has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (39 pts), loops 7 (11 pts), boolean chains 3 (nesting depth added 24). Of this number, 50 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":"hack/gmp-api-gen/main.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4618de6cbbbcf2694c679e21749f9fe498bcdab370ebb29759730331c3cb9a3"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.Reconcile (cognitive 53): CAPI.Reconcile has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31 (48 pts), boolean chains 5 (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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8490fed6c9a8e0fd3ca19e7665d2ffceb8caa93d769fdc928d05b4ab314dc37d"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenSecretReconciler.Reconcile (cognitive 52): TokenSecretReconciler.Reconcile has cognitive complexity 52 (threshold 15). Drivers by points: if/else 30 (49 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 20). Of this number, 51 points are the body\u0027s own statements and 1 belongs 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":"ignition-server/controllers/tokensecret_controller.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"681f1bace8f8d32a2ffbff786dcc854ba35d4dfdb85d979c5c21e2a32f8d5d78"}},{"ruleId":"D2","level":"warning","message":{"text":"update-job-registry.build_categories (cognitive 52): update-job-registry.build_categories has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 6 (16 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/ci/update-job-registry.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"de35759efbb8fd3c0180c0ba427af2c1bc3868fa68d091e672816e4cc8f4a3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.cascadeRemovals (cognitive 51): main.cascadeRemovals has cognitive complexity 51 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 4 (15 pts), match/switch 2 (9 pts), boolean chains 1 (nesting depth added 36). 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":"hack/copy-capi-types/main.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a57b7d1cf2454ea0f30a1c4ad4ed5118985306de329d1b0032b3be889013195"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPLoadBalancerLabelsReconciler.reconcileRouterServices (cognitive 51): GCPLoadBalancerLabelsReconciler.reconcileRouterServices has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (47 pts), loops 2 (3 pts), boolean chains 1 (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":"hypershift-operator/controllers/platform/gcp/loadbalancer_labels_controller.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7fda2d7c578a762ca1f4480a6d4f2f8ab69185d66d53c491bb726eea6ec3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"core.destroyCluster (cognitive 50): core.destroyCluster has cognitive complexity 50 (threshold 15). Drivers by points: if/else 23 (49 pts), boolean chains 1 (nesting depth added 26). 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/cluster/core/destroy.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e2a2c9af07161293baf82273b1865e31fa657d38b4f6fb48bd0a777f1a3c34"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.fetch_release_prs_graphql (cognitive 50): PRReportGenerator.fetch_release_prs_graphql has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 5 (8 pts), ternaries 4 (7 pts), boolean chains 2 (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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"87912013de8cee9f7ca4d2c3399d93e1fc44de8faa5feb8a277086595d1f9a55"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.setCIDRConflictCondition (cognitive 48): NodePoolReconciler.setCIDRConflictCondition has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 6 (12 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"47901717c486b28b73597d646f158a825bd0a8ef5034639a385395126dcb66cd"}},{"ruleId":"D2","level":"warning","message":{"text":"testcasename.run (cognitive 48): testcasename.run has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 29). Most of this is not in the body itself: 3 of the 48 points are its own statements and the rest belongs to one function literal inside it that branches (line 30). 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":"hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9744f849a03be20fb841ab161b9b6f3ce77034be915e22877af5eb8c6b8f657d"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.Reconcile (cognitive 46): GCPPrivateServiceConnectReconciler.Reconcile has cognitive complexity 46 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 5 (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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8298221c4cd87a3289a460106595632cb3dddb105d880035652f1bfcc10dbd87"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileAuthOIDC (cognitive 46): reconciler.reconcileAuthOIDC has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (41 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 31). Of this number, 37 points are the body\u0027s own statements and 9 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c012d9107bbc0facdc9d66365923dd2b2ea644f45b8e61541217c7e0c999eceb"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileOLM (cognitive 46): reconciler.reconcileOLM has cognitive complexity 46 (threshold 15). Drivers by points: if/else 26 (44 pts), boolean chains 1, loops 1 (nesting depth added 18). Of this number, 38 points are the body\u0027s own statements and 8 belong to 2 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ba745e741f3b39f268dd50e10455c4b0f1ab0a9dab769dae93e5278cfb4c93"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.reconcile (cognitive 46): NodePoolReconciler.reconcile has cognitive complexity 46 (threshold 15). Drivers by points: if/else 33 (45 pts), loops 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fe00e0a31af6ba602788150aec6ff5305f4c81f8f57c65e75d73a12d84476b"}},{"ruleId":"D2","level":"warning","message":{"text":"testfuncstructure.reportGroup (cognitive 46): testfuncstructure.reportGroup has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 5, loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 18). Of this number, 36 points are the body\u0027s own statements and 10 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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1f2b333fba99fd841ae8f5b0104707aa5d57abb4ce0bb243f686b8148a081b"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.ApplyPlatformSpecifics (cognitive 45): CreateOptions.ApplyPlatformSpecifics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 3 (5 pts), boolean chains 4, match/switch 1 (3 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":"cmd/cluster/azure/create.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ae0b0a96a7f6e17eec249f5ddfae89a216f1341bf5c7936a608792e82222bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.Reconcile (cognitive 45): AWSEndpointServiceReconciler.Reconcile has cognitive complexity 45 (threshold 15). Drivers by points: if/else 27 (44 pts), boolean chains 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d606648e0f0b63492798cb26b5d2a7f038fe25b12459f0d033107982a27e7623"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileAPIServerService (cognitive 45): Reconciler.reconcileAPIServerService has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 6 (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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca3a60a514b9ed7f0a476ab096a450902bd35463771ea1a104e5d803de4fcd7"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.ReconcileService (cognitive 45): kas.ReconcileService has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 8, loops 2 (4 pts), match/switch 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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6724d595da0d1c623e2cb9edf66f17d90683fc3931c6c5f9a42ef313b7467859"}},{"ruleId":"D2","level":"warning","message":{"text":"kubevirt.virtualMachineTemplateBase (cognitive 45): kubevirt.virtualMachineTemplateBase has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (34 pts), loops 3 (8 pts), boolean chains 3 (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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f44c13eb30327e425de5e6731bf9a3760959dc29322020599649775091bab3"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.setAllMachinesReadyCondition (cognitive 45): NodePoolReconciler.setAllMachinesReadyCondition has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 24). 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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f5c5ff12313ae787bac8d9c222b6199f434aa4bb5c1af8cb96f19efafdf3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"vacuouspass.run (cognitive 45): vacuouspass.run has cognitive complexity 45 (threshold 15). Drivers by points: if/else 6 (30 pts), loops 4 (12 pts), match/switch 1 (3 pts) (nesting depth added 34). 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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c4d4b5169474abec78965950c68962f89ff7e0b89fab4df00aea1a620324df"}},{"ruleId":"D2","level":"warning","message":{"text":"DefragController.runDefrag (cognitive 44): DefragController.runDefrag has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (38 pts), loops 4, boolean chains 2 (nesting depth added 18). Of this number, 38 points are the body\u0027s own statements and 6 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":"etcd-defrag/etcddefrag_controller.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a70614aa60c7ce5bba6bea86cb5632eb4f4379bb526f0e82943e7693ff7aac"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileDeletion (cognitive 44): Reconciler.reconcileDeletion has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 28). 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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"04329f9710dd2830ec20eedd230ae1ad2beffd27c976bb403c81a93bb26187c6"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.generate_report (cognitive 44): PRReportGenerator.generate_report has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 11 (15 pts), ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edcdfdf38fa5023edecb39104af94a8e45b6e0636185c85f8ead2c4ae18fee8"}},{"ruleId":"D2","level":"warning","message":{"text":"core.CreateCluster (cognitive 43): core.CreateCluster has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (38 pts), loops 2 (5 pts) (nesting depth added 18). Of this number, 40 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":"cmd/cluster/core/create.go"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"459d3e0d5ad57639078349108e175d87d6cf28eb28ed48c2c24fba6edba6b4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyRouteTables (cognitive 43): DestroyInfraOptions.DestroyRouteTables has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 4 (9 pts) (nesting depth added 27). 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/infra/aws/destroy.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2363af57389521917b250f9e14806869e3a48a3ada298558ed35c0e114022f20"}},{"ruleId":"D2","level":"warning","message":{"text":"install.InstallHyperShiftOperator (cognitive 43): install.InstallHyperShiftOperator has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5ba426743aa01f189a4dfe7241508856b0af85d4751c9ecff363613bee22f0"}},{"ruleId":"D2","level":"warning","message":{"text":"network.ReconcileNetworkOperator (cognitive 43): network.ReconcileNetworkOperator has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (39 pts), match/switch 2 (3 pts), boolean chains 1 (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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/network/reconcile.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e68c23709305b4c9d0d9ee0d3857217a8548d4b52ccfc9468d9d9aaed227152"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.ensureNewSignerCertificatePropagated (cognitive 43): CertificateRevocationController.ensureNewSignerCertificatePropagated has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 4, 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fd1ad2dd3d9957229df0e975febd5983f9e4b9cd11813d2ff00138eb53c36e"}},{"ruleId":"D2","level":"warning","message":{"text":"proxyResolver.Resolve (cognitive 43): proxyResolver.Resolve has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (41 pts), boolean chains 2 (nesting depth added 26). 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":"support/konnectivityproxy/resolver.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"094aa4f3bc4278ed93f9089d66b7de87784b9753729e672d50350f535fb1eb33"}},{"ruleId":"D2","level":"warning","message":{"text":"update_trusted_task_bundles.print_summary (cognitive 43): update_trusted_task_bundles.print_summary has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 6 (15 pts), ternaries 1 (2 pts), boolean chains 1 (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":"hack/tools/scripts/update_trusted_task_bundles.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d0d31911f2d77fc2befebbf7ba3fdf90789a7b5774bf4531579ecf7dfb2921"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.ensureCloudResourcesDestroyed (cognitive 42): reconciler.ensureCloudResourcesDestroyed has cognitive complexity 42 (threshold 15). Drivers by points: if/else 29 (42 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f19a4091ff5a323fe78a5612a45fdfd7590e9181c2afbaa42a5aefbf31e2c26"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileKubevirtPlatformDefaultSettings (cognitive 42): HostedClusterReconciler.reconcileKubevirtPlatformDefaultSettings has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (38 pts), boolean chains 4 (nesting depth added 19). Of this number, 36 points are the body\u0027s own statements and 6 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5761}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b72ddda1db53397d23afd27e6afa95a873201fee8cd310cf29c018c57d9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_ownership.build_rules (cognitive 42): generate_ownership.build_rules has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 8 (11 pts), boolean chains 9, ternaries 2 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/restructure-commits/generate_ownership.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b995d56a6b96da02fcb0c0ecd8352ff655875c6e6e181ba8aa14a1d70e16206f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setupNodePoolController (cognitive 41): main.setupNodePoolController has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (38 pts), match/switch 1 (2 pts), boolean chains 1 (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":"hypershift-operator/main.go"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c37ae1091e847f6cec767e4f1425e1fe778c47b31ddf46fa9287900ca73fe3"}},{"ruleId":"D2","level":"warning","message":{"text":"releaseinfo.readComponentVersions (cognitive 41): releaseinfo.readComponentVersions has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 5 (6 pts), boolean chains 3 (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":"support/releaseinfo/releaseinfo.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8205aa5a40d77171d547a21da74f5efb1f4175204e24034ff9ad031526f79690"}},{"ruleId":"D2","level":"warning","message":{"text":"registryclient.ExtractImageFilesToDir (cognitive 41): registryclient.ExtractImageFilesToDir has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 2 (3 pts) (nesting depth added 26). Most of this is not in the body itself: 5 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 195). 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a1f49ec48340ea0023b774e9e462f66d2015954fc4480b487281add01d672"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatedCreateOptions.Complete (cognitive 40): ValidatedCreateOptions.Complete has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23 (38 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/aws/create.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6749ecb0466b7fd9073e928f9567add24cfa2323d9d6129e9e3b309298141111"}},{"ruleId":"D2","level":"warning","message":{"text":"RBACManager.assignRole (cognitive 40): RBACManager.assignRole has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 7, loops 2 (3 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":"cmd/infra/azure/rbac.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af084e1408df3efe75d76791ef90b326d8f667333c415c88a04a58f5707cb74"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileCPOV2 (cognitive 40): HostedControlPlaneReconciler.reconcileCPOV2 has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (36 pts), loops 2 (3 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ad2d23f8ffbfd240adccb91f8ca51e684252b6688f1377649ed34c385a0656"}},{"ruleId":"D2","level":"warning","message":{"text":"placeholderUpdater.reconcile (cognitive 40): placeholderUpdater.reconcile has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 5 (12 pts), boolean chains 4 (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":"hypershift-operator/controllers/scheduler/aws/placeholders.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8e191855f23e72622f8854b519657d1ca4d1c05c25a9d07fa62f2fa22ec16b"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogs.computeCatalogImages (cognitive 40): catalogs.computeCatalogImages has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 5 (12 pts), match/switch 1 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/catalogs/images.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c4c7839d77e8c49ccde026e16f1f7dd88a3eb6e8e590fbd6acdeb3564f735b"}},{"ruleId":"D2","level":"warning","message":{"text":"KonnectivityContainerOptions.buildContainer (cognitive 40): KonnectivityContainerOptions.buildContainer has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (34 pts), loops 2 (5 pts), match/switch 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":"support/controlplane-component/konnectivity-container.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"918ca1a3822d7f27983db4350a5d4fb2a76e8a0b34b2f1ccd60bb21a90a85da3"}},{"ruleId":"D2","level":"warning","message":{"text":"secretencryption.FindKeyRole (cognitive 40): secretencryption.FindKeyRole has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 3 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 26). 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":"support/secretencryption/encryptionconfig.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"087b23c9a29b9e51c27de9ab2ac7952ee8e81905939d14b517d52d4981cc315e"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.GenerateNodePools (cognitive 39): CreateOptions.GenerateNodePools has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (2 pts) (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":"cmd/cluster/azure/create.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc9444fc26f7b3bedc2e26df1aa818524b8ae6599b73ab93e94c53b0e546041"}},{"ruleId":"D2","level":"warning","message":{"text":"core.forceRemoveAllFinalizers (cognitive 39): core.forceRemoveAllFinalizers has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 2 (3 pts) (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":"cmd/cluster/core/destroy.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e059361ff39229ba0bd572355ea44716009f43bb397198664c3ef6753d2e696a"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyInfra (cognitive 39): DestroyInfraOptions.DestroyInfra has cognitive complexity 39 (threshold 15). Drivers by points: if/else 27 (36 pts), boolean chains 3 (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":"cmd/infra/powervs/destroy.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a77b6f22b459490b98f2ae5d531b633416af45abafb8d235c66a690881360f"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.NewConfigParams (cognitive 39): kas.NewConfigParams has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 4 (14 pts), boolean chains 1, match/switch 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4107204143b900f0b2369a5ceb342030e999fc694f778ce2d0f10e1930f582"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.ensureOldSignerCertificateRevoked (cognitive 39): CertificateRevocationController.ensureOldSignerCertificateRevoked has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 4, loops 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafb1ffaa97c128cd390dd26324f82aeb8b3ce3d110c7be066d4afbd6dbd2777"}},{"ruleId":"D2","level":"warning","message":{"text":"placeholderCreator.reconcile (cognitive 39): placeholderCreator.reconcile has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/scheduler/aws/placeholders.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82cd63ab8b4d11a3a554fc03ce43550493673ab51eed7da106e55deae7c3599"}},{"ruleId":"D2","level":"warning","message":{"text":"registryclient.ExtractImageFiles (cognitive 39): registryclient.ExtractImageFiles has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 3 (4 pts) (nesting depth added 23). Most of this is not in the body itself: 8 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 67). 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"823c5fe9f7836fa91a4edfd335a963c71a71448355cbf05bb565772988915dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"core.parseEtcdShard (cognitive 38): core.parseEtcdShard has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (31 pts), match/switch 2 (5 pts), boolean chains 1, loops 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":"cmd/cluster/core/etcd_shards.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8af00080ccadebb46f51173c464165a5d6871c77430dd41b3728925593c0ad"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceReconciler.Reconcile (cognitive 38): AzurePrivateLinkServiceReconciler.Reconcile has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (34 pts), boolean chains 4 (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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff1c123c73f91046209d63ebe7273c14f32e89f2c3486de7eb6aca641a2c513"}},{"ruleId":"D2","level":"warning","message":{"text":"main.processFile (cognitive 38): main.processFile has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 9 (14 pts), match/switch 2 (5 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":"hack/copy-capi-types/main.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0c822f230b46380311bbf05759f1af574d4772776aad9d60ac0e914b49e8db"}},{"ruleId":"D2","level":"warning","message":{"text":"main.stripDecls (cognitive 38): main.stripDecls has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 7 (9 pts), match/switch 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":"hack/copy-capi-types/main.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf8c7a180bbc6b4053b5a9f230a4d8a2fb7d3b36e9fd6792137dabd0371b30c"}},{"ruleId":"D2","level":"warning","message":{"text":"validations.ValidateOCPAPIServerSANs (cognitive 38): validations.ValidateOCPAPIServerSANs has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"87890025ddb26a8dc9090ce10ca9264371399321482f3ff949c694d0e6e9bb8a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.checkCRDsInDir (cognitive 38): main.checkCRDsInDir has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 6 (13 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":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb177fc40045ff02e02291fb663cc864c529ed7494c3d5570a4fb33f0287c86"}},{"ruleId":"D2","level":"warning","message":{"text":"configrefs.oauthSecretRefs (cognitive 37): configrefs.oauthSecretRefs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (34 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/util/configrefs/refs.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15b0613bde12f957a4e709061be4a478de50b611fca47adc73286e67b272ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.handleIdentitiesAndRBAC (cognitive 37): CreateInfraOptions.handleIdentitiesAndRBAC has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 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":"cmd/infra/azure/create.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"358248048411e478d275ba82183a73fe4ffdcf00cdefe2ab075c1bde3186158b"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.adaptDeployment (cognitive 37): kas.adaptDeployment has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 10). Of this number, 36 points are the body\u0027s own statements and 1 belongs 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"525218835655e5948ef835257ea683e2438700fade42128e225ed90f2718e0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileInPlaceUpgrade (cognitive 37): Reconciler.reconcileInPlaceUpgrade has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (36 pts), loops 1 (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 4 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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc73953d0cef158f19bc9e2127cfdde7c81624585f5e46a408a76ea9754dd7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"main.loadCAPIPackage (cognitive 37): main.loadCAPIPackage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 5 (15 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 22). 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":"hack/copy-capi-types/main.go"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc5aeffd0c600ecd3255c9367096875469bfa9619c630ae2fa6ed6aef34b081"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileSecretEncryptionSync (cognitive 37): HostedClusterReconciler.reconcileSecretEncryptionSync has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 2, match/switch 1 (nesting depth added 19). Of this number, 32 points are the body\u0027s own statements and 5 belong to 2 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1017c56de970b4a5c703145a3d55dc2c31e1f8346bac7442155972963a61735b"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.usesRuncRuntime (cognitive 37): nodepool.usesRuncRuntime has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/osstream.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6f71223dd588adc6891c0c8128c100e44116096f53f040f04a62f0450571a6"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.ApplyPlatformSpecifics (cognitive 36): CreateOptions.ApplyPlatformSpecifics has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (27 pts), match/switch 2 (4 pts), loops 2 (3 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":"cmd/cluster/aws/create.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6992226cec31acc4ea6a6a4dfb2fdeb79a40fa5a3d42c177d677750d62ac6827"}},{"ruleId":"D2","level":"warning","message":{"text":"install.crdIncludeFilter (cognitive 36): install.crdIncludeFilter has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 16). None of this is in the body itself: all 36 points belong to one function literal inside it that branches (line 994). 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/install/install.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"50794601bc47e818d0f07df767f17d580b57880056b4c3e6df3d316fedc06c16"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileDefaultSecurityGroup (cognitive 36): HostedControlPlaneReconciler.reconcileDefaultSecurityGroup has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 2 (nesting depth added 14). Of this number, 26 points are the body\u0027s own statements and 10 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533a0e426c3ce281f5d0a9248952478b4517a2d319465f8ee42090ae2ed1e24"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileUpgradePods (cognitive 36): Reconciler.reconcileUpgradePods has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 2, loops 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034166b7fc4dd62f3a30ddd623b76bf1ab01aea47d1f91fa150e0937a52e651"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileKubevirtPassthroughService (cognitive 36): reconciler.reconcileKubevirtPassthroughService has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 3 (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":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ff943b55c3c8ca19c967bb1e84b7436f5b18feb5092733d125d040f90ffb1"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.prunePreviousSignerCertificates (cognitive 36): CertificateRevocationController.prunePreviousSignerCertificates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 3 (6 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3e3dd1d2a68b764b2b6d25dd2f7a1e8416367ea4841b3caa041575105ecd4"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.reconcileHostedControlPlane (cognitive 36): hostedcluster.reconcileHostedControlPlane has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 3, loops 2, match/switch 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa96c67ea700d135e3f3ef9a8ee0938534756877f4333021b0f3210b5151e06"}},{"ruleId":"D2","level":"warning","message":{"text":"globalconfig.ReconcileInfrastructure (cognitive 36): globalconfig.ReconcileInfrastructure has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (6 pts), match/switch 2, boolean chains 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":"support/globalconfig/infrastructure.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7103d725e9d080ad5fa090b0c977a45f5222f1ed6043b08d4a982a98972c4e09"}},{"ruleId":"D2","level":"warning","message":{"text":"tokenminter.mintToken (cognitive 36): tokenminter.mintToken has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"token-minter/tokenminter.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ef0a5f3878ff7fc5bfd5672e581a28833e547c7d68df636d4bac357e4d7b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"commit_layout.cmd_verify (cognitive 36): commit_layout.cmd_verify has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 3 (7 pts), loops 3 (5 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":"skills/restructure-commits/commit_layout.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"378bbc94fc7f1f4c53446edf01c7a38095388fcedc968f25c6e86cbc2d2f8f79"}},{"ruleId":"D2","level":"warning","message":{"text":"dump.DumpCluster (cognitive 35): dump.DumpCluster has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (30 pts), loops 4, boolean chains 1 (nesting depth added 7). 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":"cmd/cluster/dump/dump.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"197e8bdb04be62311f08c115453558d7e6ac157cf36145eb1b0daf9d2a55e39a"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.generateConfig (cognitive 35): kas.generateConfig has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 4, 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbdfef1476c92330300f18a39eddb306a6163901f3c1486466cf837ab401553"}},{"ruleId":"D2","level":"warning","message":{"text":"HCPEtcdBackupReconciler.handleJobStatus (cognitive 35): HCPEtcdBackupReconciler.handleJobStatus has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 2, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd329d7937bd7383934e317716cf8a1fb92958a727ff848a56baab54377046c1"}},{"ruleId":"D2","level":"warning","message":{"text":"HAProxy.reconcileHAProxyIgnitionConfig (cognitive 35): HAProxy.reconcileHAProxyIgnitionConfig has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba4fb1b2f3d5b502588057c432adbc88f74d5f9e39d0a8888e2cd944dc3338d"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.Reconcile (cognitive 35): AWSEndpointServiceReconciler.Reconcile has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (35 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c036bc45718a4370cc53718676899e31ade4cc276fa8c0f6b8da17f35d672659"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.Reconcile (cognitive 34): HostedControlPlaneReconciler.Reconcile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 26 (31 pts), boolean chains 2, match/switch 1 (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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d283b1c92a8e5e3c0f0caea02a9509b57a7e9f6ad822fa4e6550dbfac3043f"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcilePKI (cognitive 34): HostedControlPlaneReconciler.reconcilePKI has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (33 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9c69382f8e91ac7644339adf7fdce3bf6cbba484cf472b379c29a8465eef2a"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.removeCloudResources (cognitive 34): HostedControlPlaneReconciler.removeCloudResources has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 9 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 8 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0c07ba06c630af90f18347dfaeb6fc7dfc85b1a18c9a08a60a19aecef5e486"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.RecoverMonitoringStack (cognitive 34): recovery.RecoverMonitoringStack has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 2 (6 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/recovery/recovery.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ae3b50799bd3108ebb258c295b5cf80b4478c6d8cfcbabdffcbdc01c7b4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"conditions.ExpectedHCConditions (cognitive 34): conditions.ExpectedHCConditions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 6, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/conditions/conditions.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3375cd31a6620f936deb15580b98008bdb8777a4a2cfed42a6b084afbda53f72"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.Run (cognitive 33): DestroyInfraOptions.Run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (32 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/destroy.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f3b2205ebeb8ee57eed30f74e40ae47b55c699fa154e82038efad1699dbb15"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.ReconcilePrivateService (cognitive 33): kas.ReconcilePrivateService has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (6 pts), boolean chains 5, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90617d24d76e6bd8dfe5801d8f7d4e0c6d682af0fb3e65e16c202a679c97d06"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.deriveKMSKeys (cognitive 33): kas.deriveKMSKeys has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 4, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed379d6c2793f9f2fe3a1798a4d5e92a5d98d8e8c424ba7b17fd97c79fb87d0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 33): main.main has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 5 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/copy-capi-types/main.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc48a3774425bd1eb6e57fb2bb1b40df4a8d9c2f154c8cd6d41e1fdf87daf1b0"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.validateSliceNetworkCIDRs (cognitive 33): hostedcluster.validateSliceNetworkCIDRs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 5, loops 3 (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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4f169ba9e1670191c0bd2eb0a317edb2fb40d7ef210f792a30ba30c74b58a8"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedIngressReconciler.reconcileRouter (cognitive 33): SharedIngressReconciler.reconcileRouter has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (32 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/sharedingress/sharedingress_controller.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edcaff2096b09221b1d05130c8be6405224ae54e4670bf043cdf9970b34e058"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.resolveTopOwner (cognitive 32): Handler.resolveTopOwner has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (22 pts), jumps 5, boolean chains 2, match/switch 1 (2 pts), loops 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":"contrib/gomaxprocs-webhook/internal/webhook/pod/handler.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c73d557ad4fad3d50ac983f3c6aba86b7e004099e25727410767eea4f41889a"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileDeletion (cognitive 32): HostedControlPlaneReconciler.reconcileDeletion has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd7ba75ac8009886957d5570d0fa5c7a3755dae31d1d3914371e092aeba7adc"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileOAuthServiceStatus (cognitive 32): Reconciler.reconcileOAuthServiceStatus has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c83a91223fc39f21bb8f5c58a226e7bc1e86cdb998189f4a3b984f176cc80d3"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.transportForCARef (cognitive 32): oauth.transportForCARef has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (32 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9a78f518ee5d3bbf850b00587e02b4643baafc7848d11f6a9b92409dfae2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.transportForCARef (cognitive 32): oauth.transportForCARef has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (32 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b18e29dcff91a5bb95f4b227bcc05e638df69ea5cff838e784deaf54ef5173d"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.Reconcile (cognitive 32): reconciler.Reconcile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25 (28 pts), boolean chains 4 (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f94217183b1516e68c39a4e9c400a74e1cdc44def696e93a31d947512d3f94"}},{"ruleId":"D2","level":"warning","message":{"text":"main.computeClosure (cognitive 32): main.computeClosure has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 18). Most of this is not in the body itself: 14 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 1001). 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":"hack/copy-capi-types/main.go"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"1174a161937d28d35a719563ddf60973652eba45d8ba39cfb5f0c31ffc654f40"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.ntoReconcile (cognitive 32): NodePoolReconciler.ntoReconcile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcece1912a0fcabd76a9cba9c9e56ce89a89331efa8f12bc94fe78a950bf977"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 32): main.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 29 (32 pts) (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/main.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc3f1355b01bab6a891fea2a2ebac1fa050ae6739cc0b5d0199bd8e399bf4e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EC2NodeClassReconciler.Reconcile (cognitive 32): EC2NodeClassReconciler.Reconcile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (31 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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eae81b60c08d10490a788f63c7d21d683ea80fc813fc6e72cefc58223d2406b"}},{"ruleId":"D2","level":"warning","message":{"text":"kubevirtexternalinfra.ValidateKubeConfig (cognitive 32): kubevirtexternalinfra.ValidateKubeConfig has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (29 pts), loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubevirtexternalinfra/externalinfra.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bd69d420d41b807961ddff5391ea8e10312018a22826b55531e107da41833c"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.fetch_all_prs (cognitive 32): PRReportGenerator.fetch_all_prs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (21 pts), error handling 2 (5 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0aae6c2fa8aef4d2e8a5c6b110dde23b18bb79b0358a9856a5656280574957"}},{"ruleId":"D2","level":"warning","message":{"text":"verify-docs-nav-order.check_section_order (cognitive 32): verify-docs-nav-order.check_section_order has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 3 (11 pts), loops 4 (7 pts) (nesting depth added 19). 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":"hack/verify-docs-nav-order.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c0de125adfb2f9a917ae3c95582a01b1e2c64ea61cc0edbb137eb4fbce6951"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.newAPIJournalCollector (cognitive 31): azure.newAPIJournalCollector has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). Of this number, 30 points are the body\u0027s own statements and 1 belongs 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":"cmd/consolelogs/azure/api_journals.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee120e7ee02542fe28647faa7fcc97c24184497c574d40cb0ae69187a8c38089"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroySecurityGroups (cognitive 31): DestroyInfraOptions.DestroySecurityGroups has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (3 pts) (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":"cmd/infra/aws/destroy.go"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5724aa8d5fa00c1cca4df6739e22e39adda39deff6d2b938b576ff4c725f725b"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyIAMOptions.DestroyWorkerInstanceProfile (cognitive 31): DestroyIAMOptions.DestroyWorkerInstanceProfile has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy_iam.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f17885d937ea0cd085bd24e288c6979d258db217e9ced7702d30f2e4ae936"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.etcdRestoredCondition (cognitive 31): HostedControlPlaneReconciler.etcdRestoredCondition has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 2 (7 pts) (nesting depth added 22). 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2851}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cab00e3ab28405d36aaa70c185558072bba3eedf38e5f2ce816562f3844aae"}},{"ruleId":"D2","level":"warning","message":{"text":"main.localizeFile (cognitive 31): main.localizeFile has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 4 (6 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/copy-capi-types/main.go"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b681c6173d453a36c279f1bc2d0564190c25369f5fcb70e6c3481a9425bfc83"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalIgnitionProvider.GetPayload (cognitive 31): LocalIgnitionProvider.GetPayload has cognitive complexity 31 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 2 (nesting depth added 2). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aa3791c0e7dc6085e78284a424b13313a336440821c284e416e6735cd12dde"}},{"ruleId":"D2","level":"warning","message":{"text":"controlPlaneWorkload.update (cognitive 31): controlPlaneWorkload.update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 16). Of this number, 21 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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":"support/controlplane-component/controlplane-component.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32dc3ceb45f27fbdc3e1e857cb829bf6b04a760cf7c5677e95fcc7eec6f153c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 31): main.main has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 3, 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":"hack/tools/check-konflux-triggers/main.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7db02db1ec34c92655f94c9a5ea0312de6da6aed2e6e055b1e4a0c69d8a03"}},{"ruleId":"D2","level":"warning","message":{"text":"ho_release_gate.poll_until_complete (cognitive 31): ho_release_gate.poll_until_complete has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 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":".tekton/lib/ho_release_gate.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cea88e930fa1c9a95d95d75e57493830f53f16b0a8bd0b009c1319220730a03"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.healthCheckKASLoadBalancers (cognitive 30): HostedControlPlaneReconciler.healthCheckKASLoadBalancers has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 2, 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"692abdcf64b35c06e9e7043f6f82d10669f2e89bc7390287234e621371223d44"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileNetworkServingCerts (cognitive 30): HostedControlPlaneReconciler.reconcileNetworkServingCerts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (30 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6ff490408580650777262d2ce316b4233debe6a245a5481a5ee999b2f728a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 30): main.run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22 (29 pts), loops 1 (nesting depth added 7). 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":"karpenter-operator/main.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd677a32853693753325d45c0030f748b38e3fd1804ac7ef76331b574aa4f19"}},{"ruleId":"D2","level":"warning","message":{"text":"registryclient.ExtractImageFile (cognitive 30): registryclient.ExtractImageFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (3 pts) (nesting depth added 18). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 137). 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c344d874f52a410e19c49140c1ceac7ae0d37a632ac735e0aae0aecd835053b1"}},{"ruleId":"D2","level":"warning","message":{"text":"applyProvider.update (cognitive 30): applyProvider.update has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 2, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/upsert/apply.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eee6c4b2ba91c3509814ad205e93170cd8e8b5972ce83dfc2189bf56a1d8932"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 30): main.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 6 (8 pts), boolean chains 3 (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":"hack/tools/release/notes.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf328b7e002be038bfee61fc62c7e4205bf52ce2c7457ffa3d96af39261cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator._github_graphql_request (cognitive 30): PRReportGenerator._github_graphql_request has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (26 pts), error handling 1 (2 pts), boolean chains 1, loops 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"31148ca7a1f817d50aa17408b167ba97414d14ac10032f9c99135bb5fb5b0f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.fetch_repository_contributors (cognitive 30): PRReportGenerator.fetch_repository_contributors has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (10 pts) (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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a8657050bb3aa80b764688f5aee82cbf430a39de941715a0b24c8328e3d230"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateIAMOptions.CreateOIDCResources (cognitive 29): CreateIAMOptions.CreateOIDCResources has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 3 (6 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/infra/aws/iam.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a118b46383a0db7d1beeb00643f58ccc3b75156e3800b7379bc229e4dc122c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"install.setupAuth (cognitive 29): install.setupAuth has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (28 pts), 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":"cmd/install/install.go"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc582d8b75a3b11e0f23e43f2d21b7c57345013c987390089eed69f9a2f1534a"}},{"ruleId":"D2","level":"warning","message":{"text":"KarpenterIgnitionReconciler.Reconcile (cognitive 29): KarpenterIgnitionReconciler.Reconcile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"79555af3888c7d98754b4829fb7c277c855d745787695fa6618fed6293fa6347"}},{"ruleId":"D2","level":"warning","message":{"text":"CRDMigrator.Reconcile (cognitive 29): CRDMigrator.Reconcile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 4 (nesting depth added 7). Of this number, 22 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":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba150d59c7aaf0d1a434807c033133c813c883e691b0f30c0735978e69c106a1"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryClientImageMetadataProvider.seekOverride (cognitive 29): RegistryClientImageMetadataProvider.seekOverride has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 2 (3 pts) (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":"support/imageregistry/imagemetadata.go"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b9020380ef05ba1fd1509f71d183be614b0dd45c35bca02c40caccba5d542e"}},{"ruleId":"D2","level":"warning","message":{"text":"upsert.defaultMutatingWebhookConfiguration (cognitive 29): upsert.defaultMutatingWebhookConfiguration has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (4 pts) (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":"support/upsert/upsert.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"489e73afcbd43d844eb2f16a1d92962ebbf65be04742fde32a38d83717e3947a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 29): main.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 1, loops 1 (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":"hack/tools/deadcode-report/main.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d92ecb6241a5a96d2574731faa2f8d217305affb264d360032b2642d4270d6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.readFindings (cognitive 29): main.readFindings has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 4 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":"hack/tools/deadcode-report/report.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4711fefb20bf27ccc9570eedd97a96612898733f2d1413de266b3d9015b65183"}},{"ruleId":"D2","level":"warning","message":{"text":"testfuncstructure.collectProductionSymbols (cognitive 29): testfuncstructure.collectProductionSymbols has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (9 pts), boolean chains 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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c49bd973a6fb6a60dbe8d6f5a42c14f0119137ec74d36a9f6ba173fb862b11"}},{"ruleId":"D2","level":"warning","message":{"text":"vacuouspass.extractNonEmptyGuardTarget (cognitive 29): vacuouspass.extractNonEmptyGuardTarget has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 265). 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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d6c1492cea6596a4552d2b2e498fecf196fd57b6792c307e4222df05cffbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.azureConfig (cognitive 28): azure.azureConfig has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/config.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"23274c37c76898f24b64d76669df07d5d350e6ae649e8cf4d0f0b7e4649c877b"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.generateIssuer (cognitive 28): kas.generateIssuer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 1 (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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dfd7d78cbb16c9b06bd11568dadf2b52a8776e7748025dcbc0acddb1f86b57"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileNetworkingAndSecrets (cognitive 28): reconciler.reconcileNetworkingAndSecrets has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 2, loops 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8806055f9de43d41221a5abe8e380a630a2e34dd3690179e6cdc77e4b92525"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.reconcileScaleFromZeroAnnotations (cognitive 28): NodePoolReconciler.reconcileScaleFromZeroAnnotations has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f97359d1bfd7d2e3ecb69e7a584b548a9be520cfa26be04be3428406d0109"}},{"ruleId":"D2","level":"warning","message":{"text":"openstack.MachineTemplateSpec (cognitive 28): openstack.MachineTemplateSpec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (5 pts), match/switch 1 (3 pts), boolean chains 1 (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":"hypershift-operator/controllers/nodepool/openstack/openstack.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3d09f722015588f6de4b16e819b3ae24292b462eb356a3e5fb9d2aed1b2924"}},{"ruleId":"D2","level":"warning","message":{"text":"secretJanitor.Reconcile (cognitive 28): secretJanitor.Reconcile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de901a0fadf0f62cb0daa4c67e968f8576aa8684381eee3b0cb151d24ac4410"}},{"ruleId":"D2","level":"warning","message":{"text":"WebhookCertReconciler.patchWebhookConfigsCABundle (cognitive 28): WebhookCertReconciler.patchWebhookConfigsCABundle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c8e0a31f881d5f4da45cad20f1984a30d5458a2696e19358beb0ae2a550338"}},{"ruleId":"D2","level":"warning","message":{"text":"capabilities.DetectManagementClusterCapabilities (cognitive 28): capabilities.DetectManagementClusterCapabilities has cognitive complexity 28 (threshold 15). Drivers by points: if/else 28. 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":"support/capabilities/management_cluster_capabilities.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d510aa284fc42683bd4ae7fb3024b10e01d5f37616a8b105d8ffd77128da45a8"}},{"ruleId":"D2","level":"warning","message":{"text":"CRDMigrator.reconcileCleanupManagedFields (cognitive 28): CRDMigrator.reconcileCleanupManagedFields has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2, boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 419). 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":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d5795cf4fb626d60b1167d3c55b3bbccab911e75339eb6708d61646bbb0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"verify-tekton-pipeline-pairs._strip_and_paren_blocks (cognitive 28): verify-tekton-pipeline-pairs._strip_and_paren_blocks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (10 pts), boolean chains 4 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/verify-tekton-pipeline-pairs.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"86867ab121634af40cb4af5fe692b612808fe1c8e836c0740392e68c45f1b330"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateBastionOpts.Run (cognitive 27): CreateBastionOpts.Run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (26 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":"cmd/bastion/aws/create.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"416592541a1ed4b6207f3d21b33c16084d1d717631d5d512f55410efdc93b718"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.getCISDomainDetails (cognitive 27): powervs.getCISDomainDetails has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 500). 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/infra/powervs/create.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"641de1ff2e60f65f671ac17b43397e52aaf8185ccab30680ad1f1fefcd341aec"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.reconcileExternalServices (cognitive 27): GCPPrivateServiceConnectReconciler.reconcileExternalServices has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (5 pts), match/switch 1 (3 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"20290124a0911efa7b91b13ce8fc31cac6b070887fb8db38a16ef221665f921c"}},{"ruleId":"D2","level":"warning","message":{"text":"FirewallManager.Delete (cognitive 27): FirewallManager.Delete has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (26 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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b3bf6aefef67bcdc078d057e94440e23b8b12a89badec901d65d7032bde19b"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress.ReconcileRouterService (cognitive 27): ingress.ReconcileRouterService has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/ingress/router.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea47eb499dc3fa5e2972b33ac4b4ef6e0526ebbf7d833ca51be7ee8961c779f"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.previousDirectCertificates (cognitive 27): pki.previousDirectCertificates has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (9 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/ca.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"235fad9195f953ce7a713833db1c0b23c78aa5476a3267e8758204067fed2829"}},{"ruleId":"D2","level":"warning","message":{"text":"etcd.adaptStatefulSet (cognitive 27): etcd.adaptStatefulSet has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4341483bba2bb8d2eefb00bde936b0bd822a7c30c9c77ef48116cce46725ec81"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.updateMainContainer (cognitive 27): kas.updateMainContainer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 271). 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83219fc1c420b7adca32a61a11d72d2bc5afbd057254704cfb977e911b6a6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"main.newOperatorImageLookup (cognitive 27): main.newOperatorImageLookup has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 14). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 199). 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":"control-plane-operator/main.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59b8a58dcb4a85d7950e16b082f545c64b56f7fb869d5c2fb7add4197c98215"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.setScaleFromZeroAnnotationsOnObject (cognitive 27): nodepool.setScaleFromZeroAnnotationsOnObject has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (4 pts), boolean chains 3, 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":"hypershift-operator/controllers/nodepool/scale_from_zero.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793c0f05e601fa94991e4f8a2b04affb25fe15a0d84fd2ee31995d7751fe5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"kubevirt.MachineTemplateSpec (cognitive 27): kubevirt.MachineTemplateSpec has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 2, loops 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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"534511028062eb36b04bcc71e47b8b3fbd561713891a42e830042de58dbed889"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.updatingVersionCondition (cognitive 27): NodePoolReconciler.updatingVersionCondition has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (27 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0e521284a9532c28158a9fb71759c01da06d596207b550fe0a7b653e90f801"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.enqueueNodePoolsForConfig (cognitive 27): NodePoolReconciler.enqueueNodePoolsForConfig has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4 (8 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200d6118f1ab1fd6f5f4eec54818ccda7f7bf3f816f3ef6afb11bbebe8e4344"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceController.lookupILBByFrontendIP (cognitive 27): AzurePrivateLinkServiceController.lookupILBByFrontendIP has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cb3756b990a01cc0a8c58e1fc3908cce4bc08cce1bb674f9130cb0b58169ba"}},{"ruleId":"D2","level":"warning","message":{"text":"util.setHostedClusterSchedulingAnnotations (cognitive 27): util.setHostedClusterSchedulingAnnotations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 7, 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":"hypershift-operator/controllers/scheduler/util/scheduler.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca04b224659b3dc4009452c476f51df4a069b9297a520462280503aab71d7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"controlPlaneWorkload.setDefaultOptions (cognitive 27): controlPlaneWorkload.setDefaultOptions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 2, 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":"support/controlplane-component/defaults.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae8598c53c64da10ee79446303f5f1f44cbe8c572e25cddf4e51bedb6de7e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCreateOptions.Validate (cognitive 26): RawCreateOptions.Validate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 2, loops 1, match/switch 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":"cmd/cluster/azure/create.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e656b4b16c221bd8d7bb0ead44253a3f65f7bd50d9aad3cd4a6144a7d6accc29"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.createPerZoneResources (cognitive 26): CreateInfraOptions.createPerZoneResources has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6a93a5a3bc2569328f2150932aff50aeb19803622f69d935fa62690d0c7d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileOAuthServerService (cognitive 26): Reconciler.reconcileOAuthServerService has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 1 (nesting depth added 10). Of this number, 24 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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e41add0023b8f61bb41e920800351697e4b742461426170bed944bb7c35652f"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.ensureIngressControllersRemoved (cognitive 26): reconciler.ensureIngressControllersRemoved has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"80807b9718dd2ceab3285e56bb14f9ed66f459200a9162b6bd49c41a5e3eacd0"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcilePublicEndpointExposedCondition (cognitive 26): HostedClusterReconciler.reconcilePublicEndpointExposedCondition has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 9, 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":6340}}}],"partialFingerprints":{"codehealthFindingId/v1":"303733e94f8009e40f7b903e643d8dec419b1c65ca848e254db30444cb0790fc"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileAutoNodeEnabledCondition (cognitive 26): HostedClusterReconciler.reconcileAutoNodeEnabledCondition has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (5 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":"hypershift-operator/controllers/hostedcluster/karpenter.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b630a469e80b8400c0916d3961848e1bef7f7ed90e1845f135ef944d7527a43"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcilePlatformNetworkPolicies (cognitive 26): HostedClusterReconciler.reconcilePlatformNetworkPolicies has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4029335c2c9a3df64e0b4fbc876acf1c7680432bfe75d42f4125e49a79f78164"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.Reconcile (cognitive 26): Reconciler.Reconcile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79359c41ee8cc46f03b1b6e03495d310bce0721269e7c7111e7a014cc9a04f"}},{"ruleId":"D2","level":"warning","message":{"text":"releaseinfo.parseComponentVersionsLabel (cognitive 26): releaseinfo.parseComponentVersionsLabel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (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":"support/releaseinfo/releaseinfo.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ab91c745481e94088343ef66e6bb77a765dd3122f30205ea83e287a02bfd28"}},{"ruleId":"D2","level":"warning","message":{"text":"JiraClient._fetch_json (cognitive 26): JiraClient._fetch_json has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"91114f86e8084d10c9f5322f0704f8ca4be45a4a7e9c9d4ab984c9484b29ffcb"}},{"ruleId":"D2","level":"warning","message":{"text":"configrefs.oauthConfigMapRefs (cognitive 25): configrefs.oauthConfigMapRefs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/util/configrefs/refs.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87b262d717edcefe26b40e15931b67194d9bc31db384f77f33813266307a99c"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.CreatePublicRouteTable (cognitive 25): CreateInfraOptions.CreatePublicRouteTable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/ec2.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e9c5f64cad239fd5157e11f210518c5d2fbe29ab776c615f68eee52e5cd55d"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.deleteClusterResourcesInGroup (cognitive 25): DestroyInfraOptions.deleteClusterResourcesInGroup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (6 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":"cmd/infra/azure/destroy.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f985c3420420f3319028a52bee868b3196ac436615b0cbc410db777b0e5489ef"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.reconcileDelete (cognitive 25): GCPPrivateServiceConnectReconciler.reconcileDelete has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (25 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1586900c5b68f641298d79e804628beaf44ac310ff94a2486d32631beb5255"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileIngressController (cognitive 25): reconciler.reconcileIngressController has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcd5464c4b99cd0c2d5910b38039749993e29e9d8d3dbfd758d1c4be7969d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.NewStartCommand (cognitive 25): main.NewStartCommand has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 1, loops 1 (nesting depth added 1). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 367). 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":"control-plane-operator/main.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f095c49010ebf727eb2f81f400d3c57ccbd589c4304d0f2878a0a592f17e31"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcilePlatformSpecific (cognitive 25): HostedClusterReconciler.reconcilePlatformSpecific has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d91498e8149d4796458ccbc7595cd3acaf82d4d8317f9a9e8b6f8acbf6f0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.Reconcile (cognitive 25): NodePoolReconciler.Reconcile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (25 pts) (nesting depth added 7). Of this number, 24 points are the body\u0027s own statements and 1 belongs 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"30296f345147b0d1e46703b765ef11c775882bd27920e6de2fe37369ec85cddc"}},{"ruleId":"D2","level":"warning","message":{"text":"genericAdapter.reconcile (cognitive 25): genericAdapter.reconcile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 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":"support/controlplane-component/generic-adapter.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"de86b7a665b0c63f6cf05f077fa17e0e2ba7d0df3783da0e93f97088419ff0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateIAMOptions.CreateSharedOIDCRole (cognitive 24): CreateIAMOptions.CreateSharedOIDCRole has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (5 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":"cmd/infra/aws/iam.go"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2432678225f62d0564ddb0fee4a69a69ba4c91979d5c1efc544a848425eef1"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateIAMOptions.CreateWorkerInstanceProfile (cognitive 24): CreateIAMOptions.CreateWorkerInstanceProfile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (23 pts), 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":"cmd/infra/aws/iam.go"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f6016901cf3c098d560b45ad778568612981ee8ec8aef88bfe0e662b869b23"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyV2ELBs (cognitive 24): DestroyInfraOptions.DestroyV2ELBs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (6 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/infra/aws/destroy.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"565889464b39767be82f6ae4a15fa8bddd6a58361b4059c5783e2134cb3fdfcc"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.cappedExponentialBackoffWithContext (cognitive 24): azure.cappedExponentialBackoffWithContext has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 3 (8 pts), boolean chains 2, loops 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":"cmd/infra/azure/networking.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58894e9627aeb87dfb297477c8b2f887c2263b692af461729e78e1a58efd7f8"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.destroyVpcLB (cognitive 24): powervs.destroyVpcLB has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). None of this is in the body itself: all 24 points belong to 2 function literals inside it that branch (lines 626, 611). 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/infra/powervs/destroy.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac64172de289c1bccc0fce0bd7b7d2eb5dea57fe27851e4aa6c3f89393ed3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"main.resolveExistingPrincipals (cognitive 24): main.resolveExistingPrincipals has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (3 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":"contrib/azure-orphaned-role-assignments/main.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8622cc80714d592a47e1d8a39c41c42142710b6399285d65a05642a2fc6ff350"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceReconciler.reconcileDNSZone (cognitive 24): AzurePrivateLinkServiceReconciler.reconcileDNSZone has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (23 pts), 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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a01da8a8e567e716135f161ee13c92ca0fabfd2e5772045676376ec76a414a"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileHCPRouterServices (cognitive 24): Reconciler.reconcileHCPRouterServices has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c6861e8bb626bbd21555150dac68472fe85fd1ab3751d95da6e98eb8644fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"kubevirt.adaptConfigMap (cognitive 24): kubevirt.adaptConfigMap has cognitive complexity 24 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 5 (9 pts), match/switch 1 (nesting depth added 12). 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":"control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d1143c24e53b68834c52ce56b31d4decc0ac5d0ac72f76976efab79fa26dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"metricsproxy.certVolumesFromMonitors (cognitive 24): metricsproxy.certVolumesFromMonitors has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (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":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6382ff5d4a1b2bef1810b71f9d3ca6d7decd660c948b2003ea0a101a84c1bb66"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.adaptDeployment (cognitive 24): oauth.adaptDeployment has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 2 (nesting depth added 8). Of this number, 21 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a26db066cfecebb89820a6feb64da597acd9f08910f41d33aa9046ba80f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileGlobalPullSecret (cognitive 24): Reconciler.reconcileGlobalPullSecret has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f170d2c91f4e04396f65aa4538e35fd17b4c61a69fdfc504936552c966a41"}},{"ruleId":"D2","level":"warning","message":{"text":"PodWebhookHandler.mutatePod (cognitive 24): PodWebhookHandler.mutatePod has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/pod_webhook.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e96903f2697b9892552155c045a7389643dbb32be19a84ba89e60bc27b3e47a"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotReconciler.Reconcile (cognitive 24): SnapshotReconciler.Reconcile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/snapshot_controller.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0dbbf6d03f87cc349ffbb127ba5fbd556b5ad98e6b075f21e4cb8f66e713e8"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.reconcileHostedControlPlaneAnnotations (cognitive 24): hostedcluster.reconcileHostedControlPlaneAnnotations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 5 (7 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c83127f9be570388e0a0e96d961a15ef30678fc49817413935e0d3f8ee0526"}},{"ruleId":"D2","level":"warning","message":{"text":"openstack.reconcileOpenStackClusterSpec (cognitive 24): openstack.reconcileOpenStackClusterSpec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (7 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":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9203a8dfaeda4d7ed2928bdc876a06aabe7ed58ce6b58b37f1837d8bb02c6"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerVS.ReconcileCredentials (cognitive 24): PowerVS.ReconcileCredentials has cognitive complexity 24 (threshold 15). Drivers by points: if/else 24. Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 226, 291, 327, \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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bebe30493a2bbf1607a04393fc93a8e19466851a8f389eef5fd7b2df5daeca2"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.reconcileMachineDeploymentStatus (cognitive 24): CAPI.reconcileMachineDeploymentStatus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"972bc69dd25074fb65c3049d0923aeeb369fe74db6578e2208e3b2567114c492"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.updatingConfigCondition (cognitive 24): NodePoolReconciler.updatingConfigCondition has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (24 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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"206b7783cc0ed41fc806f54eb2a70386337cbf2153ae93c80dfab6d3b0acf543"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceController.reconcilePrivateLinkService (cognitive 24): AzurePrivateLinkServiceController.reconcilePrivateLinkService has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 1, loops 1 (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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9450f0a3334519f5202c713e152b0130146cf82a940bdae9b065d56d1d674"}},{"ruleId":"D2","level":"warning","message":{"text":"DedicatedServingComponentSchedulerAndSizer.Reconcile (cognitive 24): DedicatedServingComponentSchedulerAndSizer.Reconcile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 1 (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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c69f930fa7d50c08917f81774085ae60c7eb35cd19733a23320c3319a0d0290"}},{"ruleId":"D2","level":"warning","message":{"text":"uwmtelemetry.reconcileUWMConfigContent (cognitive 24): uwmtelemetry.reconcileUWMConfigContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (23 pts), 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":"hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"131d547802cd69af5fa525e351db6807d9b5860c9500275cf35230b6f0ac5ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalIgnitionProvider.extractMCOBinaries (cognitive 24): LocalIgnitionProvider.extractMCOBinaries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2, boolean chains 1 (nesting depth added 9). Of this number, 21 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":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"4894b74a635077f50de836cbaefadfb95f1aee095a2a2b25b7663ec2afab935d"}},{"ruleId":"D2","level":"warning","message":{"text":"hcpstatuspatch.rhsAssignedToObject (cognitive 24): hcpstatuspatch.rhsAssignedToObject has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 15). 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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8fd239353d46acb929e7c4d87ba6752de64a944a86e24bf9193b9eb1ab687d"}},{"ruleId":"D2","level":"warning","message":{"text":"ipv6url.run (cognitive 24): ipv6url.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2, loops 1 (nesting depth added 11). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 35). 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":"hack/tools/hypershiftlinter/analyzers/ipv6url/ipv6url.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad810aedbcd6ab874028cf30ccd4f8ac5670739be800be2ac497bf0a1d817ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator._generate_impact_statement (cognitive 24): PRReportGenerator._generate_impact_statement has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d193027c5722309b7d77f5077ab9d0cbbd9233cc122c5fff95b37b0bcbd38fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"update_trusted_task_bundles.main (cognitive 24): update_trusted_task_bundles.main has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3, boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/scripts/update_trusted_task_bundles.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7346e4facbaf2f2ed0661a8192f8cc5628a687e9c7dbf6c852cdf40da1fc650f"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCreateOptions.Validate (cognitive 23): RawCreateOptions.Validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/kubevirt/create.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c17763064968c86875c1bd0a8d35b4a387752751e07ec64217586e79c64030"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.destroyPowerVsCloudInstance (cognitive 23): powervs.destroyPowerVsCloudInstance has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (2 pts) (nesting depth added 14). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 442). 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/infra/powervs/destroy.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f45b5bb9d95deba4de882ba937a09d2ee9c6bee1e9293eaac437adc32f844c"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.deleteCOS (cognitive 23): powervs.deleteCOS has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/destroy.go"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"9142776958c4d6d96790e5a123b20586d3546448ef97fab0a074b40664d86cc1"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.validateVpc (cognitive 23): powervs.validateVpc has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 6). Of this number, 16 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":"cmd/infra/powervs/validate.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4329780d9b9f05c8e9a5aa01f9115ab45b95e6b3039c80e53b0bc03ef788dfcf"}},{"ruleId":"D2","level":"warning","message":{"text":"install.RenderHyperShiftOperator (cognitive 23): install.RenderHyperShiftOperator has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 1 (2 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":"cmd/install/install_render.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08b5a1293a2534b43e35e13c10ea76638cd3909bababfbfe7690cb8a6025619"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.ReconcileKonnectivityServerServiceStatus (cognitive 23): kas.ReconcileKonnectivityServerServiceStatus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (3 pts), boolean chains 2 (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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08fc12f9d188b1ccbaf4ffae280fae5a1a506ec9245d25f009e1233d8fa9e7a"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileMetricsForwarder (cognitive 23): reconciler.reconcileMetricsForwarder has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"84207f6bcca573e7ea151583621dd3fd6a8cf011806571e037ee67284ead07bf"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileKubeletConfig (cognitive 23): reconciler.reconcileKubeletConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ae2c529d9626b2528c8712bb9b548db0701d2e8ccc54c154a759eaed8880fc"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.isArchAndPlatformSupported (cognitive 23): nodepool.isArchAndPlatformSupported has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"714820d9d02344ebddb426014cee207f4975c7b51222eed986ad1281972de040"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.BuildMirrorConfigs (cognitive 23): nodepool.BuildMirrorConfigs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ff5ed1c9b4b9379bf2adf9f0014df2b1e7ae1baaca8d4267900aad9fa2ce39"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.nonRequestServingMachineSetsToScale (cognitive 23): scheduler.nonRequestServingMachineSetsToScale has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 5 (7 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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d422287ec0ecb333a29070d6cc5b329db95a29e97723abee3a0b062a8ce1b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"createOrUpdateProvider.CreateOrUpdate (cognitive 23): createOrUpdateProvider.CreateOrUpdate 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":"support/upsert/upsert.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d8dca96dd4ce4c67b088373edebcddcdc82c3085019616f5108b564ac719e8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 23): main.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 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":"hack/tools/deployment/deployment-update.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1c6832f99cba5e533da1ca83395fe8b02946dcbe80eecdf68828e924a8dc8c"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateIAMOptions.CreateIAM (cognitive 22): CreateIAMOptions.CreateIAM has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 1 (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":"cmd/infra/aws/create_iam.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a8f6cc3f3e07e4c115c9a8b2401c3cc4b9723c9c787dd981459a1d8a4abe59"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.convergePrivateDNSZoneLink (cognitive 22): azure.convergePrivateDNSZoneLink has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (22 pts) (nesting depth added 6). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 579). 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/infra/azure/networking.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"13320972a1e99d71b180ec30f41148169005de7f2eab0bc67f2ec129331f3b10"}},{"ruleId":"D2","level":"warning","message":{"text":"install.WaitUntilAvailable (cognitive 22): install.WaitUntilAvailable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 3 (nesting depth added 5). 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 757, 792). 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/install/install.go"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db8a99720a20cfb96503d9deb101abdb4ff83c09af2995f5e4d2733d26462d0"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileEtcdStatus (cognitive 22): HostedControlPlaneReconciler.reconcileEtcdStatus has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2924e31156e2ae6175a9490ec373f1affa00bee1d5fe963a5146b667d1359a73"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.validateAzureKMSConfig (cognitive 22): HostedControlPlaneReconciler.validateAzureKMSConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3765}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ead38434eb5d6dc6b68e14c18b7b189e1c4826ea487a697c377b3c5747a0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.setupKASClientSigners (cognitive 22): HostedControlPlaneReconciler.setupKASClientSigners has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 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":"control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6d7fa4f54df372352fe06eadf3783d4ecfea7b98244bdaae3e3e0448d0617c"}},{"ruleId":"D2","level":"warning","message":{"text":"etcd.adaptShardStorage (cognitive 22): etcd.adaptShardStorage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, match/switch 1 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf366eff6558a892eb5ae9bf785c4dad3dd4ec7c17c7c66285e7e033ebb3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterConfigOperator.Run (cognitive 22): HostedClusterConfigOperator.Run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2 (3 pts), boolean chains 1 (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":"control-plane-operator/hostedclusterconfigoperator/cmd.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd4cbb1d61a99f35571e1f676b209da2eb6937de9532dd0d547584eab5888d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyHandler.ServeHTTP (cognitive 22): ProxyHandler.ServeHTTP has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/metrics-proxy/proxy.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd426e793e525a3e95b9e444fad0dc605497be2935de613b064a250153b3396a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.collectSeeds (cognitive 22): main.collectSeeds has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/copy-capi-types/main.go"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22f3829cd85d491cae18e5624c6ab312fa760fe041bb0060c4e0be65771e52"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.determineNodeCount (cognitive 22): reconciler.determineNodeCount has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, 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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8af146712dc0efb4a801789c6a3081b526d3683838725186e14f816e4eeb51"}},{"ruleId":"D2","level":"warning","message":{"text":"cachedBootImage.CacheImage (cognitive 22): cachedBootImage.CacheImage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, 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":"hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3f3cd0b194faa12daaec9a65a85ac0d972169937f6a760aa800f00f52985f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.ensureVpcEndpointService (cognitive 22): AWSEndpointServiceReconciler.ensureVpcEndpointService has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7c7e54cae50c9879a74efd443764ebf5582ef31ce2639978bd513fe639fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineSetDescaler.Reconcile (cognitive 22): MachineSetDescaler.Reconcile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466025b20a28e7cc457b4d80ce803a0210d3e8090f275557b5e1e10b4bfc0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"webhookcerts.EnsureLegacyServiceCAMigration (cognitive 22): webhookcerts.EnsureLegacyServiceCAMigration has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (WebhookCertReconciler.removeServiceCAResources) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f04df2f66e265883e97a893a5a0e85934f619e44f6224f6e8bc6ccf52168f21"}},{"ruleId":"D2","level":"warning","message":{"text":"WebhookCertReconciler.removeServiceCAResources (cognitive 22): WebhookCertReconciler.removeServiceCAResources has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (webhookcerts.EnsureLegacyServiceCAMigration) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc4f7fd353217f575a9a15e1ff96c5667966ad47ae6c5c10dc82a4a24b8f816"}},{"ruleId":"D2","level":"warning","message":{"text":"awsutil.CreatePublicHostedZone (cognitive 22): awsutil.CreatePublicHostedZone has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 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":"support/awsutil/route53.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3319b878c78a7f6d8a34ef90cd9df60f30903a9bbd3bccfba82b1ec85758419a"}},{"ruleId":"D2","level":"warning","message":{"text":"awsutil.lookupPrivateZoneIDForVPC (cognitive 22): awsutil.lookupPrivateZoneIDForVPC has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/route53.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"30207f472f126263b4c40d3adf2c47b4e382349537530ca9a6cb2f3e9d406865"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.ensureBastionSecurityGroup (cognitive 21): aws.ensureBastionSecurityGroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, loops 1 (nesting depth added 6). Of this number, 18 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":"cmd/bastion/aws/create.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bced0990bd0e8da9b705318101efa7105fbbba8a9e2525fb27faadffff996f0"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCreateOptions.Validate (cognitive 21): RawCreateOptions.Validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/gcp/create.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"597c72919c642df600f29e2b28deaaa736b1992c24c9441df4a2c7bf993b4d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.collectMachineDiagnostics (cognitive 21): azure.collectMachineDiagnostics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 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":"cmd/consolelogs/azure/getlogs.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd21ee099552987c6bfda190a0ce3da145928e3a32b09dd92523e68e5a4649e"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.VerifyArtifacts (cognitive 21): azure.VerifyArtifacts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/azure/report.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"371b0c95ff48164aa8511b2d2de017cec874653eaed3ded274c7a4531db7a57b"}},{"ruleId":"D2","level":"warning","message":{"text":"install.hyperShiftOperatorManifests (cognitive 21): install.hyperShiftOperatorManifests has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ca8d97a03cf8412c3cfb94b4a31baf39794ec35b6c70de9cbcfde47f4c6200"}},{"ruleId":"D2","level":"warning","message":{"text":"main.listAllAssignments (cognitive 21): main.listAllAssignments has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 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":"contrib/azure-orphaned-role-assignments/main.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ca807350dff80a8daf0aa14db09246a39d9e651a9bf8393d6d93369b249b3a"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.reconcileExternalNameServices (cognitive 21): AWSEndpointServiceReconciler.reconcileExternalNameServices has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), match/switch 1 (3 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6c92e773f36bde32886f848689b90a9acf744e2e0c8e2fefbb7c022c72185d"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileAzurePlatformCerts (cognitive 21): HostedControlPlaneReconciler.reconcileAzurePlatformCerts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccba61adef3fc55dfd018b798585b7aff2000a2e047e38bd314c0a096d63524"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.reconcileAPIServerServiceStatus (cognitive 21): Reconciler.reconcileAPIServerServiceStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 4 (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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d4fea35f8a5f0a2ddd996b2e43af7d8cee349a27760e10f952d65399c49d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.ReconcileService (cognitive 21): oauth.ReconcileService has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, match/switch 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/service.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1beec15a47325d93eedb3adedbd8a53cfef8778d3e48578f8660e56c37f9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.ReconcileServiceStatus (cognitive 21): oauth.ReconcileServiceStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/service.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3dba2b525d975686c902da37aa8e8b7c97fe11fddba0473400a7887841c168"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.Setup (cognitive 21): resources.Setup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49303ed91022fa1175c4d7a69f77478842408e77b3ae3b5b16a83d293a4d48b"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileCloudConfig (cognitive 21): reconciler.reconcileCloudConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). Of this number, 11 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4064c83e0f01bd43aa1df743416c5ee6306f6daf576a66c4496eff7ae6b2ecd7"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.generateNewSignerCertificate (cognitive 21): CertificateRevocationController.generateNewSignerCertificate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d451a728e9e27e84374d3c705dfe9b0fc4d619276b10448eaf372ea81d33145f"}},{"ruleId":"D2","level":"warning","message":{"text":"HCPEtcdBackupReconciler.Reconcile (cognitive 21): HCPEtcdBackupReconciler.Reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6984a2b3b55ef5c35dce576d8416a3ad5fed5c911d1b316d8e04557a609abc"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileCAPIFinalizers (cognitive 21): HostedClusterReconciler.reconcileCAPIFinalizers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":6178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9432731377d35770e78762775fd9d2e67e21f70073fc213508e00419006f09df"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.listMachineTemplates (cognitive 21): CAPI.listMachineTemplates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd4949679809e8677f35eee4248d8bf0c415d27ecfbf6b2273b4bf7721135be"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.reconcileMirroredConfigs (cognitive 21): NodePoolReconciler.reconcileMirroredConfigs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 4, boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"08852151406836b0bbd89dbae6be9eeb8d65e696d01816ebd40abd838731e3c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceController.Reconcile (cognitive 21): AzurePrivateLinkServiceController.Reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"084d7f7f96ee6e2bfaf5179eae7dca70f506844c8f02997d21650d241cff6580"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runInit (cognitive 21): main.runInit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 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":"hypershift-operator/init.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df8648f061941bf1335864c3845d55e29d28776be575516adfb2443a73ba79a"}},{"ruleId":"D2","level":"warning","message":{"text":"konnectivityhttpsproxy.NewStartCommand (cognitive 21): konnectivityhttpsproxy.NewStartCommand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 pts) (nesting depth added 6). None of this is in the body itself: all 21 points belong 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":"konnectivity-https-proxy/cmd.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df26cc3c4417b24af069159f2e0e0dec4f679015d181912d0392b5739ae4f72"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedIngressConfigReconciler.Reconcile (cognitive 21): SharedIngressConfigReconciler.Reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sharedingress-config-generator/controller.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c7a1a3070052aa9a93e801cd5dc68a96fec36ceb647e4a4c9d14f514bf8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"supportedversion.retrieveSupportedOCPVersion (cognitive 21): supportedversion.retrieveSupportedOCPVersion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/supportedversion/version.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"68317bbb1cca38db8aa78fb3399e6a1a8991a9a5557033d4160efe064f617905"}},{"ruleId":"D2","level":"warning","message":{"text":"verify-tekton-pipeline-pairs.check_pair (cognitive 21): verify-tekton-pipeline-pairs.check_pair has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 2 (3 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":"hack/verify-tekton-pipeline-pairs.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac97dbb263d305b6fb5908b4af5c65a083986bbc1a5d6ea3153b242209a8e17d"}},{"ruleId":"D2","level":"warning","message":{"text":"DrOidcIamOptions.Run (cognitive 20): DrOidcIamOptions.Run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18 (19 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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c8a9469f0e52b7624fe0eab80061b8bf6baa1dc9cfd0f345d1d85a96028ee4"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.emptyBucket (cognitive 20): aws.emptyBucket has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9dbc1321a1dc270392eebe5e922d79ae7c9c1f6a942d4ffc7bc798eb910464"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyInfra (cognitive 20): DestroyInfraOptions.DestroyInfra has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bef3c07da7a0b288f03549cd1119287c79652cda1021a58d33b483ebc01eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyVPCEndpointServices (cognitive 20): DestroyInfraOptions.DestroyVPCEndpointServices has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts), jumps 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":"cmd/infra/aws/destroy.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"469f6880d99b0e092eb039fdcf4a0b40f713d70fa164d39a51fb02d6e91e0011"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyInternetGateways (cognitive 20): DestroyInfraOptions.DestroyInternetGateways has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"623bbb9467545c302ca0495520ad42cdef94c7bae453363474c4cf599d2b88e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyIAMOptions.DestroyOIDCResources (cognitive 20): DestroyIAMOptions.DestroyOIDCResources has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (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":"cmd/infra/aws/destroy_iam.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"924cf3156103b9f345e7df1f4a9c6ca32845f49e884b8d984f30e18b93d7112a"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyIAMOptions.DestroyOIDCRole (cognitive 20): DestroyIAMOptions.DestroyOIDCRole has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 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":"cmd/infra/aws/destroy_iam.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c51b1e21ddd4bfbe8df069b2e8840c8c4fed1b49122d524386eb40e5d96d5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.validateTransitGatewayByName (cognitive 20): powervs.validateTransitGatewayByName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, loops 2 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/validate.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca6efaaa2214a02f915f3dbc1a8b5d986af72b9efac104faa1ca3fc1aaf3719"}},{"ruleId":"D2","level":"warning","message":{"text":"kubeconfig.Render (cognitive 20): kubeconfig.Render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 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":"cmd/kubeconfig/create.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952b55d8a23f94038ca1b03f862b92d67ffccca62e501ad2fc8c98b6586785f"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.deduplicateSubnetsByAZ (cognitive 20): AWSEndpointServiceReconciler.deduplicateSubnetsByAZ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 5 (8 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"94db3c5b38d09c0607f2244d23035a30fce0eeb4ce6b497cf8dec7e9adef46f2"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.ensureIPAddress (cognitive 20): GCPPrivateServiceConnectReconciler.ensureIPAddress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69d2f12e9dcb47c1148f1da8808bee48c1bf1b2f4a23aa71d886707a0f13707"}},{"ruleId":"D2","level":"warning","message":{"text":"clusterVersionOperator.adaptDeployment (cognitive 20): clusterVersionOperator.adaptDeployment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 10 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":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"18513a225604b762411f2175280b379d27936cfa017354e34fcc95d74430e6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.deriveAESCBCEncryptionConfig (cognitive 20): kas.deriveAESCBCEncryptionConfig has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/secretencryption.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc1ada7530e78d7003f7283a41bbe45c2ce77932128d089f6b5248d5b0c024"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration.ReconcileGlobal (cognitive 20): configuration.ReconcileGlobal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (20 pts) (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/configuration/global.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d9b0819bf313d2c1f13defdc3132f9bb773aef3e1f391a975b2cec4cbef72"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.deleteAWSEndpointServices (cognitive 20): hostedcluster.deleteAWSEndpointServices has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3964}}}],"partialFingerprints":{"codehealthFindingId/v1":"706396bc9110a52ae293ced2d230ecd4c20185c4a8c90b999dbfaa25a166a2cb"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedClusterDefaulter.Default (cognitive 20): hostedClusterDefaulter.Default has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_webhook.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7bf7253f58f89a7abfea3a61ae625b9e074aa30c3f758667e69f07c615f58"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.Reconcile (cognitive 20): reconciler.Reconcile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"699019068d142ab5b48caee5738ed2b00899b5db32c0bd9bb300bce5dec63114"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.cleanupMachineTemplates (cognitive 20): CAPI.cleanupMachineTemplates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e24743026911968cdda05da2a02db4bff6ea838e7e02b8a5e7a8f87068d711"}},{"ruleId":"D2","level":"warning","message":{"text":"Token.cleanupOutdated (cognitive 20): Token.cleanupOutdated has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5343319c7b2a4f9d891c7f5d8f47a8acfb847481079b623129d9fd17e02ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"Token.resolveEffectiveHash (cognitive 20): Token.resolveEffectiveHash has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c13f7f4f78c436b3e1fe8ebce628a9d06f25e9aed59f8e8e868471f6c99303"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.delete (cognitive 20): AWSEndpointServiceReconciler.delete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (3 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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1ccb17998cd0d1f3f0463d24a99df2cb3098902e437ff39def2412f3ea10e"}},{"ruleId":"D2","level":"warning","message":{"text":"machineSizesCache.updateSizesFromMachineSets (cognitive 20): machineSizesCache.updateSizesFromMachineSets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (nesting depth added 8). Of this number, 17 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":"hypershift-operator/controllers/resourcebasedcpautoscaler/machine_sizes_cache.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f00064f799ae4717c001130883d89d67acf7a9f55681cdd112a9cb33ce5604d"}},{"ruleId":"D2","level":"warning","message":{"text":"controlPlaneWorkload.setControlPlaneIsolation (cognitive 20): controlPlaneWorkload.setControlPlaneIsolation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (4 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":"support/controlplane-component/defaults.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d649d97c7b15de06bab65b2f7b26da80d673fe6d201e7ed6f7e40975352204"}},{"ruleId":"D2","level":"warning","message":{"text":"CincinnatiVersionResolver.fetchVersion (cognitive 20): CincinnatiVersionResolver.fetchVersion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 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":"support/releaseinfo/cincinnati_version_resolver.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b819def9543f5c6e8d89ceceb3acae35b9b73649441fa121076ab791e56d8d0"}},{"ruleId":"D2","level":"warning","message":{"text":"supportedversion.IsValidReleaseVersion (cognitive 20): supportedversion.IsValidReleaseVersion 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/supportedversion/version.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb468f99b1e92dd73d6ebf07b0299ab49f883f1e154160f4038b805ad5f0dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"upsert.defaultContainer (cognitive 20): upsert.defaultContainer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, loops 2, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/upsert/upsert.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f2c3cb3e63722d3960557a1fd94f63d0d16cb8e7659686afcac1e01c22b978"}},{"ruleId":"D2","level":"warning","message":{"text":"applyProvider.ApplyManifest (cognitive 20): applyProvider.ApplyManifest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, match/switch 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":"support/upsert/apply.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d24729d83635c81b43aafb9808e3dbc826a2378349d6fbde760cc8557cbb7a"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator._process_pr_data (cognitive 20): PRReportGenerator._process_pr_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08e722b8b985d76739a884affd4b2250d4ff95febecd20bff63972fa48d7359"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.save_summary_data (cognitive 20): PRReportGenerator.save_summary_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 pts), ternaries 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05dbedad3b36044cf08c57a524eb4b9e24a628b90767ca4641bd134121a3f99"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.score_prs_for_deep_analysis (cognitive 20): PRReportGenerator.score_prs_for_deep_analysis has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"79837e2198e22c8ba4e456567ff0c9041f740308448088d4130c2c8d24f2100c"}},{"ruleId":"D2","level":"warning","message":{"text":"weekly_pr_report.main (cognitive 20): weekly_pr_report.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cd3d2881da3024f556719a5f5d63d6597353c765fb6686d646f01f784d82ee"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.Resolve (cognitive 19): loader.Resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/internal/config/loader.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cd107500b416eeadfb1f48e9a03798e6c916c90b76795e53f60e8af1c9305a"}},{"ruleId":"D2","level":"warning","message":{"text":"dump.dumpGuestCluster (cognitive 19): dump.dumpGuestCluster has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 pts) (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 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":"cmd/cluster/dump/dump.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"357c73ad861b5880a415c5875f5cced6ac3121fc5466e369075307666fe59437"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.ApplyPlatformSpecifics (cognitive 19): CreateOptions.ApplyPlatformSpecifics has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (4 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":"cmd/cluster/kubevirt/create.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d60f340b7c046bae4c7a3cad7ba407b459fd0c17ef7dddc38d91b6129bf96d"}},{"ruleId":"D2","level":"warning","message":{"text":"DrOidcIamOptions.extractFromHostedCluster (cognitive 19): DrOidcIamOptions.extractFromHostedCluster has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c344f96b2f5380d31def04f7206e4662f8a145ec60184cbb8c2d763a4350e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.createNetworkResources (cognitive 19): CreateInfraOptions.createNetworkResources has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 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":"cmd/infra/azure/create.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8cef407d81974d226c94f20f19e119ec57bf7c9a805deb204050deb73fd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.getServiceInfo (cognitive 19): powervs.getServiceInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 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":"cmd/infra/powervs/create.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6e1198900b2201cd838645d2d42832a1ba62ab0d83c8d0b5684ff7494c3d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"install.apply (cognitive 19): install.apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 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":"cmd/install/install.go"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e466442b7781b6d9cb866dcc358670796b2573d771579033dc8c3adc481d8754"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.validateExternalDNSConfig (cognitive 19): Options.validateExternalDNSConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d607d9b7e1a64a0f93b9f48b2c113ac27e4f8dfd33a798ebce990db222266da3"}},{"ruleId":"D2","level":"warning","message":{"text":"kubeconfig.buildCombinedConfig (cognitive 19): kubeconfig.buildCombinedConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubeconfig/create.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c88330b634239f6c92fbf619d89de02ed2a9af17c263c0dd9bfaa1e3b2d8914"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOptions.validateCluster (cognitive 19): CreateOptions.validateCluster has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 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":"cmd/oadp/restore.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d5af994f28cc01d481efea74184da1a35ad1f2ce4eacaa3c8f84500b62bbcb"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSEndpointServiceReconciler.deleteSecurityGroup (cognitive 19): AWSEndpointServiceReconciler.deleteSecurityGroup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b2a4da60692bb799640ee237be3cf5f3341e091a773425d5651fab37bcfcd0"}},{"ruleId":"D2","level":"warning","message":{"text":"azureprivatelinkservice.baseDomainFromServices (cognitive 19): azureprivatelinkservice.baseDomainFromServices has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/azureprivatelinkservice/observer.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa57fc9b5ef6c3cd0586b557d2baf3ee5b095a6547a00643532f44590c75169"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileOLMAndMiscCerts (cognitive 19): HostedControlPlaneReconciler.reconcileOLMAndMiscCerts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479af75edc66e73d587d76f26829253d284ad2c858136ab17c624241b746104"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.ReconcileInfrastructureStatus (cognitive 19): Reconciler.ReconcileInfrastructureStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (19 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f365f2e24d1f7f4614c7da3b0a01c55526c4d415b1da6dcef9192c16ab05180b"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.ReconcileServiceStatus (cognitive 19): kas.ReconcileServiceStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (5 pts), boolean chains 4 (nesting depth added 7). 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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3291500c6152215359c78187164bf2556e1f274a5bd4635d21439d00e15942"}},{"ruleId":"D2","level":"warning","message":{"text":"cno.checkOperandsRolloutStatus (cognitive 19): cno.checkOperandsRolloutStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2070deb78351c9f760e8c15892968b84ab959496354fd42e91d4d42fb7c5881c"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.Reconcile (cognitive 19): reconciler.Reconcile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7183e7aa3f12d7c29ef6e527c97c5c698caa5e7c79e241a39a4348276ad134f"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.syncCertificateRevocationRequest (cognitive 19): CertificateRevocationController.syncCertificateRevocationRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460d66c1956beb70fe6bec6a6909fa0b284e0e5ddd6a675b42141688a65d1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateRevocationController.verifyCertificateAgainstAllKASPods (cognitive 19): CertificateRevocationController.verifyCertificateAgainstAllKASPods has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2, 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3961c162f7d6a12a70e735b3ad262b9c231bc637a6a3fcd31172bd5cd5a3dd52"}},{"ruleId":"D2","level":"warning","message":{"text":"main.removeUnusedImports (cognitive 19): main.removeUnusedImports has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 3 (4 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":"hack/copy-capi-types/main.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"058accad94e0adc9525fe61413ec3f4a25a4b4e1f1966d17308333356d2f3f5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigMapWebhookHandler.Handle (cognitive 19): ConfigMapWebhookHandler.Handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a940708760bd45a5e4133d811f617a5d65254de79f95e995feff0fc96b6f79"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.validateAWSConfig (cognitive 19): HostedClusterReconciler.validateAWSConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56601abcd6ec4cb9a894e04baf38e467521b30b327f201b27bd5031a7faf534"}},{"ruleId":"D2","level":"warning","message":{"text":"haproxy.shouldSkipProxyForKAS (cognitive 19): haproxy.shouldSkipProxyForKAS has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eca6704c98be47a4b2ae8ac9c402e0744de3002954a12ed91733a1bdbfd241"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigGenerator.doParse (cognitive 19): ConfigGenerator.doParse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (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":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e4f57ebf3e78e0f8775f8a2acdd7f4f69f9d94bcde498fc34f2d5c55227715"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.deleteKubeVirtCache (cognitive 19): NodePoolReconciler.deleteKubeVirtCache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"282292d033e402a51d88912744278c606146363f60ddbe6aa460550f3813af2b"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.Reconcile (cognitive 19): GCPPrivateServiceConnectReconciler.Reconcile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 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":"hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94fa91f65802e92e26deb88699eb11fbc94fd0477cddc788050dec62f7b98ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DedicatedServingComponentSchedulerAndSizer.backfillOrClaimNodes (cognitive 19): DedicatedServingComponentSchedulerAndSizer.backfillOrClaimNodes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (5 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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def4b8fbe9ba3adb67fc7352cce3d7f978c75cdec0caea2ef820c33068b83de"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdClientPool.Get (cognitive 19): EtcdClientPool.Get has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (5 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/etcdcli/etcdcli_pool.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"976d7f77b61227982b781c16c82aa8c319accba88760eb76f86091ed49cb472a"}},{"ruleId":"D2","level":"warning","message":{"text":"konnectivityproxy.resolveAllIPs (cognitive 19): konnectivityproxy.resolveAllIPs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 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":"support/konnectivityproxy/resolver.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"5329a9e1c5305a0a3b6c641837eb5e86b47b00c7d2944df1d13abb966935fd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.DefaultNoProxy (cognitive 19): proxy.DefaultNoProxy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (5 pts), match/switch 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":"support/proxy/no_proxy.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a549ff490c2309f6c75e005b7d05c8b2d1df0bbd4236fa3ac23e62346c18bb73"}},{"ruleId":"D2","level":"warning","message":{"text":"guestcluster.run (cognitive 19): guestcluster.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). Of this number, 12 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":"hack/tools/hypershiftlinter/analyzers/guestcluster/guestcluster.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d64ab02633a7d792d9d59ea40c6556553268e8a5805dddb6b3ff17b0918cb32"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_ownership.top_level_group (cognitive 19): generate_ownership.top_level_group has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, 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":"skills/restructure-commits/generate_ownership.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fdc45a710a439f1c5717b8af9b4ae0288033d9b21817761ec60938d9ee29c5"}},{"ruleId":"D2","level":"warning","message":{"text":"core.parseEtcdShardResources (cognitive 18): core.parseEtcdShardResources has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 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":"cmd/cluster/core/etcd_shards.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6692e1a139d8a64195250f0bda4d1725bf5cc37a3fd8baa0c1d9e592592767"}},{"ruleId":"D2","level":"warning","message":{"text":"dump.gatherNetworkLogs (cognitive 18): dump.gatherNetworkLogs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4ee1f212021371ccb0a4cf6f632a3be4dd32d01b48c8c8a602e7be0464b701"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.CreatePrivateZone (cognitive 18): CreateInfraOptions.CreatePrivateZone has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/route53.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"528ed2fec00f00cbed2eeadfb9edbb023dc7e7bb7d4d6c88bd26edef31c5c510"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyVPCs (cognitive 18): DestroyInfraOptions.DestroyVPCs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5486103f5ac7d6e728e1185203a71b5f7b7fbeec6b28f51d8573d0b9ac95ef98"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperShiftOperatorDeployment.buildEnvVars (cognitive 18): HyperShiftOperatorDeployment.buildEnvVars has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 1, 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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c729ed7252202fe6fc185a556e3deca0770146968de2117068583fd322a84ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"install.render (cognitive 18): install.render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install_render.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cab63951c2a9ed8ca969799ed2a1f19de7dee6bd73d9d76aad2a4f36f8b13b"}},{"ruleId":"D2","level":"warning","message":{"text":"util.apply (cognitive 18): util.apply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 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":"cmd/util/params.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"add6d2ccbf25e69cf5c881e26d233eb1842f5658e93494e8332d8785b301eea1"}},{"ruleId":"D2","level":"warning","message":{"text":"main.selectCandidates (cognitive 18): main.selectCandidates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, 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":"contrib/azure-orphaned-role-assignments/main.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f74c2f267fb31c1fd6f66f441016beacb16a6a710112a60422940091192a8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"azureprivatelinkservice.extractPrivateEndpointIP (cognitive 18): azureprivatelinkservice.extractPrivateEndpointIP has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fea12a467c5dbf15b86abcf6dad92e0756b1df822750fd24aa982c75be4006d"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcontrolplane.createAWSDefaultSecurityGroup (cognitive 18): hostedcontrolplane.createAWSDefaultSecurityGroup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eecc9da9a840f2b728a830225bf58a4a0bbc231440dd2bcfe0e92538b835dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileEtcdCerts (cognitive 18): HostedControlPlaneReconciler.reconcileEtcdCerts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5697e03dafd587803bf84dc8dfe1d6c6809845bce64a58a32d1c6fbe8e8af7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ignitionserver.adaptServingCertSecret (cognitive 18): ignitionserver.adaptServingCertSecret has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, match/switch 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":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/pki.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"225e4dae6cb9f7701d2ccdac13d4b7f1296b326259de76121525b83148ce2e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ignitionserverproxy.adaptHAProxyConfig (cognitive 18): ignitionserverproxy.adaptHAProxyConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, 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":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/deployment.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"19edbc261ab70929ad0abc1cf99ac1b1d059cd02655e44888b6045dcc5673c07"}},{"ruleId":"D2","level":"warning","message":{"text":"inputResourceInitializer.checkSupportedInputResources (cognitive 18): inputResourceInitializer.checkSupportedInputResources has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 9 points are the body\u0027s own statements and 9 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":"control-plane-operator/controllers/openshiftmanager/input_resource_initializer.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"685648a06af3cb8908e3c0b3126b8a461b46cbdc78e7d9fe02bb4f3dd74c1dac"}},{"ruleId":"D2","level":"warning","message":{"text":"metricsproxy.buildTLSConfigFromFiles (cognitive 18): metricsproxy.buildTLSConfigFromFiles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/metrics-proxy/config_reader.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdbd7c73f0e4ee2dd1e6b4c2a222e487230320c8397175f0125e83329c10b32"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdrecovery.checkEtcdStatus (cognitive 18): etcdrecovery.checkEtcdStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), match/switch 2, 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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"74372384a3d9a17f938f8dbec46516d77bdc0ef2ae8627553598de7c55e745a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PodWebhookHandler.Handle (cognitive 18): PodWebhookHandler.Handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/pod_webhook.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"347cfaea66f205c50f83c0ae068ead97344409c4b573e37f131a19e99917c7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotReconciler.manageRetention (cognitive 18): SnapshotReconciler.manageRetention has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 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":"hypershift-operator/controllers/auditlogpersistence/snapshot_controller.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e057da85a35394499acf94716e6a899e9987120d81323cc4a585e1615964f43"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.handleExistingEtcdRecoveryJob (cognitive 18): HostedClusterReconciler.handleExistingEtcdRecoveryJob has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 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":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a19bc202c01bae20547e7ee01cd4b1432585c70943a3d56552cf8da3bf2ea"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileAWSOIDCDocuments (cognitive 18): HostedClusterReconciler.reconcileAWSOIDCDocuments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffd2ec3f209ecb0d0bb3e11b4920f3d99882842dc55ee661b13cbd02edd75a9"}},{"ruleId":"D2","level":"warning","message":{"text":"gcp.ComputeGCPCredentialConditions (cognitive 18): gcp.ComputeGCPCredentialConditions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb29868fa4fc2c8a62a9162fc660b704133088b56c8721707f53f36ed5231a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ignitionpayload.parse (cognitive 18): ignitionpayload.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"da69ce3f5aaf4fc77163156d5ea173e74c3652ae129460de8bbd535a2ed63634"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.propagateLabelsAndTaintsToMachines (cognitive 18): CAPI.propagateLabelsAndTaintsToMachines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). 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 585). 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20c4cbbbd80f8f3424b544e3333f87e595c1fe08c9d835dcd4df44e068dbc49"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.setAllNodesHealthyCondition (cognitive 18): NodePoolReconciler.setAllNodesHealthyCondition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e80b4cf1cfb2578ba97b561d858677b2a0c1e742750ff0bde56126a71c6ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.hostedClusterMachineSetsToScaleDown (cognitive 18): scheduler.hostedClusterMachineSetsToScaleDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8441271ca0c62435ca572739f2967b278452a35ef12dd4cd85630c8ef4f091e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.SetupWithManager (cognitive 18): Reconciler.SetupWithManager has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, match/switch 1. Of this number, 10 points are the body\u0027s own statements and 8 belong to 5 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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc456e8c4bead1841a3ff3cb9916cda3975751c7f56e71da0762d3a8c6e1d91f"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeclass.setAWSResourceTagConflictCondition (cognitive 18): nodeclass.setAWSResourceTagConflictCondition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f03d0e9a9593b2df5aba598b5ddcc4fe99736c3dd4d85084838c62163c7a7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"controlPlaneWorkload.applyRequestsOverrides (cognitive 18): controlPlaneWorkload.applyRequestsOverrides has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (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":"support/controlplane-component/defaults.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ccfcbea2beda6845da4d0e068ee1213936edf57dff408d36c3d76f31a3158"}},{"ruleId":"D2","level":"warning","message":{"text":"globalconfig.getImageContentSourcePolicies (cognitive 18): globalconfig.getImageContentSourcePolicies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/globalconfig/imagecontentsource.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e6bc12a7b27b0f32a13a7c42f3d56dc4fd997a66094f95167996bcbd05bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"globalconfig.ReconcileNetworkConfig (cognitive 18): globalconfig.ReconcileNetworkConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 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":"support/globalconfig/network.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c7fc898f3dc2ad4546925fa5de6416eca3d6861c553e00fad1ff1084d6ce99"}},{"ruleId":"D2","level":"warning","message":{"text":"oadp.VerifyDPAStatus (cognitive 18): oadp.VerifyDPAStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/oadp/validate.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c39f1e8f05a114db42a357c50d4e83412c3a157afab19313a3681e8c77d16c"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalPullSecretSyncer.checkAndFixFile (cognitive 18): GlobalPullSecretSyncer.checkAndFixFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync-global-pullsecret/sync-global-pullsecret.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78f98ea532552c7de086b5f0eb5b90c72feaf839c571b613a0971cf58155d77"}},{"ruleId":"D2","level":"warning","message":{"text":"main.updateTagAndCommitSHA (cognitive 18): main.updateTagAndCommitSHA has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, 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":"hack/tools/deployment/deployment-update.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5932def678cbfb00d250ec0fcfd44fa47bd2bd7278fa06a589d6ccc16cf42d4"}},{"ruleId":"D2","level":"warning","message":{"text":"PRReportGenerator.fetch_prs_graphql (cognitive 18): PRReportGenerator.fetch_prs_graphql has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4bb4c19bf8c0afc3aca7f8017c7a5227a2354ac8ec82d29e5554e2ab362329"}},{"ruleId":"D2","level":"warning","message":{"text":"ho_release_gate.evaluate_gate (cognitive 18): ho_release_gate.evaluate_gate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts), error handling 1, ternaries 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":".tekton/lib/ho_release_gate.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ec13c9d382682f4ce1f0b2c64c3bb2598c78b876d71f1b29ce7ec9b22fd91"}},{"ruleId":"D2","level":"warning","message":{"text":"configrefs.authenticationSecretRefs (cognitive 17): configrefs.authenticationSecretRefs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 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":"api/util/configrefs/refs.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1099abd5646545c1fd5f3ecc08f66ffd322e810f2580ea162eaca193d8218558"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.getConfig (cognitive 17): loader.getConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, 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":"contrib/gomaxprocs-webhook/internal/config/loader.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0e04c00c710dae12eff3714bd3a6d07cd11369844d0b63eb1c61f636d3ebdd"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCreateOptions.Validate (cognitive 17): RawCreateOptions.Validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 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":"cmd/cluster/openstack/create.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"484a73577f502d9b3a129b725e76fb2e67198959b5392c11127e39409d409fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.collectSerialConsoleLog (cognitive 17): azure.collectSerialConsoleLog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/azure/getlogs.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03538f25186732f9ff06c464ba22a3e81479ade500cc06efd985cdf4688537a"}},{"ruleId":"D2","level":"warning","message":{"text":"DrOidcIamOptions.ensureOIDCBucket (cognitive 17): DrOidcIamOptions.ensureOIDCBucket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ff74f5a727e50c1a736e6bf3262185e0ea6214fda9e00e46b2c3565aad025b"}},{"ruleId":"D2","level":"warning","message":{"text":"install.openshiftTemplate (cognitive 17): install.openshiftTemplate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install_render.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916d26772c72dd0da7e46b289a056c11124f5f1795ff8040fc5cc4f965639a1"}},{"ruleId":"D2","level":"warning","message":{"text":"oadp.validateList (cognitive 17): oadp.validateList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 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":"cmd/oadp/schedule.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9cafd9675672688efb93bbd3603f8c0311f73b39f1900b7834c1babdb8ae18"}},{"ruleId":"D2","level":"warning","message":{"text":"GCPPrivateServiceConnectReconciler.reconcileDNS (cognitive 17): GCPPrivateServiceConnectReconciler.reconcileDNS has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2, 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9248f806ea87f875e0c61e76eef2d9d4338c688e50c78463c0c9d17e842a57d5"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedControlPlaneReconciler.reconcileAWSPlatformCerts (cognitive 17): HostedControlPlaneReconciler.reconcileAWSPlatformCerts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeb3dd8ad8efb5a683ae829cf9bd5d9cc5dc756c993d3b0f0e96789d8649e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.AdmitHCPManagedRoutes (cognitive 17): Reconciler.AdmitHCPManagedRoutes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"901b3e33b5034477eaadfdda0e907894619e1bfd37859b7ad47dd022523f1fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.adaptConfig (cognitive 17): aws.adaptConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/config.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5703ab301724f15943fc5888ec644eb275a4a792e8752726567535c906ec14f"}},{"ruleId":"D2","level":"warning","message":{"text":"KarpenterOperatorOptions.adaptStandaloneDeployment (cognitive 17): KarpenterOperatorOptions.adaptStandaloneDeployment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). Of this number, 14 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":"control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f768c3278af0c41081d749e08f1584e4d5ed727429789f751133c2d0a1a161fb"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.checkExternalOIDCWebhookMigration (cognitive 17): kas.checkExternalOIDCWebhookMigration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/component.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ec69f3222164424927e581ea0edfbaf64295351d966d85838263027ecea8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"metricsproxy.collectSecretOrConfigMapRef (cognitive 17): metricsproxy.collectSecretOrConfigMapRef has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (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":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe73f5b273502382fb612e1e0092df8c468ad02f5176e713d10c36f9dfc0bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.Reconcile (cognitive 17): reconciler.Reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). 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: 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":"control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a78051a6ac326c6c596b04745ce7c42dd58321f8271f9f1578329c479deab24"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration.ReconcileObserved (cognitive 17): configuration.ReconcileObserved has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 34). 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/configuration/observed.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a06e6bf88953b655e52007908da8336032c4a4e60a13268079b1fdb509ace"}},{"ruleId":"D2","level":"warning","message":{"text":"gcp.reconcileGCPCredentials (cognitive 17): gcp.reconcileGCPCredentials has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/gcp/gcp.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3ee1623913e896dca78bd85dc44fcd7139945557e5c2c5cd0cfb3dba541eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.cleanupResources (cognitive 17): resources.cleanupResources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b28034cf95b697855ed3fcb48f57e4152e8ffb91d0e4704c621262e8e223e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress.ReconcileDefaultIngressController (cognitive 17): ingress.ReconcileDefaultIngressController has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/ingress/reconcile.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b2723952b319561c5e2f101f2feccec950ed3253f9e900cd3244ba82ec7f07"}},{"ruleId":"D2","level":"warning","message":{"text":"main.writeLocalizedPackage (cognitive 17): main.writeLocalizedPackage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (5 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"hack/copy-capi-types/main.go"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e3cf375f4719841b4ce96b4873914eba62e0e59f021de6bb4464df5873147a"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileGCPOIDCDocuments (cognitive 17): HostedClusterReconciler.reconcileGCPOIDCDocuments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 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":"hypershift-operator/controllers/hostedcluster/gcp_oidc.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c8bc66259b3379638ebb8d0d5d2e6c8a7cc38169ac09a3423424661a82abe0"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileGlobalConfigSync (cognitive 17): HostedClusterReconciler.reconcileGlobalConfigSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3002bd47f406da06c47d1432009d539429958de0d2a0af22876bd0290fe56f63"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileKubeadminPasswordSync (cognitive 17): HostedClusterReconciler.reconcileKubeadminPasswordSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts) (nesting depth added 8). 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2573}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a094bcb140fae28ea38a00f9a82b9f8ffef70203bf33beb7d359f02b9b9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.validateConfigAndClusterCapabilities (cognitive 17): HostedClusterReconciler.validateConfigAndClusterCapabilities 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c854c9e7219c7581f8a9169fa9dbc3d5c356cb5f35f3b447d5bfd5c42639f426"}},{"ruleId":"D2","level":"warning","message":{"text":"AWS.CAPIProviderDeploymentSpec (cognitive 17): AWS.CAPIProviderDeploymentSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae98b177be4e2e1d8dea0fd3d1102c4fe3e184d89c7f453841e85c6a40cf98b"}},{"ruleId":"D2","level":"warning","message":{"text":"Azure.DeleteOrphanedMachines (cognitive 17): Azure.DeleteOrphanedMachines 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":"hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24ad291733a8cd275c8b24af18b81d38dee1de64cf0e5282da76dc165748520"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.reconcileMachineHealthCheck (cognitive 17): CAPI.reconcileMachineHealthCheck has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea128f7f7ce03d6d7163010ef5a513a19c442f27b4ec6c362c3d85ee6fddf17d"}},{"ruleId":"D2","level":"warning","message":{"text":"kubevirt.PlatformValidation (cognitive 17): kubevirt.PlatformValidation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"384b558a27f94d2cc0a100bab1444ff21427b1dbd47a4d22c03c34b5b8d7921e"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.setAWSConditions (cognitive 17): NodePoolReconciler.setAWSConditions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfb667a795e66d32ca31d39403e25b1a9334e8d42d06e5058637c432eec6c20"}},{"ruleId":"D2","level":"warning","message":{"text":"NodePoolReconciler.setKubevirtConditions (cognitive 17): NodePoolReconciler.setKubevirtConditions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a545305560ca2eeac4e95e37f353af178f6093d034c6b3205d35282f16a533"}},{"ruleId":"D2","level":"warning","message":{"text":"Token.reconcileTokenSecret (cognitive 17): Token.reconcileTokenSecret has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4560f6c24babdf188c54d6b69d5858980cb4cd9e25b6134151d4f5510b907e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setupSupportControllers (cognitive 17): main.setupSupportControllers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 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":"hypershift-operator/main.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8c1e17a3494a18ef4832ed7702d05c44ca9c2e63feb6dcab9795642287774"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.run (cognitive 17): cmd.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 2 (nesting depth added 1). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 246, 235, 324). 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":"ignition-server/cmd/start.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b3317e4fa8a68336f749e3ab2bddd128b067755c3a573c3467c594179ddbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.Reconcile (cognitive 17): Reconciler.Reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be9290903db85da52cd60b530a06de9494f33d7a67a942ff5c43d77f7e26c15"}},{"ruleId":"D2","level":"warning","message":{"text":"main.waitForKarpenterCRDs (cognitive 17): main.waitForKarpenterCRDs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (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 one function literal inside it that branches (line 46). 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":"karpenter-operator/crd_wait.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a632e01e96a8892d16ff4fc542b85dcc5aa3de17c980f2c23d7f6dc2f479b1"}},{"ruleId":"D2","level":"warning","message":{"text":"globalconfig.defaultProxyStatus (cognitive 17): globalconfig.defaultProxyStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/globalconfig/proxy.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92c03a81e7843c2612dbcbc9a6cf158f2e94465bfb7f22eb2576d3ad7195721"}},{"ruleId":"D2","level":"warning","message":{"text":"imageregistry.LookupMappedImage (cognitive 17): imageregistry.LookupMappedImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 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":"support/imageregistry/imagemapping.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bfbbb97b3e394ee5c2bde42b97aa92f1714c2f9f57297aa5dea657b700f1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"secretencryption.KeyStatusFromSpec (cognitive 17): secretencryption.KeyStatusFromSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 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":"support/secretencryption/keystatus.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"599a29b9d4bfcf36631fb04eede84527860c68eb3fee330d68bed61e0ffcf90c"}},{"ruleId":"D2","level":"warning","message":{"text":"JiraClient._parse_issue (cognitive 17): JiraClient._parse_issue has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 3, error handling 2, 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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6c1a1cbca07831de63f45868f874148b31886b9142fef1fa0a2c7399aafd75"}},{"ruleId":"D2","level":"warning","message":{"text":"JiraClient._build_hierarchy_dict (cognitive 17): JiraClient._build_hierarchy_dict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 5, loops 2 (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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884c1523c0018e40caea186d322bcf04c3449a3e8ec97f995d014e4f2b130f1"}},{"ruleId":"D2","level":"warning","message":{"text":"TrustedTasksData.get_latest_trusted (cognitive 17): TrustedTasksData.get_latest_trusted has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (7 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":"hack/tools/scripts/update_trusted_task_bundles.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a0c7e0badc0d5e3f6e8009c90bbf1ab25a268e0b22073ca4b9e8ac7c5ba9ff"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.getEC2Instances (cognitive 16): aws.getEC2Instances has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (7 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":"cmd/consolelogs/aws/getlogs.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8f6aef8a7327de62b5c65f302d87e1c227f3723d8680f7e2cb43bcf2c76e9"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateInfraOptions.CreatePrivateRouteTable (cognitive 16): CreateInfraOptions.CreatePrivateRouteTable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). Of this number, 14 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":"cmd/infra/aws/ec2.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"830210c9842156afdfbccbd91611dffcbd8c83fa26b1046e62c085e3de0252e3"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.APIsByDelegatedServices (cognitive 16): aws.APIsByDelegatedServices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/iam_policies.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"310c70dbf4a64cfe4e2e775b01db5b7e25bbddc3b819003ce39ab3fe15631735"}},{"ruleId":"D2","level":"warning","message":{"text":"DestroyInfraOptions.DestroyS3Buckets (cognitive 16): DestroyInfraOptions.DestroyS3Buckets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 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":"cmd/infra/aws/destroy.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb40911fb59c814bbf2ad891d97361cc0c4a23a173681a462b66cf4708474c"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.assessVirtualNetworkLinkStates (cognitive 16): azure.assessVirtualNetworkLinkStates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 5, match/switch 2 (4 pts) (nesting depth added 2). 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/infra/azure/networking.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"61385f29e8d23bba3bf61eb686315a82fbcfe50b0199d8c2582be20658aca9a3"}},{"ruleId":"D2","level":"warning","message":{"text":"IAMManager.retryWithExponentialBackoff (cognitive 16): IAMManager.retryWithExponentialBackoff has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 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":"cmd/infra/gcp/iam.go"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd707a17ea9ee92b9bcd6738754ac5212e8a28f1f345cb1fe2d533bfa7796562"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.destroyVpc (cognitive 16): powervs.destroyVpc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 481). 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/infra/powervs/destroy.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3636dd34b7595160cac6114d21620b88206d29d7bfa928d0b5b5331dfc094e13"}},{"ruleId":"D2","level":"warning","message":{"text":"powervs.destroyVpcSubnet (cognitive 16): powervs.destroyVpcSubnet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 530). 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/infra/powervs/destroy.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"9422a47f7ef21095fe1755d8569a439ff00debce957aa1f8c2808531ee73cc49"}},{"ruleId":"D2","level":"warning","message":{"text":"Infra.setupPowerVSDHCP (cognitive 16): Infra.setupPowerVSDHCP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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":"cmd/infra/powervs/create.go"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c41c3d806bd076873f77f16b3113dd175565c17ef91dc9870839d8637d135c"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateNodePoolOptions.CreateNodePool (cognitive 16): CreateNodePoolOptions.CreateNodePool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 2). 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":"cmd/nodepool/core/create.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5541036e53f8128704b8cf49f8a43dd2564376affa46110af200cf788d5d58"}},{"ruleId":"D2","level":"warning","message":{"text":"RawKubevirtPlatformCreateOptions.Validate (cognitive 16): RawKubevirtPlatformCreateOptions.Validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/kubevirt/create.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f910944b82ec52ed5c359a90b104d2ce85652f5cf79751c2d5ec89f123956"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatedKubevirtPlatformCreateOptions.Complete (cognitive 16): ValidatedKubevirtPlatformCreateOptions.Complete has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2, match/switch 2, 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":"cmd/nodepool/kubevirt/create.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"11728e67f2c315f828e9b8ecdba6fbdfea961b6710a08510a0f9ff5777db704c"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletedKubevirtPlatformCreateOptions.NodePoolPlatform (cognitive 16): CompletedKubevirtPlatformCreateOptions.NodePoolPlatform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 1 (2 pts) (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":"cmd/nodepool/kubevirt/create.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"090a07984f5bc4c4d5612786a96854b9a7a44e5c38b704b6f157c1914b07e8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"awsprivatelink.diffIDs (cognitive 16): awsprivatelink.diffIDs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (6 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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"55273de61a85d05426a034725ae041ed27ddcfc26ea81a33d5ec01d6b732779e"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceReconciler.deleteBaseDomainARecords (cognitive 16): AzurePrivateLinkServiceReconciler.deleteBaseDomainARecords has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), 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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e9cd105c7992470e0516d8eb99aa8956926325d2f8673f0c6dda46a9c1f84"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.convertOpenIDIDP (cognitive 16): oauth.convertOpenIDIDP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 1 (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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"922054719c084c83e94f7b3de56960a8a1716f509c908edce848341a98ad1a17"}},{"ruleId":"D2","level":"warning","message":{"text":"autoscaler.autoscalerArgs (cognitive 16): autoscaler.autoscalerArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 4). 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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/deployment.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"268fb456e6b0b2a609318275a6d62ab2773defdf3c7a56422f8ddb2098e0db92"}},{"ruleId":"D2","level":"warning","message":{"text":"kas.generateUsernameClaimMappingWithParity (cognitive 16): kas.generateUsernameClaimMappingWithParity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"09572f307ae01a2c01224221d23885f4378c9ab938375246941f5742109c6e11"}},{"ruleId":"D2","level":"warning","message":{"text":"oapi.adaptConfig (cognitive 16): oapi.adaptConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 2). 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b1fb147d274d01cc8c0f31876c7630a769bbb94bbb9f28615f08b012cd7ed"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.convertOpenIDIDP (cognitive 16): oauth.convertOpenIDIDP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 1 (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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"963194b12668161220f02f80578dbeca5c0d68155bd82dc07ce59ede3342fe1d"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.checkOperandsRolloutStatus (cognitive 16): storage.checkOperandsRolloutStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), 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":"control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0fa7c0c275772f94ad40492cda9575fafd1b91614b7c25a8434ba73ce5178"}},{"ruleId":"D2","level":"warning","message":{"text":"hcpStatusReconciler.reconcile (cognitive 16): hcpStatusReconciler.reconcile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, 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":"control-plane-operator/hostedclusterconfigoperator/controllers/hcpstatus/hcpstatus.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e14b4095faef58ecef3403ef1406d55aad6d52226c74b8456736a82d0dc9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress.NewIngressParams (cognitive 16): ingress.NewIngressParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/ingress/params.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ecddb61ca82c783d352c3cd56bdb320f0ff6ef5e817dfaa45e0ce59e0f2c35"}},{"ruleId":"D2","level":"warning","message":{"text":"network.applyOVNConfig (cognitive 16): network.applyOVNConfig 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/network/reconcile.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6976e13e3d7502fbffc18f3b58d206b4d456d7b0e5a04a10147d9797a3793b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.ReconcileRegistryConfig (cognitive 16): registry.ReconcileRegistryConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/registry/registry.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"795daca58a5c6a365ec9e93494bd36f9d6ead93e7f6be8c9bd33823a0436bab2"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedcluster.validateJsonAnnotation (cognitive 16): hostedcluster.validateJsonAnnotation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_webhook.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"450e17ecd2d93405f5ff44282c7737ffbfe1b9a4f0403037993bc8a35989fc0d"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.detectAndTriggerEtcdRecovery (cognitive 16): HostedClusterReconciler.detectAndTriggerEtcdRecovery has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02a112377a70d06c6fba07e9a2baf9e0839c49ca76fd8c0368d47d41d10b4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.etcdRecoveryJobStatus (cognitive 16): HostedClusterReconciler.etcdRecoveryJobStatus 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":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aff38b30a34b27661f2b062b9720303811fcaf942acd5c1ca256ddcc4be23c"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedClusterReconciler.reconcileIngressDefaultCertSync (cognitive 16): HostedClusterReconciler.reconcileIngressDefaultCertSync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb0e5431456c9c7c9c6e0ab28eae2036729604589419b6c6228d62e5f30da02"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenStack.CAPIProviderDeploymentSpec (cognitive 16): OpenStack.CAPIProviderDeploymentSpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c4642f419878a8729790a89af8e9428bbca17c3752018cb45081baa4599ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"hostedclustersizing.SetupWithManager (cognitive 16): hostedclustersizing.SetupWithManager has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. 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":"hypershift-operator/controllers/hostedclustersizing/setup.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4128a6b776c72acde8dab0bd05fb5135bab0bc2278467c9eeb6da8845de9ec43"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.applyAWSPlacementOptions (cognitive 16): nodepool.applyAWSPlacementOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (4 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":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c391d416f980f0a39714c1d35a467ca087e264cf09435eef2c95bdce3dfbe9"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.defaultAzureNodePoolImage (cognitive 16): nodepool.defaultAzureNodePoolImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/azure.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb36e8b41b24c4e419ad8b888fec1378e6e4c7f1c0d5e2eedbb07780ef4ac4d0"}},{"ruleId":"D2","level":"warning","message":{"text":"nodepool.NewConfigGenerator (cognitive 16): nodepool.NewConfigGenerator has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8fe64508bae66232c0ab510849a1efd44921c9f5c0bd16594301be15a1789"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.propagateVersionAndTemplateToMachineSet (cognitive 16): CAPI.propagateVersionAndTemplateToMachineSet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a7a1254736b5e23d697f71f409a4b8c23e84205bd5a437415b820376fc144b"}},{"ruleId":"D2","level":"warning","message":{"text":"CAPI.reconcileMachineSet (cognitive 16): CAPI.reconcileMachineSet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28297fc291e8ab9e201d4334e4c2c87ec7ef761a975a72ee971a1a70efd96b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceController.rejectPrivateEndpointConnections (cognitive 16): AzurePrivateLinkServiceController.rejectPrivateEndpointConnections has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, match/switch 1 (2 pts), 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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"443a1d207a13c9ca3a8cb56c35598bfb00d3a3e2b1d6bc0d92eae6cf0aad836b"}},{"ruleId":"D2","level":"warning","message":{"text":"AzurePrivateLinkServiceController.findAvailableCIDR (cognitive 16): AzurePrivateLinkServiceController.findAvailableCIDR has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda24f8463b5cb3fa5b8bbed3f1e8d3bdb754bcff053972424a6a2bc5adc458c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setupSchedulerControllers (cognitive 16): main.setupSchedulerControllers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"hypershift-operator/main.go"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"50addff7c844c8fd8f1fa21fdcd8bcda8e0a1cd01c7fa27303db04569c83706b"}},{"ruleId":"D2","level":"warning","message":{"text":"KarpenterIgnitionReconciler.reconcileNodeClassToken (cognitive 16): KarpenterIgnitionReconciler.reconcileNodeClassToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7689d1e3abb61fa108801707588721db7c02ea790a44b661fc131a7fe5335e"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeclass.reconcileEC2NodeClass (cognitive 16): nodeclass.reconcileEC2NodeClass has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 3). 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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"210e82260930a424724a636fdd78678a47017a7ee7db9b9bb18677c86d177d43"}},{"ruleId":"D2","level":"warning","message":{"text":"EC2NodeClassReconciler.reconcileKarpenterSubnetsConfigMap (cognitive 16): EC2NodeClassReconciler.reconcileKarpenterSubnetsConfigMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts) (nesting depth added 5). Of this number, 13 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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a4ee0ba93beb067cde783b523ed3bec21d319a26a36af8be45e36aaa87190d"}},{"ruleId":"D2","level":"warning","message":{"text":"kasbootstrap.reconcileFeatureGate (cognitive 16): kasbootstrap.reconcileFeatureGate 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":"kas-bootstrap/kas_boostrap.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc4ae0ca8d24b123902c2d9c2ce247d06788ebb314441b6d8b8c5bf8a98f0bf"}},{"ruleId":"D2","level":"warning","message":{"text":"sharedingressconfiggenerator.getBackendsForHostedCluster (cognitive 16): sharedingressconfiggenerator.getBackendsForHostedCluster has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), match/switch 1 (2 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":"sharedingress-config-generator/config.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd7bd888d2f101404183cddb029b4d370c4fa3305868b6bf92b3ead9c333be"}},{"ruleId":"D2","level":"warning","message":{"text":"azureutil.GetKeyVaultDNSSuffix (cognitive 16): azureutil.GetKeyVaultDNSSuffix has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (nesting depth added 7). 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":"support/azureutil/azureutil.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c08ec83b604d7bc4db338305c71049d9caff37b3992b255a11fb32a72107dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"gcputil.ReconcileLBResourceLabelAnnotations (cognitive 16): gcputil.ReconcileLBResourceLabelAnnotations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/gcputil/gcputil.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f9420ce5624b7aaf542682fadc304ca76c3903122d28e92c5540dbf2e5122f"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.Validate (cognitive 16): Options.Validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. 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":"support/konnectivityproxy/dialer.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94f7aec1c0b22063a368fb6062f2b5bc5a22eba9d20bc08545559ee5fb478cb"}},{"ruleId":"D2","level":"warning","message":{"text":"konnectivityProxy.DialContext (cognitive 16): konnectivityProxy.DialContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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":"support/konnectivityproxy/dialer.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1d8837ae51842101cd1d756112fb7f6aa723d750ff303daaed4a17091ffc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderWithOpenShiftImageRegistryOverridesDecorator.Lookup (cognitive 16): ProviderWithOpenShiftImageRegistryOverridesDecorator.Lookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 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":"support/releaseinfo/registry_image_content_policies.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68404012172115f203ffffa6208a8e263cb97cafef3b886c87bdc384329e72f"}},{"ruleId":"D2","level":"warning","message":{"text":"upsert.defaultPodSpec (cognitive 16): upsert.defaultPodSpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/upsert/upsert.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb25dc825dc0568f54a43f63140053a6080b5d0ba5a906630c2ac0f8626caaa0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.sourcePath (cognitive 16): main.sourcePath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, 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":"hack/tools/deadcode-report/report.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c192a8ff7f528644f48da30d3d8ae647721b9bb1e92d7666c2e63d1ef93bf"}},{"ruleId":"D2","level":"warning","message":{"text":"hcpstatuspatch.reportUnguardedPatchConstructors (cognitive 16): hcpstatuspatch.reportUnguardedPatchConstructors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 2, loops 2, match/switch 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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb53cbc5a864769948f717668e0405ef542ca7a868cf5e22c1281550ddbfd3"}},{"ruleId":"D2","level":"warning","message":{"text":"sippyannotation.extractDescribeCall (cognitive 16): sippyannotation.extractDescribeCall has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 7). 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":"hack/tools/hypershiftlinter/analyzers/sippyannotation/sippyannotation.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f779be0f8e1bc86b8ea0dfca2d7fee7e98f137ad8270b15801a256061c33733"}},{"ruleId":"D2","level":"warning","message":{"text":"testfuncstructure.run (cognitive 16): testfuncstructure.run has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). 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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a904d95dca898726860a93c49b75f2ac51f559422e4fcfced41eb20e2f202b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.findReplacementMismatches (cognitive 16): main.findReplacementMismatches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4, boolean chains 1 (nesting depth added 4). Of this number, 13 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":"hack/tools/verify-api-deps/main.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"658a97a8d0ef630786d2e8336c8c32d81cea464a4f5bf4ada1e9b525c170cdd5"}},{"ruleId":"D2","level":"warning","message":{"text":"IngressRule.Equals (cognitive 16): IngressRule.Equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, boolean chains 2, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d70c040b9467235139cfc16f0b9ac8cba4af9665a9d5f2b41c93aa335759324"}},{"ruleId":"D2","level":"warning","message":{"text":"IngressRule.Equals (cognitive 16): IngressRule.Equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, boolean chains 2, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta2/network_types.go"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"1918bda1c7ae7ede456646dff5e0535b74daee3ac53664b9b04bf19208aac611"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostedClusterReconciler.reconcileLegacy: MethodTooLong \u2014 reconcileLegacy runs 1095 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 995 over it, 10.95\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43cfe18088c5e1af318ab4e761fec82d2d4af9f5ff9a3997baccc60bd9c8a61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hostedcluster/hostedcluster_controller.go: FileTooLong \u2014 3812 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: HostedClusterReconciler (73 blocks, 173-6427). The bar is 500 significant lines; this is 3312 over it, 7.62\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6646f71ae0d727a74d6195db7fa6fa4c8e8cbca48421978a964b142a9c794fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostedClusterReconciler.reconcile: MethodTooLong \u2014 reconcile runs 730 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 630 over it, 7.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"749641ff742731903d15e1567a6b137c59e6a6576d7a400ef8f2afcc955e430f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HostedClusterReconciler: ClassTooLong \u2014 2584 significant lines (blank, comment-only and punctuation-only lines excluded), 102 methods, 73 blocks, lines 173-6427. The bar is 400 significant lines; this is 2184 over it, 6.46\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e490f70b8c07550e9935cf944680f382a7370fb67b241098483460e4005432"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hostedcontrolplane/hostedcontrolplane_controller.go: FileTooLong \u2014 2547 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: HostedControlPlaneReconciler (69 blocks, 179-3998). The bar is 500 significant lines; this is 2047 over it, 5.09\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74df0c2261c112a67e3c4da34be6e20d9ccc5ce5e9a148e2bd6df0a981affd8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HostedControlPlaneReconciler: ClassTooLong \u2014 2037 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods, 69 blocks, lines 179-3998. The bar is 400 significant lines; this is 1637 over it, 5.09\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c06a3a9236d11f8b79b8157db03e98ae1869f4463f71f98377b239550359e87"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: reconciler: ClassTooLong \u2014 1833 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods, 53 blocks, lines 139-3370. The bar is 400 significant lines; this is 1433 over it, 4.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ae62cceeec52f385f0f6f1427011f8802fd4f07713f0a7a9c6ea352b24a62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resources/resources.go: FileTooLong \u2014 2204 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: reconciler (53 blocks, 139-3370). The bar is 500 significant lines; this is 1704 over it, 4.41\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da123fb154c5169b7048cfb25f079664e495c026e74228f34372334563e01bed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HostedClusterReconciler: TooManyMethods \u2014 102 methods, declared across 8 files: hostedcluster/hostedcluster_controller.go (73), hostedcluster/etcd_recovery.go (11), hostedcluster/network_policies.go (10), hostedcluster/karpenter.go (3), \u002B4 more file(s). The bar is 30 methods; this is 72 over it, 3.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef025191fa36a73ee6273c5c3fab0efbc10c58a7f5c0bcde245e904d9faaeaec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/hypershift_operator.go: FileTooLong \u2014 1624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1124 over it, 3.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60aed2bd1b64b475f77dcdf203eb9ea555cab7d0f5fc7a48c17cd008f2b6928"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repo_metrics/weekly_pr_report.py: FileTooLong \u2014 1468 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 968 over it, 2.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abba6dd56bb9078dfa7aca4582895278d255edec7c95beb0dfdfa92a0e8081f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Options: TooManyFields \u2014 85 stored fields beside 14 methods. The bar is 30 stored fields; this is 55 over it, 2.83\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":"cmd/install/install.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9702510eaf3b6231b0f251a9a121cdabd80611168843fb8a6fb17b1ea125932d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HostedControlPlaneReconciler: TooManyMethods \u2014 77 methods, declared across 3 files: hostedcontrolplane/hostedcontrolplane_controller.go (68), hostedcontrolplane/aws_ingress_dns.go (8), hostedcontrolplane/kas_pki_setup.go (1). The bar is 30 methods; this is 47 over it, 2.57\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"820b3952a42f657f6e54809ffaa1bd04c30374c220dfac69abb8ac191d145478"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: install/install.go: FileTooLong \u2014 1253 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 753 over it, 2.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8868f00d5521d51e65d94ae9ed06718477eaa4b0986df0258873740edb7c554"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HyperShiftOperatorClusterRole.Build: MethodTooLong \u2014 Build runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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/install/assets/hypershift_operator.go"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"428d26d57eb35895c7c7dd98c9741be1dd9c6aa1ef28735f9852c6d5722d48bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hostedcluster/reconcile_legacy.go: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: HostedClusterReconciler (56-1844). The bar is 500 significant lines; this is 639 over it, 2.28\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b972858adf36a468a9a6b284a2701fd059c3e9d3966c03ebbb7e3277f0ece7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodePoolReconciler: TooManyMethods \u2014 66 methods, declared across 11 files: nodepool/conditions.go (23), nodepool/nodepool_controller.go (22), nodepool/nto.go (5), nodepool/kubevirt.go (3), \u002B7 more file(s). The bar is 30 methods; this is 36 over it, 2.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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3588c8f74b14123c01ca97db04dd6b7be2c446832b1e6eaf42357982722484dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RawCreateOptions: TooManyFields \u2014 63 stored fields beside 7 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":"cmd/cluster/core/create.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b047ae35fbf96599b41fc32a5ac5b89f09f36ba9e34b6b51b2061685b31202a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/create.go: FileTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 462 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/core/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a061786521e8676a738276d11c3ac497815ada79c480452d4ebf8efddb4f219"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodepool/capi.go: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: CAPI (24 blocks, 54-1582). The bar is 500 significant lines; this is 461 over it, 1.92\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeb2f4f9372f3b23929e82b2271444a55f9377178ab8f3ae7a032de6226d06c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.NewStartCommand: FunctionTooLong \u2014 NewStartCommand runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"control-plane-operator/main.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"532998b82aae34fbe8a2ddd872a80e714502a64cce866742497af6917f4d0fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodepool/nodepool_controller.go: FileTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: NodePoolReconciler (23 blocks, 112-1630). The bar is 500 significant lines; this is 446 over it, 1.89\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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d01531f101ab4b6a734397a27c9afbd731852a80e29edc51f524a5fb690dfac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: awsprivatelink/awsprivatelink_controller.go: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 434 over it, 1.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db1f1c95a18c314f979556e7ea8234b243e7d9089aeb800ecbfeff1878b7b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CAPI: ClassTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods, 24 blocks, lines 54-1582. The bar is 400 significant lines; this is 332 over it, 1.83\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f3722a222a6dda982af164bcd11a42ec2b641a20630be44a3ac1c7db47440"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hypershift-operator/main.go: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3524ed7694d3807be4918b13dd3d965fefc7aa854e4c94d259f1933bbe14b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: reconciler: TooManyMethods \u2014 53 methods, declared across 2 files: resources/resources.go (52), resources/gcp_lb_service_annotations.go (1). The bar is 30 methods; this is 23 over it, 1.77\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"22710f3ae2add82d7b85c4f9d2b42bd00018404a5d61e743a16525eda7dd808e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HyperShiftOperatorDeployment: TooManyFields \u2014 53 stored fields beside 10 methods. The bar is 30 stored fields; this is 23 over it, 1.77\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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7239349163940d6ab208c108a31971a806979674509ecf396cc0337586e559"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: copy-capi-types/main.go: FileTooLong \u2014 879 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 379 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/copy-capi-types/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd90368844c4d9e8b2972abfda833f5d16f91593a99dd2224ff49521b41dea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: powervs/create.go: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 357 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"452a7dd27a1dccf208b8c25b22eca6880e3117ac798984f59026300e2987c08f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodepool/conditions.go: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: NodePoolReconciler (23 blocks, 165-1305). The bar is 500 significant lines; this is 337 over it, 1.67\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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"913408ec874e083c4ad8f9d32a773ffea7549a93f69b7fbae70a78e8c1574b02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: certificaterevocationcontroller/certificaterevocationcontroller.go: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: CertificateRevocationController (12 blocks, 66-1184). The bar is 500 significant lines; this is 336 over it, 1.67\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc115f0973047ea50007b6570719fa0c773f1c35b25d42d44799f43671f2d22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kas.generateConfig: FunctionTooLong \u2014 generateConfig runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17d36e631e3f03d3ad9d75d26a271e216a95bb2b1cda61a06eb98dc4c619842"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IAMManager: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/iam.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e706b00b868d3a26c78d2ad76f236ca70103e397d7a3b04689f82e8db479e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HCPEtcdBackupReconciler: ClassTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods, 32 blocks, lines 94-1201. The bar is 400 significant lines; this is 225 over it, 1.56\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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"66af28d2ac119383a27601133fffd3eff759e17ee3cc8f534fdd1292c22b8d42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dump/dump.go: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60a846460c71894accfa24d03f4f9b10465f03203158d3ea35b47afa8ec9593"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NodePoolReconciler: ClassTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods, 23 blocks, lines 112-1630. The bar is 400 significant lines; this is 191 over it, 1.48\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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c47fec17fc060b834c2881c73e5169b39b065a15e731b2c2ca4aa7f7a0420"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostedControlPlaneReconciler.setupKASClientSigners: MethodTooLong \u2014 setupKASClientSigners runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d150f5ef74aff2dabc35a2cf547234fea119118665fa9b97da6a56fdfa5447bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gcpprivateserviceconnect/psc_endpoint_controller.go: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: GCPPrivateServiceConnectReconciler (21 blocks, 132-1255). The bar is 500 significant lines; this is 225 over it, 1.45\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0a689ee70aac33ba0f85a5e21a1aa850305ddf06d260e98e30b3c922be7621"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HyperShiftOperatorDeployment.Build: MethodTooLong \u2014 Build runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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/install/assets/hypershift_operator.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaae5bde40998a64b47e793f555a4337709478a1b771039ac60558d0ee7cfb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hostedcluster/network_policies.go: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 202 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6251c01fbdf4508580c46d5512e72bc11cc97a0696a935a7260dcb56800ad1e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CreateInfraOptions: TooManyMethods \u2014 42 methods, declared across 3 files: aws/ec2.go (26), aws/create.go (14), aws/route53.go (2). The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d89857eff7e231ae43a4d77a2660a9f42963107e3ae37d35843f4f7d7e425d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalDNSDeployment.Build: MethodTooLong \u2014 Build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8102dad058075ff7241da145207a455d9188ed9284910d38d0a4776a52d3cc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: etcdbackup/reconciler.go: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: HCPEtcdBackupReconciler (32 blocks, 94-1201). The bar is 500 significant lines; this is 187 over it, 1.37\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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd01c549544d85874dfe0800bf36c96f3eeb0c12f7bed919cc3b97b4b0f0798"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AzurePrivateLinkServiceReconciler: ClassTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods, 27 blocks, lines 180-1267. The bar is 400 significant lines; this is 144 over it, 1.36\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf45b2c6cecb4045127d6414360db7388afbdef84a6224a8598c92ec9ae0596d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: azureprivatelinkservice/controller.go: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: AzurePrivateLinkServiceReconciler (27 blocks, 180-1267). The bar is 500 significant lines; this is 175 over it, 1.35\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a81191110dbaad33afbde3563b570eb8361ac603ab6ea60ddfe80c723ff00d9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CertificateRevocationController: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods, 12 blocks, lines 66-1184. The bar is 400 significant lines; this is 132 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33cba3f19c749dbb9d26507d1ab2f67d8e71898504d121ea86517068cfc43f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gcp/iam.go: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: IAMManager (49 blocks, 91-1178). The bar is 500 significant lines; this is 164 over it, 1.33\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":"cmd/infra/gcp/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1fa4c358bd4d88298c9f905ea2fcd28719c9d9e3f8d1400eb85ea5e99c1009"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AWSEndpointServiceReconciler: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods, 17 blocks, lines 235-1458. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d0351b78b2cd47cc2f431de3b2da9a5cd5541a27a02c90dbf39401a65edeae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IAMManager: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods, 49 blocks, lines 91-1178. The bar is 400 significant lines; this is 126 over it, 1.32\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":"cmd/infra/gcp/iam.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb44796b99aa8b84d401b66672a30f7ee4444cb8021103ce621417b8a3aa80d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/dedicated_request_serving_nodes.go: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: DedicatedServingComponentSchedulerAndSizer (20 blocks, 332-975). The bar is 500 significant lines; this is 153 over it, 1.31\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8657de427d6d68156e27893c2cbde8cc8ad3e814729be179a1c13eae4a87e10"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GCPPrivateServiceConnectReconciler: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 21 blocks, lines 132-1255. The bar is 400 significant lines; this is 118 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2340a50edc4b4864318ba49db97521588bf899a98f8bdce9b105fc9aa151df4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: certrotationcontroller.NewCertRotationController: FunctionTooLong \u2014 NewCertRotationController 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":"control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0178b3f73c0c4adc26e9fb9f3fc5a63da7ef1cc0acefab7f115138009bf74b32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NodePoolReconciler.reconcile: MethodTooLong \u2014 reconcile 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"252dc7e90167431bbea003f637cb3caa4ffe33f41081a3cd0cb6601b18326262"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/destroy.go: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: DestroyInfraOptions (20 blocks, 34-900). The bar is 500 significant lines; this is 138 over it, 1.28\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":"cmd/infra/aws/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5e00d40ffefdf15be3d3c6af5e2b94e449c9103bb309de9f814f6cb3ce06e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DestroyInfraOptions: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods, 20 blocks, lines 34-900. The bar is 400 significant lines; this is 105 over it, 1.26\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":"cmd/infra/aws/destroy.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3cdc7c198d9a39df50e1dd7220d2f1406d2d9d14875582bbeff2ac2d428e4e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Instance: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\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":"pkg/capi/aws/api/v1beta2/types.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4388c556337a23cb4afb314d9de0aa8d748c424e5ec3ca47a890d42edb5d6ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/local_ignitionprovider.go: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: LocalIgnitionProvider (20 blocks, 58-1079). The bar is 500 significant lines; this is 109 over it, 1.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":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87f18df76d6958a9c517f26af37615ce0fde79a712ce3877c6b9ea4eeba1554"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AWSMachineSpec: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\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":"pkg/capi/aws/api/v1beta2/awsmachine_types.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b6ca18a930e72adf2eb816ec382977958d70dd58ce5dbcf2b680ce8ead6d58"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rbac/reconcile.go: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f25918af95bcb772dc4b125a554df7add8836978ca56c1919480b5a90be606"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: reconciler.reconcileCloudCredentialSecrets: MethodTooLong \u2014 reconcileCloudCredentialSecrets runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e108aaaa36f3098ad4169a84aa5b9c9b91c0452ba5f81e72079f9d52d6e34b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenStack.CAPIProviderDeploymentSpec: MethodTooLong \u2014 CAPIProviderDeploymentSpec runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ee4a78efc6b6e819d3cf75c860e12507954ff0bee5a621fd8b49b15646f06"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Infra: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods, 14 blocks, lines 160-1388. The bar is 400 significant lines; this is 71 over it, 1.18\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":"cmd/infra/powervs/create.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"520979484f0ed932eacc7ec8f0a7036d5853edc6c5f5db55d9d02753c5ef8bb7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalIgnitionProvider: ClassTooLong \u2014 470 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, 20 blocks, lines 58-1079. The bar is 400 significant lines; this is 70 over it, 1.18\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":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b585b08794c585c222b3c499ee91fb3fce2df776a589df820656fa4132909f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HostedControlPlaneSpec: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\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":"api/hypershift/v1beta1/hosted_controlplane.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"511b68d6a629c53c89d7ccb609546f101debb0754bd83da78272fe5016e88206"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Azure.CAPIProviderDeploymentSpec: MethodTooLong \u2014 CAPIProviderDeploymentSpec runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9638a4e8b8eabf15041154ad278520dd12bba6c19ec22013aff37fc79b184b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: azure/networking.go: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/networking.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306b63ac040cee6c54885e082285de49deaca003ad1ccf408a6f6d47b4139ffa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/autoscaler.go: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87957efad57f44ca537e6ba979b664546b2867bbf260e3e150780fbd7ae9cfff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HostedClusterSpec: 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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e37a4717453bc52121e876647bfd67587b50c24b8dff2f53dabba32ab110bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostedClusterReconciler.delete: MethodTooLong \u2014 delete runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4119}}}],"partialFingerprints":{"codehealthFindingId/v1":"418024ef0abfb63edda8d0a73ee8db9b215902cef93b06f5314c9f621fbaf9a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: karpenterignition/karpenterignition_controller.go: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: KarpenterIgnitionReconciler (16 blocks, 62-921). The bar is 500 significant lines; this is 60 over it, 1.12\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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8327f046dbce346e9897c024f40ef44e90206d1a1f7ff86a0d6a30df1e15ab7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: powervs/destroy.go: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"804b247ec710611c62dfce187c32f86c450a496ce0501cfef2dd16e8f5c621b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/idp_convert.go: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f51d50b80e875f1b7f48f42d2b5dad8c12f5fd8ebefb5eba23fb9d7cfbdee56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resources.Setup: FunctionTooLong \u2014 Setup runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac85e17f007548de35fbe3e14f8792777be0a202a8e0275b7f1c422205086b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CAPI.Reconcile: MethodTooLong \u2014 Reconcile runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf3853816d0f8b6aae902fea0fcd49b912e7533b84cc76359680de594c6dddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1beta1/hostedcluster_types.go: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108e667b498ce7c2e66d60d87208a5cb5ef5bfacf224959de8e022961ffda925"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/controller.go: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: AWSEndpointServiceReconciler (18 blocks, 67-893). The bar is 500 significant lines; this is 52 over it, 1.10\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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc1ec5ca528598242f650cdf4885bb01cb792d466a8068a7b1dda64e808cf86"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PRReportGenerator: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1645d85793683327536edcf7d1cf8035cc30b88c0e3ac81141252037deca29ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AWS.CAPIProviderDeploymentSpec: MethodTooLong \u2014 CAPIProviderDeploymentSpec 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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5849e565b86df1955c1bd204b31eccc19d3b97465892f910aacdad06392299f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PowerVS.ReconcileCredentials: MethodTooLong \u2014 ReconcileCredentials 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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee8a64323f605a91e903f719f27a1effa08c130f09ef008f6b6b5853a9c155"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AzureManagedControlPlaneClassSpec: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.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":"pkg/capi/azure/api/v1beta1/types_class.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4707632fb758132aadaabcadba49863e1155107b813cdda66267028dd77e1341"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: control-plane-operator/main.go: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e3ab2140c9532c62a11c2274129e270b95c81cc811240794b50d575c3f3a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodeclass/ec2_nodeclass_controller.go: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: EC2NodeClassReconciler (14 blocks, 69-764). The bar is 500 significant lines; this is 47 over it, 1.09\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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8733f5fa546bc1c9e68e4b3ee6da8696a1b9526b0d195a0a57b71a75521f437c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateOptions.ApplyPlatformSpecifics: MethodTooLong \u2014 ApplyPlatformSpecifics 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":"cmd/cluster/aws/create.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a31668efc196dc7355942387483bc11295cf9d7544640d3630bbf1443337b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateOptions.ApplyPlatformSpecifics: MethodTooLong \u2014 ApplyPlatformSpecifics 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":"cmd/cluster/azure/create.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d246400f6d6572522e17b51d92601dba08c0c0b442cfacf3849f1e93c8d44ad2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TokenSecretReconciler.Reconcile: MethodTooLong \u2014 Reconcile 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":"ignition-server/controllers/tokensecret_controller.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d1929da67665a66fcc0486812915230d4d43bdb99becb3d74b1c68c7bdac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fix/dr_oidc_iam.go: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: DrOidcIamOptions (20 blocks, 84-946). The bar is 500 significant lines; this is 39 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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d07ddebc64b5f1a7e33cdf023396c43d0cbca467a2f09438ffe48c968d08aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: konnectivityhttpsproxy.NewStartCommand: FunctionTooLong \u2014 NewStartCommand runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-https-proxy/cmd.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e7e4ea1a487989a8ca9e7a18ac0166254df3667d0438ce5426de539356684"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testfuncstructure/testfuncstructure.go: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0ba48bc569ec8a8602c29517784b90fda1e1ba0c932a7c6531947a6c1965cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: install.setupAuth: FunctionTooLong \u2014 setupAuth runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/install/install.go"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"4452335de959fa7ade5eb510e6cc0e247aa195818fceceff3b1855dd4138165e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HCPEtcdBackupReconciler: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f74342e027254051bb61e71e9ec0052194bf003f4c23d45c911604a3011148b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CAPI: TooManyMethods \u2014 31 methods, declared across 8 files: nodepool/capi.go (23), nodepool/aws.go (2), nodepool/agent.go (1), nodepool/azure.go (1), \u002B4 more file(s). The bar is 30 methods; this is 1 over it, 1.03\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf40b1b28bd814cf02e9efbb1f20c27ce05bf367cc3ede59bb73f0203b89ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RawCreateOptions: TooManyFields \u2014 31 stored fields beside 1 method. The bar is 30 stored fields; this is 1 over it, 1.03\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":"cmd/cluster/aws/create.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d252801ebdef75156b37e20552902b09bca0af0516804cacf40ceee3d5cb52"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DedicatedServingComponentSchedulerAndSizer: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, 20 blocks, lines 332-975. The bar is 400 significant lines; this is 13 over it, 1.03\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c6d91c68b34c85fec21a6641c2045183c8bdec654d0ac640e17cba66d7f05e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/create.go: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: CreateInfraOptions (15 blocks, 34-726). The bar is 500 significant lines; this is 16 over it, 1.03\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":"cmd/infra/aws/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6c845d9fad1650d4bcd7f937d9756b6b1e6e1a8c4be9c80162e9bf1796294d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DrOidcIamOptions: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, 20 blocks, lines 84-946. The bar is 400 significant lines; this is 12 over it, 1.03\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":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"431a736ec4cb1dfbd5867be9c1730e45ecf12d9c561553bb1d438ec1f01f56ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AzurePrivateLinkServiceController: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods, 13 blocks, lines 113-864. The bar is 400 significant lines; this is 10 over it, 1.03\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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"48203cd3b9851e7e1229c45a3c7975caccee49f660d6d52f2f6765cf8cf3538b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HyperShiftMutatingWebhookConfiguration.Build: MethodTooLong \u2014 Build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/install/assets/hypershift_operator.go"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"64861bd8f184f1ef13b8a5d98c3a87fae8c4005a2712617a29d35c691f83c483"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kas.NewComponent: FunctionTooLong \u2014 NewComponent runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/component.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b391928659460dfaeca2d9b8b7feed0e6ad36f47b5f0168ae06c51971f196f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AzurePrivateLinkServiceController.reconcilePrivateLinkService: MethodTooLong \u2014 reconcilePrivateLinkService runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b863095ee6c3f3312e166f00e17ce84c2a4371c5194bbf216bb25b40a2f94"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Reconciler: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 21 blocks, lines 72-716. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a536ad0ec6a58c776e9a9c364f221bcf59c1cdb33c71854cd7bf4d3f52e7a33"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AWSEndpointServiceReconciler: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods, 18 blocks, lines 67-893. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece18e1f9a44dce2f918bfe442f6be126d9e95bcc5b50a276d0eb1b36674cfc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/iam.go: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e435543789b126196c562d2883921c825467e8f682e3f9c61087bd8ade46e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KarpenterOperatorOptions.adaptStandaloneDeployment: MethodTooLong \u2014 adaptStandaloneDeployment runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"126a24c1158b09f7d62d1e3d7e7fa38a155503a162d751e8eb198a6000ad0f62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.RunOperator: FunctionTooLong \u2014 RunOperator runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/operator.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c579f2e31c9ed75e6adb6ef04fb855ce30f1885d7d21aa0d48eced3f8416961"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/idp_convert.go: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782df1fe944da8252fe16d7db2e0eb0a2a021da0a9ccd7808a52d02d6ea32b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 37 shared lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2280-2341 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2343-2413 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2415-2480 \u2014 These 3 members are variants of one another: a block of 37 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b85c826d6005e9d9fa12d014be16fd012242e5d358353ec51bbbf8760872bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (881 shared lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:462-1726 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:56-1844 \u2014 These two members are variants of one another: 881 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15aa5b9d84ec0bc7e9a992124b28aac764142afe2cc690f90b9ceed515f2d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (197 shared lines): pkg/capi/openstack/api/v1beta1/types.go:267-618 | pkg/capi/openstack/api/v1beta2/types.go:340-725 \u2014 These two members are variants of one another: 197 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9745aee69eb38b0101493dd4cf5ac2b718841187c397771c57aab96ceb8b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): cmd/oadp/backup.go:87-207 | cmd/oadp/schedule.go:113-233 \u2014 These two members are variants of one another: 50 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/oadp/backup.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff70eae5132624be3595c57fdfd4b1dc6d6b33b94ac1cdca65a7b48f1e08dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1084-1134 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:526-571 \u2014 These two members are variants of one another: 37 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aae707c0f36ff979050763693ae69650596a70ebf76be52f47c7acad5dde34"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): hypershift-operator/main.go:1219-1283 | hypershift-operator/main.go:1287-1351 \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":"hypershift-operator/main.go"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6841efd696db0d9f5b4c5f8d8289a71e7c07837b02db8e88b1e5d25c29818ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): cmd/nodepool/aws/create.go:99-125 | cmd/nodepool/azure/create.go:193-217 | cmd/nodepool/gcp/create.go:107-133 | cmd/nodepool/kubevirt/create.go:242-266 | cmd/nodepool/openstack/create.go:103-128 | product-cli/cmd/nodepool/aws/create.go:11-44 | product-cli/cmd/nodepool/azure/create.go:11-36 | product-cli/cmd/nodepool/kubevirt/create.go:11-35 | product-cli/cmd/nodepool/openstack/create.go:11-35 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/aws/create.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea6875378a862ab434915ab06f2cf8cae440a0aee9bbd068e889e7d71ef36f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:598-616 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:645-663 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:784-802 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:804-822 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:870-888 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:905-923 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:943-961 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"2111a35b1fbc4e5cf866b5c83f39ae97ccc188abf399faae156b6a07e9f5c1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go:82-161 | hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:105-291 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:99-289 | hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go:196-291 | hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:84-192 | hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go:186-383 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:85-202 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74dc13727827ed911c8c3da8a2a5d1245feadb0d6602f6247b28fdecd5488c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): hypershift-operator/controllers/hostedcluster/network_policies.go:458-479 | hypershift-operator/controllers/hostedcluster/network_policies.go:481-502 | hypershift-operator/controllers/hostedcluster/network_policies.go:504-525 | hypershift-operator/controllers/hostedcluster/network_policies.go:527-548 | hypershift-operator/controllers/hostedcluster/network_policies.go:550-571 | hypershift-operator/controllers/hostedcluster/network_policies.go:573-594 \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92d15d2d63d7fdf481f0bbef3a3c2dbe98dea38ade13b355d7f1436087e2c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): cmd/cluster/powervs/create.go:243-278 | etcd-defrag/main.go:29-58 | ignition-server/cmd/start.go:102-145 | kas-bootstrap/main.go:20-47 | sync-fg-configmap/update.go:30-63 \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":"cmd/cluster/powervs/create.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e372a431791186a0f3fbdc2547ffe37153b789ce8224b3318e7b18a72391c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:199-218 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:220-241 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:243-264 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/token_webhook.go:47-75 | support/controlplane-component/kubeconfig.go:21-37 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec42f433bcc7627fa9199cf8581d64470a530e1870b1cfe3b6b3e92423ed853"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cmd/cluster/azure/destroy.go:37-74 | cmd/cluster/openstack/destroy.go:20-47 | cmd/cluster/powervs/destroy.go:20-72 | product-cli/cmd/cluster/openstack/destroy.go:14-41 \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":"cmd/cluster/azure/destroy.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"207fb5c2d37fe71615005757bb2aa41e66248b9297309a15dd3b423d00fd7163"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cmd/infra/aws/create.go:169-191 | cmd/infra/aws/create_iam.go:153-175 | cmd/infra/gcp/create_iam.go:110-133 | cmd/infra/gcp/create_infra.go:107-128 \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":"cmd/infra/aws/create.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b201f683d93622752f8ee03c15ef7708c5d8b4deeb6a503148fdab3c1650ce90"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:420-575 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:184-321 | hypershift-operator/controllers/platform/aws/controller.go:269-384 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:155-219 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2409ae2f4014adca12cf9c5fb88bfc2cd65edf565c95c5fac51aeb8a90196731"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:473-585 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:705-822 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:870-996 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:998-1140 \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51b362febfc34a0d2575be6f799ac8b076db9a299dd8bf04cf47a6a7bbc7ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/etcdcli/etcdcli.go:236-252 | pkg/etcdcli/etcdcli.go:301-329 | pkg/etcdcli/etcdcli.go:341-362 | pkg/etcdcli/etcdcli.go:372-387 \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":"pkg/etcdcli/etcdcli.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a0c07db41ea019da05268bf9ea198b7a197694a39c35603b432d5ed052f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go:44-123 | hypershift-operator/controllers/auditlogpersistence/pod_webhook.go:50-132 \u2014 These two members are one piece of code written twice and then edited apart: 80 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":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b40e71c83c108d35f163de48b17fbaa874003076f7dd9d60eb5fb1c0cd10f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:403-465 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:473-535 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a782a58c3353da73656efda86fb2a9e86537b470418bd141ee0addb60deac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): cmd/infra/powervs/create.go:188-241 | cmd/infra/powervs/destroy.go:79-131 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e539d6e4b3310b63fba023b75657c280ccb68a143d34e89ef12a82318ffc28e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:280-337 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:363-437 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"195f18bca2536b8665c698d98ecf0fb5ba3f27b677655d29cb087e7e7d14ebc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:1973-2050 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2136-2211 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c147361fca6e6a5a0ebc607ca5a91c3b2d717b88a7e5c996df2c160f575f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): hypershift-operator/controllers/nodepool/conditions.go:451-512 | hypershift-operator/controllers/nodepool/conditions.go:550-615 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6fd901c148281f53c142f1c2728cee6899d5ed817e63861c55029649fc8ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): cmd/cluster/aws/destroy.go:20-74 | product-cli/cmd/cluster/aws/destroy.go:13-64 \u2014 These two members are one piece of code written twice and then edited apart: 52 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/cluster/aws/destroy.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d650c2882d564c9d9e756cd63610327394a5a7d175e36e880dced654b896568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): hypershift-operator/controllers/nodepool/capi.go:627-686 | hypershift-operator/controllers/nodepool/capi.go:693-758 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5325aa6c62a69976c511e344c2352d7da6d46472b696d47fe974272dc3dcac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 61\u002B corresponding lines): cmd/oadp/backup.go:25-85 | cmd/oadp/restore.go:23-98 | cmd/oadp/schedule.go:21-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 61 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":"cmd/oadp/backup.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64780e19f6f83d6bb5156ab993ef99bf0ef6e48e5a8c7641993ee53aff48282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): cmd/nodepool/create.go:25-66 | product-cli/cmd/nodepool/create.go:15-54 \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":"cmd/nodepool/create.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dc198258f495d441d35a07fd2b3ae6bfbc710f26d8ad4835c8f467ec997f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1037-1085 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:532-577 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8d9bc93b0fe32b5bb9cb8656edd016c039ef64eaa58c7dec9402f7b2a26c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): cmd/bastion/aws/create.go:47-98 | cmd/bastion/aws/destroy.go:35-80 \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":"cmd/bastion/aws/create.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c617a8775cf96252da72ba7a56bd85a65e993b2001cc1ac8cffa8404f9ddd48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): cmd/infra/azure/create_iam.go:29-70 | cmd/infra/azure/destroy_iam.go:20-58 \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":"cmd/infra/azure/create_iam.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e6c1ce79b104bf701ffde43235ab27e407b607422cf9c9a532dd8b916e25a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:241-284 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:412-456 \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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df328860b6155e6fd18ec4366a7490c7ad3b39ba7a79e38e34d858474f589e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/observer.go:80-131 | control-plane-operator/controllers/gcpprivateserviceconnect/observer.go:62-116 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"control-plane-operator/controllers/azureprivatelinkservice/observer.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd30557b5d2bfef450d8e6b579c0543c0d71d672dd33c7e33b6111f8d5103386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2507-2542 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2707-2758 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e84b745a4223b5d342c991051037aa36f7d68a9411409d0240f99aa377ac1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): konnectivity-socks5-proxy/http_proxy.go:37-80 | support/konnectivityproxy/proxy_dialer.go:26-70 \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":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735ef60e1f6c5e393824f7bbe3b60fc26b6ca44cf6cf99f1edc1ccf2ef896f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:5002-5056 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:5060-5100 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57bc25a9431041487b478dbf67d4e7a01e3dec7bcd17df06bc86f14b43e70d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): cmd/infra/powervs/destroy.go:471-515 | cmd/infra/powervs/destroy.go:525-567 \u2014 These two members are one piece of code written twice and then edited apart: 43 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/infra/powervs/destroy.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"021785f36d5deab80611d7b952a2eda1ef9b4400fb713fa8ba7e08b747668152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go:103-170 | control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go:126-197 \u2014 These two members are one piece of code written twice and then edited apart: 68 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":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"295388f51ab3f4d2871d31491ef0fafbc8bcc5fc9324707e8ced083e822cd642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1208-1255 | control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go:251-290 \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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21d9cc8dd77b1da5e9a17120b13e29ccc830e9f79fccd08bb3b2a17dec3d9dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (155 corresponding lines): pkg/capi/aws/api/v1beta1/conditions_consts.go:21-175 | pkg/capi/aws/api/v1beta2/conditions_consts.go:21-201 \u2014 These two members are one piece of code written twice and then edited apart: 155 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/capi/aws/api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88f63b4a8099256ef13728fa1e7cd85b2e6106dc1f0a85cd09471f6e2b03c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): pkg/capi/aws/api/v1beta1/network_types.go:490-549 | pkg/capi/aws/api/v1beta2/network_types.go:1046-1105 \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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"33be0a6ca4a769ee9cd8cdf63f7756a0d95b5e796c2ff3fff35e171ea4dfc326"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:89-143 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:127-173 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ef3d93cbe0a22581069d35c46819f0a73c0c0ba518f84f94b54b707d173d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:160-188 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:461-489 \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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669ea16a6a17cc74a7ecb15a497b1686e5220e41d90e23a4486c40e720d7e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): support/releaseinfo/registryclient/client.go:50-116 | support/releaseinfo/registryclient/client.go:127-178 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8283c371b688669f44d6e1a0839567a9ff55188ae1f5eb7bba24ba1c60de734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (251 corresponding lines): pkg/capi/openstack/api/v1beta1/openstackmachine_types.go:29-294 | pkg/capi/openstack/api/v1beta2/openstackmachine_types.go:26-276 \u2014 These two members are one piece of code written twice and then edited apart: 251 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/capi/openstack/api/v1beta1/openstackmachine_types.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"89487d05f67f8812da994f28099ea76cea7cbf00cd8933f4441f9f8333ffe3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:252-278 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:320-352 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a729701b933ce28cc8a121265a4f064dbc53a5a460321db9b478eabd2f17ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:90-124 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:90-124 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e40235ad07da89920cb49cebea3f0714722e3159aa2b0ed5cbe79ff516c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2259-2288 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:6141-6175 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2b833170194a53e596c90999e753b03d5cca713d70756c73c6be8e106ae3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): hypershift-operator/controllers/nodepool/conditions.go:1048-1091 | hypershift-operator/controllers/nodepool/conditions.go:1094-1141 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ea4a8aca221eaa68cab9adfe9a922773111062f92b598b5d883d02180042c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): cmd/infra/gcp/create_infra.go:46-81 | cmd/infra/gcp/destroy_infra.go:22-53 \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":"cmd/infra/gcp/create_infra.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc44359c6638b4dcf38321969baeb8e13bf69629e733067b3a07bd597b55ebda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:393-418 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:156-181 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf2e961705258285c9217ed007c9effad55783d1b2ef4def7a8fa2a2cd6c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): main.go:42-85 | product-cli/main.go:44-78 \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":"main.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1615ce3da4dc3247ac72d8119fc370f860dda72cd5a7f6badf804c1765aa16be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go:18-60 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:363-396 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"86243ad4c06baf8c2204ce83bb2a660dc173a35eae88161f31ef537141bcabce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:140-159 | control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:229-250 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:174-199 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:291-318 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3becffd47ef76bf4a948373ff71204afa1c4760504c5c732b40daa1cf8ed0aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:263-295 | hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:787-813 \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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a426fe7be50029e9cf5daca541d805c2a9dc73c670b22b40f6f11f2bbff9ce22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go:28-69 | control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/certs.go:30-71 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d47146b9d7048915498029c8d8984f1a1c851ba3f6bced6710ea213d65c92a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): hypershift-operator/controllers/ignitionpayload/config.go:94-125 | hypershift-operator/controllers/nodepool/config.go:389-425 | hypershift-operator/controllers/nodepool/nto.go:420-456 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aafb39d233216294ef65b06838be5138fddee01c8d1b4f5658454da506fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cmd/infra/aws/route53.go:44-74 | support/awsutil/route53.go:28-55 \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":"cmd/infra/aws/route53.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37d8311b816b7e4f7a20d1b53110f6d20c32b96b87555752e56af5fcd843843"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3880-3919 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:6231-6270 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"2950735f47d751141c80596d78f379f7c47fd41e77be34eb587037d29fa5b7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): karpenter-operator/controllers/karpenter/karpenter_controller.go:368-403 | karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go:226-261 \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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"174dc763943c7572cf7233d21bdd59eb7926437cda26912573140ccb50049ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): support/certs/tls.go:128-161 | support/certs/tls.go:170-201 \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":"support/certs/tls.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b3708d787f70775a5426d2747063fe166649697ce686833853452cc1addd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2092-2117 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2221-2252 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83fa65d239a819c132fdd3b4ee77a5fee9f29aaf434e15d93510a859fd1149a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): cmd/infra/aws/iam.go:1275-1307 | cmd/infra/aws/iam.go:1309-1338 \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/infra/aws/iam.go"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3a3403a082e07b7ab39c0ef8ced09a58a4613d4f4d3494153af51081f596c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): cmd/infra/gcp/iam.go:428-466 | cmd/infra/gcp/iam.go:1125-1160 \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":"cmd/infra/gcp/iam.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f31fa635e66a887debf8f1191fd2ea4b46e3ddd9650a0eaad18d0b920f991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go:18-41 | control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/setup.go:27-55 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd6195eb17c9c575a1651bb89d0bcfbae22cdc38b84c650a52b1b687f76a313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/kubeconfig/create.go:51-81 | product-cli/cmd/kubeconfig/create.go:40-65 \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":"cmd/kubeconfig/create.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"abecd24e70aaa94802bd7193bb5de8dd4d2a30c1f1ef307bcd3b2817d6a4aef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): hypershift-operator/controllers/platform/aws/controller.go:158-180 | hypershift-operator/controllers/platform/aws/controller.go:196-217 \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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bdae9a2b58ca9d48a995f14b8df761ca294166d4ebcaa8ec162d53bb1e811a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1038-1065 | hypershift-operator/controllers/platform/gcp/loadbalancer_labels_controller.go:348-375 \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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8d2eb8b82a9a8b77f53c49ecf908659c1d168106ac7dcc1509fa708e441408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): support/netutil/visibility.go:106-124 | support/netutil/visibility.go:142-160 \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":"support/netutil/visibility.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccd9f11297310f22ac8ff3c805def37c358ea8eb678be31d1f6c2ebe6086252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/ingress/router.go:108-149 | hypershift-operator/controllers/sharedingress/sharedingress_controller.go:384-410 \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":"control-plane-operator/controllers/hostedcontrolplane/ingress/router.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3a481efbaaceb2bd28b52d82af03a98b058c0db7dff772c66ceab26bde5b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:396-418 | hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go:644-669 \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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb5dbdaf955d223bac4799fafac0ef5c6c874183e55d136f3c80ad6458690c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (140 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:628-767 | pkg/capi/openstack/api/v1beta2/types.go:735-925 \u2014 These two members are one piece of code written twice and then edited apart: 140 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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f7250b372af11fa6094c07b957a2d57dbdf28f3f9d0d682f3cfcef16ba4e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): hypershift-operator/controllers/hostedcluster/internal/proxy/validation.go:41-69 | hypershift-operator/controllers/hostedcluster/internal/proxy/validation.go:73-105 \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":"hypershift-operator/controllers/hostedcluster/internal/proxy/validation.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1367f75c53c228aed022aad5481840694f61e2a1e76bb1b553ebe6657eb6e79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:339-360 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:439-464 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"477b9f676e866daff2d78ceb5ca82febc613c17210e501c54004309d24a96c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): hypershift-operator/controllers/nodepool/kubevirt.go:192-222 | hypershift-operator/controllers/nodepool/openstack.go:21-51 \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":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce22a596be054dc91ee4ddaf93b89853d5b08cff3e7353c3f18c9ded2018dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/component.go:37-74 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/component.go:38-84 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/component.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aa2c2c7c447c179a12fd5b131e684e2ca8ea1499e26ff64c4563c791577152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:255-273 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:288-317 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f50c6845681f082c9f3b4ba9ad91eaa24bb2d92261b17e92a5e38dd139b274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (277 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go:13-289 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth_types.go:19-306 \u2014 These two members are one piece of code written twice and then edited apart: 277 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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e278791accd7421461d0490b6b688fcc877f48c0ebdac5d70bbf2725813d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/cluster/core/destroy.go:433-452 | cmd/cluster/core/destroy.go:472-502 \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":"cmd/cluster/core/destroy.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"187122cd44f6ca5539743b772e3d060f015c48fa68e0116bbc26abfe83bfbb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:4036-4054 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:4088-4106 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4036}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7521ec3183ecfd697ab667faa8203c06b036b05b5cca9b786247a4215043c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:161-180 | control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:182-200 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:201-226 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:228-252 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9474bf84bc896cac8b702e860f2800a88edb693b1392aff53ca98052aca38a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:239-268 | control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:270-297 \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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"022b54c91b871190b7b1d2f63890935db4fb05e3a5a07ea33d966b2a7cad942f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1685-1701 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1703-1719 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32c6063dea175919e6c194fc093e053986e7f2c8b0977df0992978f5cce4fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): product-cli/cmd/iam/azure/create.go:26-57 | product-cli/cmd/iam/azure/destroy.go:26-56 | product-cli/cmd/infra/azure/create.go:26-54 | product-cli/cmd/infra/azure/destroy.go:26-54 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"product-cli/cmd/iam/azure/create.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33920db2c37d83c249a5a5a8ea2aec430e9866c6aba4d219704ebd248eb8f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): cmd/cluster/gcp/create.go:265-292 | product-cli/cmd/cluster/kubevirt/create.go:12-38 | product-cli/cmd/cluster/openstack/create.go:12-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"cmd/cluster/gcp/create.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0967579fc56a8c746cc234c1aca22ec853b7684cb718bfc3223223c9ef16bba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cmd/infra/aws/route53.go:344-371 | support/awsutil/route53.go:113-141 \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":"cmd/infra/aws/route53.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cbc7cb74c987ad0954d8648a4e1f61f6a7880156dea39e1cf6f2678d29a5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/cluster/core/destroy.go:285-307 | cmd/cluster/core/destroy.go:309-332 \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":"cmd/cluster/core/destroy.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c9e28a1920731e890b000f35dd8a9fc88b3a0463d6fb6f598a772a37b8f955"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:108-137 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:180-212 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66bb19576bc278333a5bb1c833c887d3db42ea1f78a46576a2f74ca3868f6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): hypershift-operator/metrics.go:57-91 | karpenter-operator/metrics.go:49-79 \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":"hypershift-operator/metrics.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aa6d916e32b853ec901c15e3cf347e009acb92e9d555fa07775629a26c27c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go:129-151 | control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/spotremediation.go:104-126 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9fa8791d04643a66a6637f78ccb80f20c75700cb9b9b41ba28c47cd02ef9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/controller.go:1102-1125 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:1127-1150 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:1228-1252 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fa09b32c787f81116f8b10e9a39a0473f7d4563a2208a7368bdb76ad06f477"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): hypershift-operator/controllers/nodepool/conditions.go:617-643 | hypershift-operator/controllers/nodepool/conditions.go:645-677 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be19055264ffa7ec81381b41337f773f3fc2116ebda48c0f1f3f1fc3751fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): hypershift-operator/controllers/nodepool/conditions.go:131-161 | support/reconcilerpolicy/pausereconcile.go:52-82 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e928b925206910cab3bf743db72bc39be079cb33bab5a92d30c6b1925d0b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/controller.go:1029-1048 | hypershift-operator/controllers/platform/azure/controller.go:735-758 \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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6d6608f418bd6310e7d40c4926a9d06de6dfc64f4d8fd4709952d87ffbc012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/cluster/cluster.go:21-45 | product-cli/cmd/cluster/cluster.go:19-41 \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":"cmd/cluster/cluster.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac4f68332434bd1e1cb43942f05f459561bfbb2e528d2fa0175943556b65d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): hypershift-operator/controllers/nodepool/aws.go:582-614 | hypershift-operator/controllers/nodepool/nodepool_controller.go:909-933 \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":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0380f618221c040f08bcd295d9f66811e0bedaac225e2e980c9584cd438e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 29\u002B corresponding lines): cmd/cluster/agent/create.go:153-182 | cmd/cluster/azure/create.go:44-72 | cmd/cluster/kubevirt/create.go:327-355 | cmd/cluster/none/create.go:102-130 | cmd/cluster/openstack/create.go:272-300 | product-cli/cmd/cluster/agent/create.go:12-41 | product-cli/cmd/cluster/azure/create.go:13-42 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 29 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":"cmd/cluster/agent/create.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd7db43de70ba256d94a4fefcf0e4e8acababd7f3b3853696647ce6365902fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): hypershift-operator/controllers/nodepool/capi.go:1445-1468 | support/netutil/route.go:52-74 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd450e7a82c42a86c58149bd39990bdab28b7b9a311bf00bed35b290682681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): support/awsutil/sts.go:18-38 | support/awsutil/sts.go:40-59 \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":"support/awsutil/sts.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c9d470c8ddc58f5c972a85f941c6b86666364e44da733765739128d8578f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/cloud/openstack/providerconfig.go:48-72 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/config.go:63-90 \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":"control-plane-operator/controllers/hostedcontrolplane/cloud/openstack/providerconfig.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a937bfb93a79e0b83d16de2a7890d299e7b84536d3f9e2b55d959f361c0dff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:139-166 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:266-293 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d13cfbcd027cb4c725a5a44d71e55be5e3a0525986cc54c4fe764ce85054cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go:21-46 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/config.go:58-77 | control-plane-operator/controllers/hostedcontrolplane/v2/routecm/config.go:21-41 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e2abd0b236816c1ea1db4f96873921fac07257789979813494907500a5b3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cmd/infra/azure/rbac.go:101-117 | cmd/infra/azure/rbac.go:120-139 \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":"cmd/infra/azure/rbac.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c315689b116c4857ad1bb5a2a256928516070b6883f95579a6c7452e351d8ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cmd/oadp/restore.go:264-292 | cmd/oadp/restore.go:294-318 \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":"cmd/oadp/restore.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab18086f4ad15726c4f97bc2b0187c64d9af955f23f57e5e9563036cdc7144ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2712-2743 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2755-2779 \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a352c767247a686e913262d0101b4b43510994f5373d8497f41818634c71c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/component.go:35-70 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/component.go:34-67 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/component.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"532492403ac80f8ac14276a3ecfe0a3177be76a1574ec24dc9c925097cc1d237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go:132-152 | support/globalconfig/namedcerts.go:12-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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"209c0cc2887a0e76cc475f84b4575523ca56c90e1aa89a0abbe45a6ff31c3513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/drainer/setup.go:18-39 | control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go:17-33 | control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/setup.go:20-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/setup.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c24b15fd792b054f9d0cb271ce58b02326be132c4fd3b059c4e29d3bec2a0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): hack/tools/hypershiftlinter/analyzers/contextbackground/contextbackground.go:18-48 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:30-59 \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":"hack/tools/hypershiftlinter/analyzers/contextbackground/contextbackground.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3176b01a350bc9e74ae689ec8207cb720b08f17ba31cc7577c849a3484df2bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (167 corresponding lines): pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachine_types.go:28-194 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsmachine_types.go:30-268 \u2014 These two members are one piece of code written twice and then edited apart: 167 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/capi/ibmcloud/api/v1beta1/ibmpowervsmachine_types.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"57289898f0bd8848eec5e9006fb8b51ceeb60b652c871ce8475f4a6491cd660a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:202-216 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:254-274 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8784f8d5ff0a1fdff7ba4f7431b6d4d1ff96f5b0a0d97aeba8b7168c60053e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): support/k8sutil/object.go:42-60 | support/k8sutil/object.go:62-83 \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":"support/k8sutil/object.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7ad4069b49e0c1e9ff49511c12633764b69c8f68e6b29ca13ef4c84dddcb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/controller.go:841-862 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:876-901 \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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bc4e19949f5a3356ba9fdf9a173f2e9c5801615e2b6a099e2bfc0b073ec875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): hypershift-operator/controllers/ignitionpayload/controller.go:486-503 | hypershift-operator/controllers/nodepool/config.go:575-594 \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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df9d31e63bdbfb50670b406bebe6ef6f0cc0759c3dd5ea64f68c1613ea3376a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cmd/infra/gcp/networking.go:329-345 | cmd/infra/gcp/networking.go:349-365 \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":"cmd/infra/gcp/networking.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83cb8b413297efa88e8e78f0e27fa2ff3f87fb29ec21c7b4f9b1d7b0facdaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cmd/create/create.go:15-35 | product-cli/cmd/create/create.go:16-34 \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":"cmd/create/create.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"575a7b1d892c535ce8b53b4bd1f4c57ba8d472e0c7547cd9c78efa16cb1159d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): support/azureutil/azureutil.go:116-135 | support/azureutil/azureutil.go:139-158 \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":"support/azureutil/azureutil.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb00b750e4281ab65036d250b40027fbca7492ac73cf782597e68956e46671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:373-391 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:139-154 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f38500ebd6b7947dd5e142dda651d9d95e3187cddaf9456d494c6a4765b15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:63-80 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:84-101 \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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e05fbd29d92798eec737ac25be714f92e53c1f80689c9b49ef901391a7603a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1846-1859 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1928-1945 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c5983703a7fdc36081ce6c9876e733f9696d455f376c850e55b65d6c82115c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): hypershift-operator/controllers/nodepool/nodepool_controller.go:1326-1335 | hypershift-operator/controllers/nodepool/nodepool_controller.go:1342-1351 \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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc12e55c88b97462f239bbd2b6f97fc0215352c8fd281826d91723b258087a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:679-701 | support/config/deployment.go:14-33 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b9a167f6a46648897e590e6495336535064d612432a770f3aebcbb6cf9dc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:124-141 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:179-194 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:196-217 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d5534cc38ccb17dab8668389a42446650daf33f49ea03c701421114354c9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:343-361 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:400-415 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:417-432 \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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d64236b6678d785a2443d5d6cbd3eabf14fb368ff16139309c87967ea829c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): pkg/capi/openstack/api/v1beta1/conditions_consts.go:21-110 | pkg/capi/openstack/api/v1beta2/conditions_consts.go:19-110 \u2014 These two members are one piece of code written twice and then edited apart: 90 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/capi/openstack/api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e692a0b6983ce0d23a15fe21607896ae27f6a9ec3c113ccdee4fa3d6f2ab8f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1753-1767 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1769-1783 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9954620457cc79e507fdd34b7dfb09ba80d2b60fac58f4cd4cf0c6f57e0372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go:97-127 | hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go:130-159 \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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca0112b0b277576f7b7a71520312cca0b8584ca56edd4ed314a8fa2a7a8fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:850-872 | karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:875-896 \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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fb6e869f7d48c38f0b9ba7b36db7651eacf87bea0a141889ed6ee74ca9b624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:271-291 | control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:294-313 \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":"control-plane-operator/controllers/gcpprivateserviceconnect/dns.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"043778f48e5f50c068af13b16bcc4f038b76923f1d5c8afc473fe08c98bfa76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): hypershift-operator/metrics.go:36-55 | karpenter-operator/metrics.go:30-47 \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":"hypershift-operator/metrics.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced34ecda59ed3f8c935b120f548cbf520f08adb1b27de0f071ba075597757d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/cluster/core/create.go:1279-1303 | cmd/cluster/core/create.go:1305-1327 \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":"cmd/cluster/core/create.go"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"579bb744d16e5e946be3199fe3f1fccc12e5a88437be0e8043012fee30e585f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): cmd/infra/aws/destroy.go:741-762 | cmd/infra/aws/destroy.go:847-868 | cmd/infra/aws/destroy.go:870-891 \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":"cmd/infra/aws/destroy.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4b6eb43c481531e05cb4bccac486589ecc9568b10ed51fb31b290db050c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/scrape_config.go:73-89 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/scrape_config.go:139-155 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/scrape_config.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c209294b07f8269ff919e42f5b9beaa59a4257ade98c251e1ecdb838eb5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 22\u002B corresponding lines): cmd/cluster/agent/destroy.go:22-45 | cmd/cluster/gcp/destroy.go:15-37 | cmd/cluster/kubevirt/destroy.go:11-33 | cmd/cluster/none/destroy.go:18-40 | product-cli/cmd/cluster/agent/destroy.go:11-33 | product-cli/cmd/cluster/kubevirt/destroy.go:11-32 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/agent/destroy.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6defec5d009f5d85bf6c9cf94a5d73115fc096c1e9ca56274a4f65efd9843fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): cmd/install/assets/hypershift_operator.go:1239-1262 | cmd/install/assets/hypershift_operator.go:1679-1702 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40696e52351024e3197acccf333716e80697d229aa9413a706c8e22f06078fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/controller.go:1255-1267 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1068-1081 \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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d267fe99e732e53fe721e1b7e2030ca60ac224c4784e592ca0722e1cbcc33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:180-206 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:318-340 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"24919fd5daf079994470aa121d66c939a26aa23dad0fc7da3f5fa76371ec6b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:3372-3389 | hypershift-operator/controllers/nodepool/kubevirt/network.go:88-105 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8f5948d6f4be4c5dc7c9d26a659b61438b3ed797c55a5fb7857c04d8980a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): etcd-recovery/etcdrecovery.go:84-102 | etcd-recovery/etcdrecovery.go:166-186 \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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"940769d8d6c72858ca8a3ec9b06588f8a86fd85330f1686186f8b87940780398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:51-73 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go:52-73 | control-plane-operator/controllers/hostedcontrolplane/v2/machine_approver/component.go:48-70 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"858bbb245b9d20f562933057a5bac834c9cd37151b9ecf115a62dd74aab2c242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): cmd/bastion/aws/destroy.go:156-174 | cmd/bastion/aws/destroy.go:176-194 | cmd/bastion/aws/destroy.go:196-214 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/bastion/aws/destroy.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1701038ca1499dcedda50f16422110206de81f5293518c62b5483333bb4ce19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cmd/infra/azure/create_iam.go:160-184 | cmd/infra/powervs/create.go:273-293 \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":"cmd/infra/azure/create_iam.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4403537e7c320379decd68adc8af615f8b83eac7df9c10547c3dbd9ef48aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go:14-35 | hypershift-operator/controllers/hostedcluster/createorupdate_annotation_enforcer.go:14-39 \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":"control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31bef0a44953e5bd9ca005449d14ef2e15834f13fecbef5719f43782345ee09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/cluster/kubevirt/create.go:154-180 | cmd/cluster/openstack/create.go:89-114 \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":"cmd/cluster/kubevirt/create.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"538a5f41c06b9ae5b4981bacb27fdb4399cf4024c9a98b564935f83cd6db1265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:46-65 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1149-1174 | control-plane-operator/controllers/healthcheck/gcp.go:139-152 | control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go:97-117 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/gcpprivateserviceconnect/dns.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9992e1bee661924a79f1447727f44fd37eaa579422ae59e2e4731c15063f4d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): hack/copy-capi-types/main.go:1081-1103 | hack/copy-capi-types/main.go:1403-1427 \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":"hack/copy-capi-types/main.go"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ad16c09974854432b425067a0bd2bcf4b15afc86d05b2f953cc6b531bfa48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): support/podspec/deployment.go:15-26 | support/podspec/deployment.go:28-38 \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":"support/podspec/deployment.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde1262400d6877238fafd9c036832b83537006fdcb86aa0183da8d040d9bf5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/install/assets/hypershift_operator.go:1268-1293 | cmd/install/assets/hypershift_operator.go:1889-1914 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b747a8aefe6a2e213862e7b5806521c3ef3957a01cac6ee69b29a5e96a9d318b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): support/netutil/visibility.go:21-34 | support/netutil/visibility.go:37-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":"support/netutil/visibility.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ddacb75bca6fa3970c3318f1e2ad1c21f6dda8282c140229e5a85cbb2f50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/cluster/none/destroy.go:60-79 | cmd/cluster/openstack/destroy.go:67-86 \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":"cmd/cluster/none/destroy.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aa911d53cd062a4281ab5b9a31712b245293ffdc0d3d21dc07dc36ac857d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:27-46 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:61-82 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"252aca5ad5f599cd073a65fe3b2a43d987bca5c0466af0f31fb30ae4a72f4cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cmd/cluster/none/destroy.go:42-50 | cmd/cluster/openstack/destroy.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":"cmd/cluster/none/destroy.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a283fa07b30e009e81fe35578756db5347ae0bcfbfc72a85b664bb6cc5fd8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go:386-405 | hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go:407-428 \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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3377bc34ce6c44401779f4dca4363f665037ad13d190ad3f5b76faf2b8a3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:218-227 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:276-289 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3196b5b9c9f1260f0ef76b0272e463b7ed9babfe220142810fc88140aa62f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): hypershift-operator/controllers/nodepool/capi.go:329-351 | hypershift-operator/controllers/nodepool/capi.go:371-393 | hypershift-operator/controllers/nodepool/capi.go:429-451 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93091374a1a6c5dd75182b1aa85834b8e1896916885e157c821b1b95e2b9485"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/bastion/aws/create.go:100-117 | cmd/bastion/aws/destroy.go:82-96 \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":"cmd/bastion/aws/create.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6cf903d15223e4b027cfdc24a3de11f7e7e815d7fa50d94a0e69e13d648c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): hypershift-operator/controllers/hostedcluster/metrics/metrics.go:307-326 | hypershift-operator/controllers/nodepool/metrics/metrics.go:437-453 \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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"018949ac030ac9ec415a40756ea5f4f2e85019050f8c9221d800ee94b4f2f040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): pkg/capi/aws/api/v1beta2/awsmachinetemplate_types.go:28-119 | pkg/capi/azure/api/v1beta1/azuremachinetemplate_types.go:27-104 \u2014 These two members are one piece of code written twice and then edited apart: 78 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/capi/aws/api/v1beta2/awsmachinetemplate_types.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caaa4ef52eee09e076f1b61af5e47997cca70751dc80ac579464f3c87d1dac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1226-1240 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:985-999 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:595-620 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9336f85c39fe1bb56a96a4563eca30010920edb82b1395bb84684a27b017fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): hypershift-operator/controllers/nodepool/capi.go:353-369 | hypershift-operator/controllers/nodepool/capi.go:409-427 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedc6cc64d94b9aa99f71ca23cfffb3d74d1bfc21440b6feb42c183757f64f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): hypershift-operator/controllers/scheduler/aws/autoscaler.go:65-77 | hypershift-operator/controllers/scheduler/aws/autoscaler.go:126-137 \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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b46154cdf8cce44738fdfc9b810ac74ab8eb4d0c061915b745e06fa40a139b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go:94-125 | control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go:127-150 \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":"control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ca2abc8f5221844b28892ad6a986e1ada86ef3879839e316e361a7638f1d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/infra/gcp/iam.go:470-492 | cmd/infra/gcp/iam.go:526-549 \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":"cmd/infra/gcp/iam.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5481a28d97e79d6104f8384742ce65a2bbe79e2290331aa07b25ace3e318a7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cmd/install/assets/hypershift_operator.go:1106-1140 | cmd/install/assets/hypershift_operator.go:1146-1172 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e949588f78f914ce39fcbe3cfee31fec5e94e3056d99e059ee857b4233e77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): hypershift-operator/controllers/hostedcluster/metrics/metrics.go:196-207 | hypershift-operator/controllers/nodepool/metrics/metrics.go:141-156 \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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6d53074c15f38813740c0018a197b9b50aec5977ca9bcd3bf941e30665e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/pki/etcd.go:32-43 | control-plane-operator/controllers/hostedcontrolplane/pki/etcd.go:57-70 \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":"control-plane-operator/controllers/hostedcontrolplane/pki/etcd.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d76e9002f51c9aecc873b8e69a3a33f426ac8814c7dcb69d989a7ebea9efef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go:17-34 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go:60-74 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eabc8f5512e9a82087db324d727fb6d816051e3a2706f7a404ebd2802b9922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3921-3934 | hypershift-operator/controllers/platform/aws/controller.go:403-415 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a05360fdeb18d8be97a1a8e6186b0125a36452fa51f49c512b405a9174e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): hypershift-operator/controllers/nodepool/metrics/metrics.go:408-420 | hypershift-operator/controllers/nodepool/metrics/metrics.go:423-435 \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":"hypershift-operator/controllers/nodepool/metrics/metrics.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4671c6068f59901199caef9d367280d400f7c9c17ea53a4df4f41f6aaddac830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:445-459 | hypershift-operator/controllers/hostedcluster/karpenter.go:151-165 \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":"hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a832eadb6fa477bf9247e57cb2491560c6de925b84b19141040642712dd819a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): support/controlplane-component/defaults.go:554-573 | support/controlplane-component/defaults.go:575-590 \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":"support/controlplane-component/defaults.go"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095e20347acf366eb59ecdf5865c72a917b855bf0be5572da206797a30eb654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cmd/infra/azure/create_iam.go:95-115 | cmd/infra/azure/destroy_iam.go:79-99 \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":"cmd/infra/azure/create_iam.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e8d5049ac0d5601f3024b27d4641963602d1b3621b98e8ed68ccecad83c512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): control-plane-operator/controllers/azureprivatelinkservice/controller.go:193-209 | hypershift-operator/controllers/platform/azure/controller.go:122-134 \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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a96eb6816adc7bdaf4a6b10ddb66a325c8285cd03b66754e162c5caa1cdd955"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): hypershift-operator/controllers/etcdbackup/reconciler.go:131-142 | hypershift-operator/controllers/etcdbackup/reconciler.go:148-159 \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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aedcf29052bdba0147ed2ab3139cec40832a2173d60815eb9a64e08c81ffd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): hypershift-operator/controllers/nodepool/nto.go:158-176 | hypershift-operator/controllers/nodepool/nto.go:200-213 \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":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"494f56cc9f4f99bbb941ec9b6a1ddb3db157bfb65973c955a051fd4ec92af224"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ignition-server/controllers/local_ignitionprovider.go:204-214 | support/util/util.go:335-347 \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":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cac41df14972a9b80bafa7b240c343f185796560488b5e2a809f75194034393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): cmd/bastion/aws/create.go:351-374 | cmd/bastion/aws/create.go:596-624 \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":"cmd/bastion/aws/create.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d34a64427da4ecb9d3c589c3624097547f508db710ad82d63eed0854751d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2780-2793 | hypershift-operator/controllers/nodepool/nto.go:215-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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01faac5ed28260ffa16f8da1547d3f8561df4ec7658e475831bc3f1037685e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): cmd/install/assets/hypershift_operator.go:2002-2030 | cmd/install/assets/hypershift_operator.go:2147-2170 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"e753f0a792d804d3d09d46ad8faabbfc18232061922fb8981cfc2f520ff234e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_credential_operator/component.go:36-54 | control-plane-operator/controllers/hostedcontrolplane/v2/dnsoperator/component.go:35-52 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_credential_operator/component.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0694c8a0597a02d6c2a2c86515a8d7cce7ca863ab83023fc2eb21379aa4d4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): support/releaseinfo/releaseinfo.go:330-344 | support/releaseinfo/releaseinfo.go:348-365 \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":"support/releaseinfo/releaseinfo.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308a4a7f6d68a16c2a0d6867418da157d0f342882aa0fc8aea09fa9ca321ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/alerts/reconcile.go:40-48 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/crd/reconcile.go:31-39 | support/assets/readasset.go:28-37 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/alerts/reconcile.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"066538c6398f02571edb09ef391ddac48fa67ae520c73f578ab4f8d0c25525b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): support/k8sutil/object.go:27-40 | support/statuspatching/statuspatching.go:27-41 | support/statuspatching/statuspatching.go:48-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/k8sutil/object.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee92c3d701b80b5aa6d33d388200e6458a68134f77f704a23e0763add68ed410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1283-1291 | control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1293-1301 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09bbb8ac7e925a8fa4e6afbd23d26fd37d11beaa495ea546366d4e0c42e1fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:181-199 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:201-217 \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c078db6c148f54acc3d27bad32451ac78057b8eb6de6db033d0187c4dd5f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): hack/tools/crd-schema-check/main.go:303-321 | hack/tools/verify-api-deps/main.go:335-358 \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":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"702fccdec42ba11b9bbeaaa4aec0c2f06c7e33294ac6efe771cdbf2abfcb18ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): hypershift-operator/controllers/platform/aws/controller.go:144-156 | hypershift-operator/controllers/platform/aws/controller.go:182-194 | hypershift-operator/controllers/platform/aws/controller.go:219-236 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8e439f7569b361c81c478b4f6b4b179de93d905cca58a30a073abd7d39eff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): hypershift-operator/controlplaneoperator-overrides/overrides.go:81-93 | hypershift-operator/controlplaneoperator-overrides/overrides.go:95-107 \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":"hypershift-operator/controlplaneoperator-overrides/overrides.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0305f98d0af1fd6d836d67d9d39429aa48010d439da3f80100d92270df7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): pkg/capi/ibmcloud/api/v1beta1/ibmpowervsimage_types.go:27-100 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsimage_types.go:27-128 \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":"pkg/capi/ibmcloud/api/v1beta1/ibmpowervsimage_types.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffb5474fb54109e5218fcd92dfb9e38b342a2255b9a4643b1f97d14ddafc073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:72-84 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:86-99 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:101-114 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:170-183 | control-plane-operator/controllers/hostedcontrolplane/v2/kcm/kubeconfig.go:14-25 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6541907ce5f58742ca9dbf98fe1b01c4748f5aec78c8c33a4dacf3669f7f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/nto/deployment.go:11-25 | control-plane-operator/controllers/hostedcontrolplane/v2/pkioperator/deployment.go:12-27 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/nto/deployment.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65146f9d806c06337627f4835d53ca68d63c0d0dc891a9e02ee0bb7ce9abb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/ocm/component.go:33-51 | control-plane-operator/controllers/hostedcontrolplane/v2/routecm/component.go:35-52 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/ocm/component.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f73b91613b397d710033712a81a7a2a8e27f25a492bc64d361342c40bb4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/capi/aws/api/v1beta1/network_types.go:439-479 | pkg/capi/aws/api/v1beta2/network_types.go:957-1014 \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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f628a7114cc0e637d2dca7a22bfb2567ad09c568d2a497efcff1621825a7550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): support/metrics/sets.go:116-137 | support/metrics/sets.go:354-375 | support/metrics/sets.go:377-398 | support/metrics/sets.go:400-421 | support/metrics/sets.go:423-444 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/metrics/sets.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07a431e688a31958bf9aeb33fe5cd0e38ca5ccdbc1a5a18b2a9aa45fbb99240"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): support/controlplane-component/deployment.go:132-144 | support/controlplane-component/statefulset.go:67-79 \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":"support/controlplane-component/deployment.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c441b8d3b2ceb97bbeacfc572a1ff0384d8049a8a8633d0e660553364ff1715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): support/imageregistry/imagemetadata.go:425-437 | support/imageregistry/imagemetadata.go:440-452 | support/imageregistry/imagemetadata.go:455-467 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/imageregistry/imagemetadata.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33e3e730f05b48033fb10e666ded04e8896ad55f293797fb725919ca1d55e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): hack/copy-capi-types/main.go:621-641 | hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go:410-430 \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":"hack/copy-capi-types/main.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea6d79e76dc48da0f9146e5e87fcee1f86d01201abc658b61b5af82742f412d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): support/netutil/expose.go:73-91 | support/netutil/expose.go:93-111 \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":"support/netutil/expose.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb30a3f85fc89425d1612a6d8f675a3504f4ed6e1f435563a5e96b0f37adb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/cluster/gcp/create.go:424-439 | cmd/cluster/kubevirt/create.go:285-299 \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":"cmd/cluster/gcp/create.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef5af7fb419077bce077854ab523fc46031ba23d6c63462fc9c3e9ad1e6d332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:281-294 | control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:298-311 \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":"control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30a4325c587942763e755483aeedb23f03910734e16ea683a730d87dff4849f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/pki/ca.go:195-217 | control-plane-operator/controllers/hostedcontrolplane/pki/ca.go:244-263 \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":"control-plane-operator/controllers/hostedcontrolplane/pki/ca.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"12309bc7e71f102d6efdfcc5ebb31cf3125870cd0b2e939766c2f087c952a052"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go:55-64 | control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go:72-81 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"21937c3b836973206748517013887ed9ea300b940ce76578822b4adc7740bbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3936-3950 | hypershift-operator/controllers/nodepool/nodepool_controller.go:757-768 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f39880eb27ef9a74c8c6b9a700059d92c87bf8bff04ca8b8ef29ee716ad3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalog_operator/component.go:34-56 | control-plane-operator/controllers/hostedcontrolplane/v2/olm/olm_operator/component.go:34-60 | control-plane-operator/controllers/hostedcontrolplane/v2/olm/packageserver/component.go:33-50 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalog_operator/component.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040d67ab791f9371f2b259808a4ea206fd7e943120cfc40d40cadfaec46564f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:824-837 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:890-903 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:925-941 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2af953735b5a0ec1c4f65508d1acfddad25c2422d41aec6f754357a05acacb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): hypershift-operator/controllers/platform/gcp/loadbalancer_labels_controller.go:79-89 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:69-82 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:84-97 \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":"hypershift-operator/controllers/platform/gcp/loadbalancer_labels_controller.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a9178f457ddd5526429faf68fa672157a0dc1d1140ab90b38319683405ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/destroy/destroy.go:12-26 | product-cli/cmd/destroy/destroy.go:14-28 \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":"cmd/destroy/destroy.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bea5620456a225c89c3406098bd50525898295f49aa37681a66278131861488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): cmd/install/assets/crds/assets.go:109-124 | cmd/install/assets/hypershift_operator.go:2510-2525 | control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:75-90 \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":"cmd/install/assets/crds/assets.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a670cc17c7e02e8caa740804e81a9195cb64750585ce790ac2c71600ca974961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): cmd/install/assets/hypershift_operator.go:136-151 | cmd/install/assets/hypershift_operator.go:159-174 | cmd/install/assets/hypershift_operator.go:182-197 | cmd/install/assets/hypershift_operator.go:206-221 | cmd/install/assets/hypershift_operator.go:228-243 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6915d9cd3735ce88c3ff713c4350ae1b7eec6d9dfbad2d1e817c0c98f71052"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/cloud/azure/providerconfig.go:3-36 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/config.go:177-207 \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":"control-plane-operator/controllers/hostedcontrolplane/cloud/azure/providerconfig.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dbd30c860afcf0ad482b7b3f170691bdb9b618fdf4b557da78e160c5034d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cmd/infra/aws/ec2.go:113-124 | cmd/infra/aws/ec2.go:297-308 \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":"cmd/infra/aws/ec2.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7aed4fac7a9c0b37b8bef1ce79c50af49ca6598172aaf34d6c4213eadbd207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/kcm/component.go:17-38 | control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/component.go:32-49 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kcm/component.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b4de1ccb95a1221750e689e28fcc5b7ba7f3ce204d313aac82ae52a7932ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): hypershift-operator/controllers/hostedcluster/network_policies.go:596-613 | hypershift-operator/controllers/hostedcluster/network_policies.go:615-632 | hypershift-operator/controllers/hostedcluster/network_policies.go:843-860 | hypershift-operator/controllers/hostedcluster/network_policies.go:862-875 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315cd3c990a4833bf96ea0f2b4e772ebc368a8fb874bb488cd9ba10c41ddfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/capi/aws/api/v1beta1/tags.go:233-251 | pkg/capi/aws/api/v1beta2/tags.go:244-264 \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/capi/aws/api/v1beta1/tags.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00d0de43d69201c076890d4130aaecfd7eedcae34aad8762058220597930004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cmd/infra/aws/route53.go:319-342 | support/awsutil/route53.go:143-160 \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":"cmd/infra/aws/route53.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7b43c8e91eff23fb46a4cb77a86b9cbcaa0ac349848c2896f6d3d4239b1528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/util/client.go:204-214 | cmd/util/params.go:100-116 \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":"cmd/util/client.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eb28ea70d68331a4a2832ee7c6f41fde3fb621fbf6cd3b3ba29e55ad40df71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): hypershift-operator/controllers/nodepool/token.go:180-193 | ignition-payload-controller/main.go:191-201 \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f95114c47cd3e5c395ca8ce44b3b35853a01fc7c0ed08540359b853077325ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/cluster/dump/dump.go:981-995 | cmd/install/install.go:1156-1172 \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":"cmd/cluster/dump/dump.go"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"886b8c5b6f37b2294e048bd40b6659cf592730083da32ae06124d030e878c86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cmd/infra/aws/ec2.go:221-229 | cmd/infra/aws/ec2.go:231-242 \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":"cmd/infra/aws/ec2.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1625c792d8ddfad5d5dc3a45bcb0043c05f7128ef6daf115fea201c359c49287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): cmd/infra/aws/iam.go:1376-1386 | cmd/infra/aws/iam.go:1388-1400 | cmd/infra/aws/iam.go:1402-1416 \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":"cmd/infra/aws/iam.go"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd011be703ac57385ada32912b2614770a5d56311f948fa23304604bb4c4131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): cmd/util/client.go:158-170 | cmd/util/client.go:187-201 | etcd-recovery/etcdrecovery.go:480-492 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4877c488a267edc26d87d1aefb34f83eb0657e4e8045de664f612f9979e9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:396-406 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:408-419 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9d77f8bd0c7e5bffb81c8f2194334efb4e0dfae76de4d5f0427c11e77420ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:351-364 | karpenter-operator/controllers/karpenter/machine_approver.go:252-265 \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2a660a8a3c5feb33811b89991ef63858b760aa2162e0ae13add211f1637afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): pkg/capi/openstack/api/v1beta1/openstackmachinetemplate_types.go:26-77 | pkg/capi/openstack/api/v1beta2/openstackmachinetemplate_types.go:25-89 \u2014 These two members are one piece of code written twice and then edited apart: 52 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/capi/openstack/api/v1beta1/openstackmachinetemplate_types.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"33463cb655da29a41b82c19722abb22b5469770328dbfa6c4c5a6741432d57ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): cmd/install/assets/hypershift_operator.go:1762-1776 | cmd/install/assets/hypershift_operator.go:1778-1792 | cmd/install/assets/hypershift_operator.go:1794-1808 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d1f2bceca2b80802e06aa0e2eb8f3935b9a53b08ca7e73f6d8aaeddcabaed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/assets/assets.go:127-141 | support/controlplane-component/cronjob.go:34-47 | support/controlplane-component/deployment.go:85-98 | support/controlplane-component/job.go:35-48 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/assets.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdecedf52dac8344e826d383c1f42b8b494d8248fea03282109598d09a6a1be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/podmonitor.go:11-17 | control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go:11-17 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/servicemonitor.go:13-21 | control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/podmonitor.go:11-17 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/podmonitor.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"623c47ae48a4292a54a36ac084acd39e94db338f669e08fe18715c6a9b63c5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:247-264 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/registry/admissionpolicies.go:103-120 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe50c5fc09dde7d5ca9cc7427739456739dc0f2c832ded5149b90d53315660e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:558-571 | hypershift-operator/controllers/nodepool/kubevirt/network.go:108-122 \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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe623ff63d21d3bd77fe560a91c951ff5fa24e8ef72b9881391ae9d570bacb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/capi/aws/api/v1beta1/network_types.go:359-369 | pkg/capi/aws/api/v1beta2/network_types.go:863-873 \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/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"390a3b23cba69964c1206c91400b76815a2dd1a536332bbeaaf4523d89e88780"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): support/config/cipher.go:39-52 | support/config/cipher.go:70-86 \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":"support/config/cipher.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e4486c28b690f5e053456add36095c791a392cc2c4a0fbfbf6ab9e1c4e3442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/infra/gcp/networking.go:368-377 | control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go:199-208 \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":"cmd/infra/gcp/networking.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"388866eedc80cffa1a16e8aed07b56beb1063306c40b20393ddd89942af488eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:681-687 | control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:689-694 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"085358033e1e30a0169505f98be7c5505d2d50b362f6d75e740c672f27a9b6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): hypershift-operator/controllers/ignitionpayload/controller.go:445-454 | hypershift-operator/controllers/ignitionpayload/controller.go:457-466 \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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"708fef83454404a47db3ccbed5cd3c852b59361acf37970af34cc8cf28dba358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): support/awsutil/sg.go:202-211 | support/awsutil/sg.go:213-222 \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":"support/awsutil/sg.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e529c3b18201c423fedcc8900fa91f3fc8f9a6697a1073100c973b98106233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/infra/azure/destroy_iam.go:151-165 | cmd/infra/gcp/iam.go:667-677 \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":"cmd/infra/azure/destroy_iam.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3f42838b2615dc6e2d2811d3717022a056f3bb1bf34ec10e5a749f6f260030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:566-573 | hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:575-582 \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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8472e7b838737c3228199b483f6063f0f5a45d8f57706065035d48ee1db682a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:92-103 | control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/component.go:60-70 \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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb686cd4df415cb4c022fc59af22a13758d0144a7573e397cba561e8ff7891a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:679-688 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:692-703 \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4705eccd5633d5b722aceee9ce3691c8bac8f717117a3835ce244f88c9be2d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): hypershift-operator/controllers/etcdbackup/reconciler.go:438-447 | hypershift-operator/controllers/etcdbackup/reconciler.go:514-529 | hypershift-operator/controllers/ignitionpayload/controller.go:472-481 | support/karpenter/karpenter.go:120-129 \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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3178d3c604aeda0eb435ad63d6b281e6f4f1daace5ad751342c39a89d30bb20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): pkg/capi/aws/api/v1beta1/tags.go:131-190 | pkg/capi/aws/api/v1beta2/tags.go:131-201 \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":"pkg/capi/aws/api/v1beta1/tags.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b108644c68b04eb9643d087c07c0e3cb13a7b3245239c52c0354d931811fc23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cmd/oadp/common.go:67-80 | cmd/oadp/common.go:86-97 \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":"cmd/oadp/common.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5e1b35077605be9a43a19f35e29b58cea66e66587eb281cc7e88ee73f9779d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cmd/util/azure.go:50-62 | hack/tools/verify-api-deps/main.go:53-68 \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":"cmd/util/azure.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43c00d8ba654a8064ad9c5ce920f5b455966a4d61024c28a7569ddc82b3518e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:405-414 | control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:416-425 | control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:427-437 \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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a38d5ead404d56c1a516523e844d2d186dd4d5599bd9cb2d8f44b4a9ec6c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:223-243 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:357-372 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e6799d1f893e6d2ce57cf0ff83295239eaec26e2d6de4197b7be238753fa2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:320-330 | control-plane-operator/controllers/hostedcontrolplane/oauth/route.go:17-28 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"03172520b705a382987e9bcc9cbc7513b5a84580bb4c18d214f051cfa786d9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/oapi/reconcile.go:37-55 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/olm/packageserver.go:34-52 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/oapi/reconcile.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f3db2cf24cd0f3ab4f0c0249e1751babe71eecb002112ad656450e79c74093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/infra/aws/create_cli_role.go:250-259 | support/awsutil/sg.go:264-276 \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":"cmd/infra/aws/create_cli_role.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2cbeb30040ba5d5d760414e18f8bb6df8696648bd193d27d05c49424dea045"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): cmd/util/client.go:68-80 | cmd/util/client.go:84-96 | cmd/util/client.go:100-112 | cmd/util/client.go:116-128 \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":"cmd/util/client.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a27ba4f5fbdc7921c073be909712610a0869af4945a6dff41e3ee0ef2409cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/component.go:32-46 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go:37-54 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/component.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780bd00786e68c2bcf72b7e292f8ef71ab77909fcdff4bad4d8e90c7004cdc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/capi/ibmcloud/api/v1beta2/ibmvpcmachinetemplate_types.go:25-65 | pkg/capi/ibmcloud/api/v1beta1/ibmvpcmachinetemplate_types.go:24-59 \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":"pkg/capi/ibmcloud/api/v1beta2/ibmvpcmachinetemplate_types.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1479b0070fb7995aa92ab9f3ca327a3452954fac22b63a8db37650095b921"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:840-920 | pkg/capi/openstack/api/v1beta2/types.go:999-1079 \u2014 These two members are one piece of code written twice and then edited apart: 81 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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a2dacf71133b6e49f4a5e83d19833e56527a6a99bef1dc311b2b953f0ac61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:296-310 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:312-326 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:366-380 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:486-500 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"68662218231712276586fd6d5eace7fd1a4239f9bc4c3042ac67111da400609c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): hack/verify-tekton-pipeline-pairs.py:46-55 | hack/verify-tekton-pipeline-pairs.py:59-67 \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":"hack/verify-tekton-pipeline-pairs.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"047fef72b7b58dfa083bc526e0fed84b1214a007c9e7c190220c2c6df3c863db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): support/util/util.go:252-264 | cmd/util/client.go:174-184 \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":"support/util/util.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1db6f53c131c1d04204e49764a9b91f26a059782d54dfd8a51e32761feb9373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/capi/aws/api/v1beta1/network_types.go:319-326 | pkg/capi/aws/api/v1beta2/network_types.go:801-811 \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/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"187de1c077062dc4e81e0968a60e5f35a7d0d6224237ff14596862e090282481"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): hypershift-operator/controllers/hostedcluster/etcd_recovery.go:359-372 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3538-3554 | hypershift-operator/controllers/manifests/controlplanepkioperator/reconcile.go:65-79 \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":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d65659c9d8be5585a5c18e1e6489047a864acf5a30c58f96148557b266b8bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:922-924 | pkg/capi/openstack/api/v1beta2/types.go:1081-1083 \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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"135005f75fc38c3d75d071a2193193f6edb8733b72d2a221027206367cc9364e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): cmd/cluster/aws/create.go:452-464 | cmd/cluster/azure/manifests.go:10-22 | cmd/cluster/gcp/create.go:294-306 | cmd/cluster/kubevirt/create.go:301-314 | cmd/cluster/openstack/create.go:255-268 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/aws/create.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5378c7d27cc38f7046d38cbd815d7d950961762f2a08a985e404e02ad24fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cmd/infra/gcp/iam.go:886-899 | cmd/infra/gcp/iam.go:998-1010 \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":"cmd/infra/gcp/iam.go"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7419ffabf32705799827a037123254fdfe4a1945ffffb5930d4aa76d9d4e75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go:16-26 | control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/certs.go:18-28 | control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/pki.go:24-34 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/certs.go:19-29 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b9472c0d3083662531e2ac04837e2c56dce0b1372096f0ebde8827df2b9875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): product-cli/cmd/nodepool/agent/create.go:11-24 | cmd/nodepool/agent/create.go:37-48 \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":"product-cli/cmd/nodepool/agent/create.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f8f446e7e9d95a3b7d96532ee9fdc0055ab8deaae15774bb54b8feab21e8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): hypershift-operator/controllers/platform/aws/controller.go:658-665 | support/awsutil/route53.go:455-461 \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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36ccc73a4aaab5dd9950672e4a692b2cc7d3d216c8b6b10b1ed12ec95e9486e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:40-49 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go:40-50 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"86137814f39f0c58f4467048351387464a0bc3c9915f9482ed79a9fe910c5488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/oauth/reconcile.go:61-71 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3527-3536 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/oauth/reconcile.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b4890e85285f11767760f55c674eb11182ef2b951eca8194b90495e5c5d711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/capi/openstack/api/v1beta1/openstackclustertemplate_types.go:24-52 | pkg/capi/openstack/api/v1beta2/openstackclustertemplate_types.go:25-68 \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":"pkg/capi/openstack/api/v1beta1/openstackclustertemplate_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a59f66f19005e09a09998d05cbe7eddb1c62565632dfb4f26020b0da51eb6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): support/azureutil/azureutil.go:351-364 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:361-371 \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":"support/azureutil/azureutil.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"828283e5ff7baae5206cebe0d8a216e30ca90405f56bbcaf58cce50c9ee49a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): control-plane-operator/hostedclusterconfigoperator/operator/config.go:194-202 | karpenter-operator/main.go:248-256 \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":"control-plane-operator/hostedclusterconfigoperator/operator/config.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f7649a3ce7daa500a0621f7da26c58b5dffdc076072afb4b539ab7a9bb634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:26-69 | pkg/capi/openstack/api/v1beta2/types.go:28-74 \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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad17ca2b171339cc904072ce118fb6fb5c3f5156cb496b70fc0982cf5490732"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go:580-585 | support/azureutil/azureutil.go:278-283 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"432c92f61f672d2400338fed7ee20b443083ee173c41cbb641b5f4e1c8fc6861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): hypershift-operator/controllers/hostedcluster/metrics/metrics.go:221-235 | hypershift-operator/controllers/nodepool/metrics/metrics.go:180-194 \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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2321a9380c2ed20a8d89f8c3c8c881404335270d4788cf44fe6c93dabddc55b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:118-120 | pkg/capi/openstack/api/v1beta2/types.go:156-158 \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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe26d758aa472af3cbb06e9eae33cba8dc88433b2d3b0554e45db7fe1ab0795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:193-217 | pkg/capi/openstack/api/v1beta2/types.go:243-283 \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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1be05c11d72d41e5f01f6535a3203944746d365e37df911910bedfb91b3784e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cmd/cluster/openstack/create.go:225-232 | cmd/cluster/none/create.go:79-85 \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":"cmd/cluster/openstack/create.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1121f2866b84addaf38e67e7b1cc8bde77435fd03d2b0140d83389ec0743f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/manifests/kas.go:64-75 | pkg/manifests/cpo/kas.go:31-42 \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":"control-plane-operator/controllers/hostedcontrolplane/manifests/kas.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b1c2c93bd842fe3a737a930b28a22339d16f03488b0cdecc46674e65f70e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/component.go:32-45 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/powervs/component.go:32-41 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/component.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"98807f613d8e76ef989ec757fdf0dcaeae6b2f690166efdcf3ee53163cd3cb97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:932-968 | pkg/capi/openstack/api/v1beta2/types.go:1091-1132 \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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e3c8176d9950f75f61c50893ff41c2980f6cf81e6e5c17b8d8dae71ca0a8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:222-227 | support/netutil/networking.go:61-66 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f918ab4d781bc9d1f9b86563b277d0483c2e399658d5c85717d3474e6eabb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/capi/azure/api/v1beta1/groupversion_info.go:27-38 | pkg/capi/ibmcloud/api/v1beta2/groupversion_info.go:28-39 \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":"pkg/capi/azure/api/v1beta1/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0315af42fb99ee47a53f709dd170c0d0230fa641a14dc26e6ba04352d7b9628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/capi/openstack/api/v1beta1/types.go:78-116 | pkg/capi/openstack/api/v1beta2/types.go:114-154 \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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47cfb598d26198b088c9081874618811852faaaff7d659f21169099c3758fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): api/util/ipnet/ipnet.go:25-31 | etcd-recovery/etcdrecovery.go:686-692 | pkg/capi/aws/api/v1beta1/network_types.go:297-303 | pkg/capi/aws/api/v1beta2/network_types.go:775-781 \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":"api/util/ipnet/ipnet.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa85257b4d54e43c86e93fedb5911822b73dc7b96e44ee9155075a57b7f80ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): cmd/cluster/core/create.go:932-934 | karpenter-operator/crd_wait.go:102-108 \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":"cmd/cluster/core/create.go"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30aaa8102d34abe2f6798563f87e97f2b485f9a28c8255345365ce756a9ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): hack/tools/hypershiftlinter/analyzers/contextbackground/contextbackground.go:92-100 | hack/tools/hypershiftlinter/analyzers/sippyannotation/sippyannotation.go:85-93 \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":"hack/tools/hypershiftlinter/analyzers/contextbackground/contextbackground.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"539c6994269c8d8df0fdc741e03088029843472f9aaf26b4f9dc02f05afde10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/manifests/azure_disk_csi_driver_operator.go:9-19 | control-plane-operator/controllers/hostedcontrolplane/manifests/azure_file_csi_driver_operator.go:9-19 | control-plane-operator/controllers/hostedcontrolplane/manifests/nto.go:9-19 \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":"control-plane-operator/controllers/hostedcontrolplane/manifests/azure_disk_csi_driver_operator.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7c26572bf03b4909d5af64418a839f1aa4e1d273718379ad72937d1176fa10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go:142-147 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go:233-239 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0746e5fbff798c7b0a95d3a03cd4a7a8b6c9847dfbc248f6696f14f5a05bd696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:133-139 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go:124-130 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:112-118 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"176774bccc2da63d6e2d1e3ee81ff66251bf883c3e359510cf0dc96fb56e95c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/namespaces/reconcile.go:31-40 | support/labelenforcingclient/labelenforcer.go:42-51 | support/netutil/route.go:178-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 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/namespaces/reconcile.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f9815ce9c82ea02b4f4b1586b98dcdf287d85b521a8f3ee9a1f261320d2cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/capi/aws/api/v1beta1/network_types.go:242-276 | pkg/capi/aws/api/v1beta2/network_types.go:619-701 \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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa438e8c73ce16cae6827ac910502e0778e924d3afc5bd901d6968228780a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): control-plane-operator/controllers/hostedcontrolplane/ignition/reconcile.go:80-86 | hypershift-operator/controllers/ignitionpayload/token.go:136-142 \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":"control-plane-operator/controllers/hostedcontrolplane/ignition/reconcile.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fd0e6263efa56f9f27c57a689b7a9d070b01ec371427a2377417dcd03ce528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/capi/agent/v1beta1/groupversion_info.go:27-36 | pkg/capi/gcp/api/v1beta1/groupversion_info.go:27-36 \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":"pkg/capi/agent/v1beta1/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3264b8cc11e0438c811645891812b18726993eba2af590401a2ae1fd91c57777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go:759-766 | hypershift-operator/controllers/nodepool/manifests.go:19-26 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2957bfc90923f9cc329e21e96dec6701e7ff2e8719eb6455e36bef28fc45fa8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:267-272 | support/k8sutil/object.go:20-25 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"33482dcd8c0cd95a3026cad8354a196f0957fd23112528837f21519d0c66d45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): hack/tools/crd-schema-check/main.go:33-38 | hack/tools/verify-api-deps/main.go:16-22 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"285879afaa837d0f3f5fe0b764075f8a129abc9078461b9d0c20fa089691a8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): hack/tools/crd-schema-check/main.go:272-278 | hypershift-operator/controlplaneoperator-overrides/overrides.go:117-123 \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":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1380548014886551ba23fb8a6c6e6bddbfd5b17fb3c4b72ad242bbe6c3a38c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (382 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:913-1294 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:517-898 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:913\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"709fad2c06b1efbed709fd16a9e7a7de986cf82181c24c8c2caab68dad84b589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (156\u2013159 lines \u00D7 2): pkg/capi/aws/api/v1beta1/awsidentity_types.go:24-179 | pkg/capi/aws/api/v1beta2/awsidentity_types.go:24-182 \u2014 \u0060pkg/capi/aws/api/v1beta1/awsidentity_types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/awsidentity_types.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 2 separate duplicated blocks between them, totalling at least 169 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":"pkg/capi/aws/api/v1beta1/awsidentity_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64890ca87c2f455710e92ea583df6199106d44db19e8be2d696c0951b092e693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (169 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:584-752 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:157-325 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:584\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa179225e16535ee243817ba8b2e9a19f5f3928d157fbb10a7abefc40dd894c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (101 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:643-743 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:713-813 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"e321e26c3f96858c193b0ea2bfd9b1c36ab6a70f5fa654484d7be0fe4bc70b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u2013101 lines \u00D7 2): pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachine_types.go:73-173 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsmachine_types.go:124-176 \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 \u0060pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachine_types.go:73\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. 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":"pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachine_types.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f1b634eded79e0addf7a777770756c9cfe44dfa951217904c62ed8e9eba653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (196 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go:94-289 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth_types.go:111-306 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth_types.go\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce67db2fe0b9355fce7f0435a5b6b05361b6909b16ca79a4dc762bbf7e86759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): pkg/capi/aws/api/v1beta1/types.go:77-172 | pkg/capi/aws/api/v1beta2/types.go:103-198 \u2014 \u0060pkg/capi/aws/api/v1beta1/types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/types.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 2 separate duplicated blocks between them, totalling at least 177 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 \u0060pkg/capi/aws/api/v1beta1/types.go:77\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/capi/aws/api/v1beta1/types.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"897956506d90ee869c85918c0d34a9e67e813ef203f1c15d7b9ff5767f86eb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (128 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:769-896 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:382-509 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:769\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4436ed4748cf59f4b429dfbcbdac157d83569304ce3e3be49391c847c0b816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2): pkg/capi/agent/v1alpha1/agentmachine_types.go:25-113 | pkg/capi/agent/v1beta1/agentmachine_types.go:25-113 \u2014 \u0060pkg/capi/agent/v1alpha1/agentmachine_types.go\u0060 and \u0060pkg/capi/agent/v1beta1/agentmachine_types.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 1 separate duplicated blocks between them, totalling at least 89 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":"pkg/capi/agent/v1alpha1/agentmachine_types.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b2a010a25c4b62c16ceb7a7a4c77a652e6d34cf74c3638bde8aa3c9e9f2af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83\u201384 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:293-375 | pkg/capi/openstack/api/v1beta2/types.go:373-456 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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 \u0060pkg/capi/openstack/api/v1beta1/types.go:293\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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de9cb023d79dd463dbe0d3d6465cc126dec121ab1d14842d1118c72bd9547c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): pkg/capi/aws/api/v1beta1/types.go:213-293 | pkg/capi/aws/api/v1beta2/types.go:497-577 \u2014 \u0060pkg/capi/aws/api/v1beta1/types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/types.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 2 separate duplicated blocks between them, totalling at least 177 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 \u0060pkg/capi/aws/api/v1beta1/types.go:213\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":"pkg/capi/aws/api/v1beta1/types.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a4e1bedc31255d6da85be7ddf98807e67faa646c40dcd3272811df89cda731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:545-621 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:615-691 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"55080b6e37951fd084998489812c1f5cea0a28e96f2b4db5fe780425dc0068c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): pkg/capi/agent/v1alpha1/agentcluster_types.go:24-99 | pkg/capi/agent/v1beta1/agentcluster_types.go:24-99 \u2014 \u0060pkg/capi/agent/v1alpha1/agentcluster_types.go\u0060 and \u0060pkg/capi/agent/v1beta1/agentcluster_types.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 1 separate duplicated blocks between them, totalling at least 76 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":"pkg/capi/agent/v1alpha1/agentcluster_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c685d35e9bc9b2e94c6b744c8772e8a3d5bf9d057d9ac77c245baf65ecf6bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201371 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/openstackmachine_types.go:115-176 | pkg/capi/openstack/api/v1beta2/openstackmachine_types.go:111-181 \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 \u0060pkg/capi/openstack/api/v1beta1/openstackmachine_types.go:115\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/capi/openstack/api/v1beta1/openstackmachine_types.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"131c18591cda928f48027f009b5b24cbdb1e4b4edc067b5c6f3353428f4594e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): pkg/capi/aws/api/v1beta1/awscluster_types.go:72-139 | pkg/capi/aws/api/v1beta2/awscluster_types.go:84-151 \u2014 \u0060pkg/capi/aws/api/v1beta1/awscluster_types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/awscluster_types.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 1 separate duplicated blocks between them, totalling at least 68 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 \u0060pkg/capi/aws/api/v1beta1/awscluster_types.go:72\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/capi/aws/api/v1beta1/awscluster_types.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e4153c3a2bf64cb50ac1e2f8672baa6a7c9614cf125c5d33a74715e6bf00e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:470-535 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:540-605 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae06daefc24be65f84aee717dd8068fb6fdd852901ae92db290e03e4aed4fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201363 lines \u00D7 2): pkg/capi/aws/exp/api/v1beta1/awsmachinepool_types.go:149-211 | pkg/capi/aws/exp/api/v1beta2/awsmachinepool_types.go:241-302 \u2014 \u0060pkg/capi/aws/exp/api/v1beta1/awsmachinepool_types.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/awsmachinepool_types.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 1 separate duplicated blocks between them, totalling at least 63 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 \u0060pkg/capi/aws/exp/api/v1beta1/awsmachinepool_types.go:149\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/capi/aws/exp/api/v1beta1/awsmachinepool_types.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9823a7166ad5fc5d67ccba293b23a9695f19849a449061668e844852605e101c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201361 lines \u00D7 2): pkg/capi/aws/api/v1beta1/network_types.go:372-431 | pkg/capi/aws/api/v1beta2/network_types.go:889-949 \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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"59faffcc183dbf45e718e80f85c47853cd23c28218e239f3ede6a4c6fe411a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201359 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:774-831 | pkg/capi/openstack/api/v1beta2/types.go:932-990 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac994b2ad0f40b3a675c488e5c9e35ef27da5febe69266336b575e9dde4a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): hypershift-operator/controllers/ignitionpayload/config.go:133-185 | hypershift-operator/controllers/nodepool/config.go:433-485 \u2014 \u0060hypershift-operator/controllers/ignitionpayload/config.go\u0060 and \u0060hypershift-operator/controllers/nodepool/config.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 90 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 \u0060hypershift-operator/controllers/ignitionpayload/config.go:133\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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"10610fe4dcbfc3e42090a940810650fd065b58aff9631cbf6f534ded0e494ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): pkg/capi/aws/api/v1beta1/conditions_consts.go:21-72 | pkg/capi/aws/api/v1beta2/conditions_consts.go:21-72 \u2014 \u0060pkg/capi/aws/api/v1beta1/conditions_consts.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/conditions_consts.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 2 separate duplicated blocks between them, totalling at least 96 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 \u0060pkg/capi/aws/api/v1beta1/conditions_consts.go:21\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":"pkg/capi/aws/api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"286e111aadfa6f69625ec66f669e30c918f9850952c634979b875c644c9a5c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): pkg/capi/aws/api/v1beta1/network_types.go:492-543 | pkg/capi/aws/api/v1beta2/network_types.go:1048-1099 \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 \u0060pkg/capi/aws/api/v1beta1/network_types.go:492\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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a96a45987081683c4f412d5ff0eca5a08c16bd2b3ac7bd87cc8d5e98ae53b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:519-570 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:100-151 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:519\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9a8d76ea1cdc4bc6eeac05041fee6490340a257d6490e4ab1c5ed7b9649f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2038-2082 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1085-1133 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2038\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ec6a6c3aee916f20464f0abe7102e32c2b14adb2b5030cf3f84175c30ce536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): pkg/capi/aws/exp/api/v1beta1/conditions_consts.go:57-104 | pkg/capi/aws/exp/api/v1beta2/conditions_consts.go:75-122 \u2014 \u0060pkg/capi/aws/exp/api/v1beta1/conditions_consts.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/conditions_consts.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 1 separate duplicated blocks between them, totalling at least 48 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 \u0060pkg/capi/aws/exp/api/v1beta1/conditions_consts.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":"pkg/capi/aws/exp/api/v1beta1/conditions_consts.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ea87a43f5bc6f3eabab0c4807037b9a31492c03a228743c45e18938ff3664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:404-450 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:474-520 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:404\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc0ec58586e6d85d78ab221dc132de6b5bd57e452729610a7829e67bfe8012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/network_policies.go:406-451 | hypershift-operator/controllers/hostedcluster/network_policies.go:917-962 | hypershift-operator/controllers/sharedingress/router.go:337-382 \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"169db0557a7d6603ac41a4a14d3d7c27674ac9c5b51cfe246691e7f6532f4cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): pkg/capi/aws/api/v1beta1/tags.go:79-123 | pkg/capi/aws/api/v1beta2/tags.go:79-123 \u2014 \u0060pkg/capi/aws/api/v1beta1/tags.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/tags.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 2 separate duplicated blocks between them, totalling at least 57 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 \u0060pkg/capi/aws/api/v1beta1/tags.go:79\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/capi/aws/api/v1beta1/tags.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c26e26ecd8bb391edf45eff2506760f507737c600b98e9571f141f40d89aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): pkg/capi/aws/api/v1beta1/conditions_consts.go:131-174 | pkg/capi/aws/api/v1beta2/conditions_consts.go:154-197 \u2014 \u0060pkg/capi/aws/api/v1beta1/conditions_consts.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/conditions_consts.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 2 separate duplicated blocks between them, totalling at least 96 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 \u0060pkg/capi/aws/api/v1beta1/conditions_consts.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta1/conditions_consts.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3af653a54197cae5987b79dc738dcec4ba7b62e321b913f5cb331b27f79d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201344 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:464-507 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:57-97 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a49dff947faa1d850362b07543a142381b16f5428676769343197ecff82e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): pkg/capi/aws/exp/api/v1beta1/types.go:154-193 | pkg/capi/aws/exp/api/v1beta2/types.go:205-244 \u2014 \u0060pkg/capi/aws/exp/api/v1beta1/types.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/types.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 124 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 \u0060pkg/capi/aws/exp/api/v1beta1/types.go:154\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/capi/aws/exp/api/v1beta1/types.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8adbd59c5d691038d6d9f407ec3a47150d166124d5f5257c8cff7302ea0b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachinetemplate_types.go:27-64 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsmachinetemplate_types.go:27-65 \u2014 \u0060pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachinetemplate_types.go\u0060 and \u0060pkg/capi/ibmcloud/api/v1beta2/ibmpowervsmachinetemplate_types.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 1 separate duplicated blocks between them, totalling at least 39 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":"pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachinetemplate_types.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e20b946a798842384bbbbc53322ce43ae0c2789d688acc8200d2722159effb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:291-326 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:380-417 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4959002a01ad7ad28d9d767d3d624b8d8666974d5d5c69ee2460aaf3276be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1371-1419 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:963-1011 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1371\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1013\u0060 calls \u0060reconcileCLISecrets\u0060, \u0060Errorf\u0060 and \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1422\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b3240a856495f0ba8c43f971fce56ff95514dc1a1e37e3a8e3da9e35ea3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:984-1020 | hypershift-operator/controllers/nodepool/capi.go:1288-1324 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3462310dde2ea88f4366a2f8377074684d10507ca5aca7c280983cd555f9b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): konnectivity-socks5-proxy/http_proxy.go:38-74 | support/konnectivityproxy/proxy_dialer.go:27-63 \u2014 before extracting anything, compare \u0060konnectivity-socks5-proxy/http_proxy.go\u0060 and \u0060support/konnectivityproxy/proxy_dialer.go\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060konnectivity-socks5-proxy/http_proxy.go:38\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, \u0060support/konnectivityproxy/proxy_dialer.go:64\u0060 calls \u0060Close\u0060 and \u0060konnectivity-socks5-proxy/http_proxy.go:75\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":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ac568de594f36dd844969277cebc56d55d27a7409ff7cbc79da89fb6cc7df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1984-2015 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1175-1206 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1984\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"41993f725e4c6aaff33eb258266932b9ddccdaeda20a81cd4d5d426bcb1d6994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:163-190 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:172-200 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:163\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. 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":"hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c456d9515e26e6cb08248bf987295dbae1b0ed4db9333d3657ddea31cda113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:97-124 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:97-124 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:97\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd5bed716b227f4833f4c80004b79fed9f5924a159690523659754780e853e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:491-514 | hypershift-operator/controllers/nodepool/capi.go:1138-1165 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:491\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, \u0060hypershift-operator/controllers/nodepool/capi.go:490\u0060 calls \u0060Version\u0060 and \u0060hypershift-operator/controllers/nodepool/capi.go:1137\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ee17e53ec3359b2bf3af92e51f6269985f525a0a490f139ff2e5f2b920aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:454-482 | hypershift-operator/controllers/scheduler/azure/controller.go:70-98 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go\u0060 and \u0060hypershift-operator/controllers/scheduler/azure/controller.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:454\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf7a3f134744f38050b961ebd291e67b795ccfc98b852e0b972df4cf46cfef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:467-493 | hypershift-operator/controllers/nodepool/conditions.go:570-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 \u0060hypershift-operator/controllers/nodepool/conditions.go:467\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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0305599f5b6a102d1eed66cfec47f04e257b48c303a72f36ada637b4d798f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): support/imageregistry/imagemetadata.go:368-394 | support/releaseinfo/registryclient/client.go:267-293 \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":"support/imageregistry/imagemetadata.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eceada035b5c6ea3ab7cc05e04ea9213a118fdb80042addf3b7a961a647d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:474-498 | hypershift-operator/controllers/platform/aws/controller.go:298-322 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:474\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0abc167f39d99bf8727640feca7e218aec08d061b644a316909e214589bcb34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/ingress/router.go:125-149 | hypershift-operator/controllers/sharedingress/sharedingress_controller.go:386-410 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/ingress/router.go:125\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":"control-plane-operator/controllers/hostedcontrolplane/ingress/router.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f1d8ba8ac865130d5b83b064908d0f386c1fa65956a4a751a0584e098a062a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:41-65 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:41-65 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c35c02f9cbbe709a1bab7b3b511685959c3f66b8d37bcdb69365efe9788d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go:142-170 | control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go:169-197 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go:142\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":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be4a1d448ae0047c94d39236745243a949483c49f121b2c1b8faf4a9e77a27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:220-245 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/registry/admissionpolicies.go:76-101 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"72785d3fb5b2c6f49da72a7712da98e9f6507de1c2c111c7165ccbfa1b19accf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:662-686 | hypershift-operator/controllers/nodepool/capi.go:737-758 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:662\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e91c63b0fd5afe32d4ab2ac6846361bce4a78e46c6387eb0451f23e8904d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:812-835 | hypershift-operator/controllers/nodepool/capi.go:1257-1279 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:812\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"d229333a01aaea61fdc596a71db56b4810bdf9ba73971eaaece5cc40c2d1271f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:164-186 | hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go:265-287 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:173-195 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"903e51f844ec4aa7aa20b7d7203a316b98c0ec9b8f8ea8a05fba3c53d2a9f432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): support/releaseinfo/registryclient/client.go:65-87 | support/releaseinfo/registryclient/client.go:135-157 | support/releaseinfo/registryclient/client.go:193-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 \u0060support/releaseinfo/registryclient/client.go:65\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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4989725cbf571081fc474758180f7aef5c9c53b2e04af647982960598a60f781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:372-394 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:150-172 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6010c567fc58022e0c98e754447f3d8b39367ffbec2f093209416a6a67268db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201323 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:730-744 | hypershift-operator/controllers/nodepool/conditions.go:784-806 \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 \u0060hypershift-operator/controllers/nodepool/conditions.go:730\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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"62724333c4605b6cef4f745fc846afc73b30abeae1eeebf0a2884cdac1ce969f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): cmd/nodepool/core/create.go:252-273 | hypershift-operator/controllers/nodepool/conditions.go:1231-1250 \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 \u0060cmd/nodepool/core/create.go:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/core/create.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"24628adf75b2c51359aeb84be8c48e3ffb73c6afb9bb18fea264fe7fb077e4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:427-448 | hypershift-operator/controllers/platform/aws/controller.go:275-296 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:427\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c1be6487bd1ea48deab334666fc6e0298ff3a7954d5e13f0272f92e3a65c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:145-166 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:272-293 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 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 \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:145\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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ee8c9c38e0814638b751a384794c835c06e54c941e77ee6bd3bb5652df8d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:837-856 | hypershift-operator/controllers/nodepool/capi.go:1196-1217 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3ed26d471b4507d13023d78c44f55153abd34bf31b89b77f190a5cd9bdc0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): hypershift-operator/controllers/sharedingress/sharedingress_controller.go:115-135 | sharedingress-config-generator/controller.go:60-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/sharedingress/sharedingress_controller.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b97fdc38c91fc47c045ed66b2a46a77f75af0dcb3265d9538720f9312d9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): contrib/gomaxprocs-webhook/cmd/serve.go:154-173 | contrib/gomaxprocs-webhook/internal/config/loader.go:161-180 \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. Check import visibility before settling on that home: \u0060contrib/gomaxprocs-webhook/internal/config/loader.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/cmd/serve.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbf32e5f9aa1b46b8b1dba1a63dd904e20386fb958311ff69b9de04914eade1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:118-137 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:193-212 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 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 \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:118\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 before the matched lines, \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:116\u0060 calls \u0060generateGroupsClaimMapping\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:191\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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada5a660d0d44132dd3739d3f5a102edc6f0a9c0cb71ad4523e4519758333a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1226-1245 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2926-2940 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d8cdeb5cdb97fc3c28fb8605b19102d47a296eda15e6c341c25f35c2f3015b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go:82-101 | hypershift-operator/controllers/auditlogpersistence/pod_webhook.go:99-118 \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":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"76092e3522fc4ebbcfe9d922835b749867b33433c796818dfc6666ed2a2741e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/metrics/metrics.go:616-635 | hypershift-operator/controllers/nodepool/metrics/metrics.go:528-547 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/nodepool/metrics/metrics.go:527\u0060 calls \u0060emitAggregatedMetrics\u0060 and \u0060hypershift-operator/controllers/hostedcluster/metrics/metrics.go:614\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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded623d80afcf2cdb5981a123aedf1ddf7d90eb9d23331b2722ed650b5e41787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:635-654 | hypershift-operator/controllers/nodepool/capi.go:700-715 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:635\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"60df712e6a4726357119cfc0b8a63468e007e65916d59df9cd26b0bbda1c5e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): cmd/cluster/agent/destroy.go:27-45 | cmd/cluster/gcp/destroy.go:20-37 | cmd/cluster/none/destroy.go:23-40 \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 \u0060cmd/cluster/agent/destroy.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":"cmd/cluster/agent/destroy.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b95b8cff0e3454c82c73548e77c8aeb87597e8cfe848a78af4ae85acb6adbe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): cmd/infra/aws/create.go:171-189 | cmd/infra/aws/create_iam.go:155-173 | cmd/infra/gcp/create_infra.go:108-126 \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. 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":"cmd/infra/aws/create.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c4c0122b9dc76c0aa8037426a97c3ff1f4f4929daff6917c4ee41786123634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/cluster/azure/create.go:640-658 | cmd/cluster/azure/create.go:680-698 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/cluster/azure/create.go:676\u0060 calls \u0060AzureDiskStorageAccountType\u0060 and \u0060cmd/cluster/azure/create.go:637\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":"cmd/cluster/azure/create.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e1e44de86fe6600446041ded86280d09e5793b64dc670e1fe163335a75cb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:41-59 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:152-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0a1ce7f568f647851c55fb4083dc8fba6bf053a8ea2229ed01b6842bc482c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:757-775 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1083-1101 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:757\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"31767afe2fa6e8b1d9ed1079e5d3c28f93404d99e75ffc7163588c4cf9e3c461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go:45-63 | hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go:82-99 \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 \u0060hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go:45\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. 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":"hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0464729de819add2e385e0dce1a6e66e003d9cf723e15a5ec7c53a036cf9c592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1422-1440 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1018-1036 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1422\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e1b4ec02159f75741b7a6eac681b42d465e5919110afdc6ab1918862c7b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): cmd/cluster/azure/destroy.go:57-74 | cmd/cluster/openstack/destroy.go:30-47 | cmd/cluster/powervs/destroy.go:55-72 \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 \u0060cmd/cluster/azure/destroy.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. 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":"cmd/cluster/azure/destroy.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9c028f978a10bd01059c12104e06e9e37118f3ffe344bf173f24a60fa6bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): cmd/bastion/aws/create.go:71-88 | cmd/bastion/aws/destroy.go:53-69 \u2014 before extracting anything, compare \u0060cmd/bastion/aws/create.go\u0060 and \u0060cmd/bastion/aws/destroy.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060cmd/bastion/aws/create.go:71\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/bastion/aws/create.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb763f4efc5c29894ba05d22335e56a1e3622795c8ef29db41c61de012f1c8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): cmd/infra/powervs/validate.go:120-136 | cmd/infra/powervs/validate.go:177-194 \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/infra/powervs/validate.go:120\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":"cmd/infra/powervs/validate.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a807915a5a88a492c1bd08ce46c1e0bc47992a32124edaedc80fc78caa961d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2445-2456 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2647-2664 \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7fe9f729b56fdc30a7c44ff3026934021b1534aa8054f0300b1246226bea83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): control-plane-operator/endpoint-resolver/cmd.go:83-97 | control-plane-operator/metrics-proxy/cmd.go:115-132 \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 \u0060control-plane-operator/endpoint-resolver/cmd.go:83\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":"control-plane-operator/endpoint-resolver/cmd.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b05a8ba4cec72356afc06569ad2d64a480e4a5a7482494e8f0271afc7876cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:619-636 | hypershift-operator/controllers/nodepool/conditions.go:646-660 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6f14b473ce39b0b8f0534e5d564e0b09a10e36c304ae31e3ebf83a1d0de209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/capi/aws/api/v1beta1/bastion.go:28-45 | pkg/capi/aws/api/v1beta2/bastion.go:28-45 \u2014 \u0060pkg/capi/aws/api/v1beta1/bastion.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/bastion.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 1 separate duplicated blocks between them, totalling at least 18 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":"pkg/capi/aws/api/v1beta1/bastion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcafeec9377c0e3df9d9eb48fca9ea951c3c8adb40d7a3afa4b1f8f59033ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2325-2341 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2397-2413 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2464-2480 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2325\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f7e639e0f343edf1f6e501bf1cc2d65b4f6ea83079bdbf37d698823e5e8cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:56-72 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go:56-72 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:56\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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6562fc625368c1064235266b69960329d2cef84b61cf5157b74749105fae5af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go:21-37 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:364-380 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec39eed045ae9ad87684ef89f2c7d79b298e7706f85fdc249318fb741e9c042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/network_policies.go:463-479 | hypershift-operator/controllers/hostedcluster/network_policies.go:486-502 \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 \u0060hypershift-operator/controllers/hostedcluster/network_policies.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 \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc37746e23f96b81a3002a491e119c08a5936201967f45e21226fe0a5cada8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1267-1283 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1297-1313 \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 \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1267\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc07e01d05008a4652fb270f577b21789fc0809c9c3fe40257bfa2cf5567602d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): hypershift-operator/controllers/ignitionpayload/config.go:110-125 | hypershift-operator/controllers/nodepool/config.go:409-425 \u2014 \u0060hypershift-operator/controllers/ignitionpayload/config.go\u0060 and \u0060hypershift-operator/controllers/nodepool/config.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 90 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 \u0060hypershift-operator/controllers/ignitionpayload/config.go:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The 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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"283401c9e1e7981181b4967cf87b7f556d143574191913d1ea380f07cdf602e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 11): cmd/cluster/agent/create.go:167-182 | cmd/cluster/aws/create.go:570-585 | cmd/cluster/azure/create.go:57-72 | cmd/cluster/gcp/create.go:277-292 | cmd/cluster/kubevirt/create.go:340-355 | cmd/cluster/none/create.go:115-130 | cmd/cluster/openstack/create.go:285-300 | product-cli/cmd/cluster/agent/create.go:26-41 | product-cli/cmd/cluster/aws/create.go:49-64 | product-cli/cmd/cluster/kubevirt/create.go:23-38 | product-cli/cmd/cluster/openstack/create.go:23-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cluster/agent/create.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. 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, \u0060cmd/cluster/agent/create.go:163\u0060 calls \u0060MarkFlagRequired\u0060 and \u0060cmd/cluster/azure/create.go:53\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":"cmd/cluster/agent/create.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"04903bed1e30e193f077df7e35caf040dcfd46140fb1944b3940fb939ea92388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 9): cmd/nodepool/aws/create.go:110-125 | cmd/nodepool/azure/create.go:202-217 | cmd/nodepool/gcp/create.go:118-133 | cmd/nodepool/kubevirt/create.go:251-266 | cmd/nodepool/openstack/create.go:113-128 | product-cli/cmd/nodepool/aws/create.go:29-44 | product-cli/cmd/nodepool/azure/create.go:22-36 | product-cli/cmd/nodepool/kubevirt/create.go:20-35 | product-cli/cmd/nodepool/openstack/create.go:20-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/nodepool/aws/create.go:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/nodepool/openstack/create.go:131\u0060 calls \u0060Type\u0060 and \u0060cmd/nodepool/kubevirt/create.go:269\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":"cmd/nodepool/aws/create.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9075e9f94cd0d6078062bb77ccd075929f5bdf39a7618dca934e242959472775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:225-240 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:271-286 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/ibmcloud.go:260-275 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:225\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfbdd3608081cdf7ff110fd03977db5dee868f2e525bd96cb5f4295acda5904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/install/assets/hypershift_operator.go:1247-1262 | cmd/install/assets/hypershift_operator.go:1687-1702 \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/install/assets/hypershift_operator.go:1247\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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8cb2722cbef42f94582a61d61978900e1c9d2ee136601ad48c149740ebc1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): control-plane-operator/controllers/azureprivatelinkservice/controller.go:248-263 | hypershift-operator/controllers/platform/azure/controller.go:140-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:248\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b103e41f7af88ec08b57568072bd6290f6b875f241b9cd8ea49b0e250d7405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1156-1171 | control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go:102-114 \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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"00605572ee9aee14467ee0f7f98db6217cef3f0593718eb8f82b9d8297f6417b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:37-51 | control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:90-105 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:37\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":"control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daafbbfbf21c807f85d8ef2674b94a747d6e0923cb916665c1e9549f48fdaee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:49-64 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:85-100 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 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. 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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9550a7fd3ceb64d09456f1322ed42db39382d43addae9557247cd7829d154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:346-360 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:449-464 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:346\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0247347792df44f161539d40b01393d63b57144320a84215f25276c1e80b5833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go:232-247 | control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go:115-129 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"22437c4fc8228d8b01edb69da0b7e8f753713ea99b7e73f9fe72fe013bc79bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:127-142 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:157-172 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4bc623ac17ab4b72ccb02ce11c1115d718a1701e1ec240022b8df3459da875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/cmd.go:285-300 | karpenter-operator/main.go:204-219 \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":"control-plane-operator/hostedclusterconfigoperator/cmd.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b48e20f0b614565e0db03d44658439da76b8fbb6551f32fc546a2bc8dcb3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go:130-145 | control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/spotremediation.go:105-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1146c5821c52af09fc819caf0e0079db412e9f820fa0fd4c258d7f5f0d8a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go:57-72 | hypershift-operator/controllers/auditlogpersistence/pod_webhook.go:58-73 \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 \u0060hypershift-operator/controllers/auditlogpersistence/configmap_webhook.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. 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":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68bd4acf038211fd81cfce826fe851d278fb9ae63d03ada1e6f3ee1433be1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1297-1312 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:901-916 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1297\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdd50023f88e95025b2c92e3c3dc2f3399f0eab50e9451c9a084542093250a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/ibmcloud/ibmcloud.go:42-57 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:60-75 \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":"hypershift-operator/controllers/hostedcluster/internal/platform/ibmcloud/ibmcloud.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84a798ca8b21cc0c87f62762658f07841d8ae68f9dfabe6c56f789fe7a48337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): hypershift-operator/controllers/nodepool/secret_janitor.go:179-194 | hypershift-operator/controllers/nodepool/secret_janitor.go:201-216 \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 \u0060hypershift-operator/controllers/nodepool/secret_janitor.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":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17cf9a2e675f3f2b29c8749cd642e6bf38520fbda5a11641a48391261a0f87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): karpenter-operator/controllers/karpenter/karpenter_controller.go:388-403 | karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go:246-261 \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 \u0060karpenter-operator/controllers/karpenter/karpenter_controller.go:388\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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2779657727ed6477434435d696b859412d6da886c1e38482fea5ec50c80197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): konnectivity-socks5-proxy/http_proxy.go:83-98 | support/konnectivityproxy/proxy_dialer.go:73-88 \u2014 before extracting anything, compare \u0060konnectivity-socks5-proxy/http_proxy.go\u0060 and \u0060support/konnectivityproxy/proxy_dialer.go\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f540cbac640c933ad4cb0b6a91e895478d00ae2eaa7b06e208ef726f392a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): hypershift-operator/controllers/hostedcluster/network_policies.go:459-473 | hypershift-operator/controllers/hostedcluster/network_policies.go:482-496 | hypershift-operator/controllers/hostedcluster/network_policies.go:505-519 | hypershift-operator/controllers/hostedcluster/network_policies.go:528-542 | hypershift-operator/controllers/hostedcluster/network_policies.go:551-565 | hypershift-operator/controllers/hostedcluster/network_policies.go:574-588 \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 \u0060hypershift-operator/controllers/hostedcluster/network_policies.go:459\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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fce1fa52b0cae07843f7aebb296cb739518e1807aaffb2d86ee158f0825759f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): cmd/cluster/aws/create.go:365-377 | cmd/cluster/gcp/create.go:353-367 \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 \u0060cmd/cluster/aws/create.go:365\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/cluster/aws/create.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef7a6b5baeea69b3268cb321dc084c1f22b2882dc89dc0171cc8d10084a073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/infra/gcp/iam.go:429-443 | cmd/infra/gcp/iam.go:1126-1140 \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/infra/gcp/iam.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/iam.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f29a37cfe1cd1d22eeb997f7eabf09cbf555f7b743cb27c3980f6a3189fa3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): control-plane-operator/controllers/azureprivatelinkservice/observer.go:108-122 | control-plane-operator/controllers/gcpprivateserviceconnect/observer.go:91-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. 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: \u0060control-plane-operator/controllers/gcpprivateserviceconnect/observer.go:91\u0060 is reached only past a guard at line 63 that tests \u0060r.ServiceName\u0060 and leaves the function early, and \u0060control-plane-operator/controllers/azureprivatelinkservice/observer.go:108\u0060 reads \u0060r.ServiceName\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":"control-plane-operator/controllers/azureprivatelinkservice/observer.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"910f3c5614ba104edb44dca113e19b196c5e0501c9e604fb82ca0fab8542537b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3926-3940 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:6046-6060 \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ae57acc0d70fc0226bb12e6ead95bddf3000a7c95826c293039e26b4de0d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:259-271 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:330-344 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:259\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"088492fa142ff3d59ccaea297095ed281569fd507163b793332f4a880178e790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:521-535 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:611-625 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:521\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4155441ef4e18708bbc0db985b127e7b40074d59aacb2ecb6d9d07e887cd878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalog_operator/deployment.go:15-29 | control-plane-operator/controllers/hostedcontrolplane/v2/olm/olm_operator/deployment.go:15-27 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalog_operator/deployment.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/olm/olm_operator/deployment.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 1 separate duplicated blocks between them, totalling at least 15 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":"control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalog_operator/deployment.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d2e3664c6cf69f8116f1df20ee78e6237458381fc368a7ef300d617181a34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): etcd-defrag/main.go:44-58 | kas-bootstrap/main.go:33-47 \u2014 \u0060etcd-defrag/main.go\u0060 and \u0060kas-bootstrap/main.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060etcd-defrag/main.go:44\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":"etcd-defrag/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50743ab3fc4d9ad09fbf3e4813d8c0a72d0d0aae62cdbc85fc015a3e8ca8ebb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:66-80 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:87-101 \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 \u0060hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:66\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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1edd643b4c9679c49eb82762e3ff616589b9a63aab32e3837436a3a48b802f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:131-145 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:115-129 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:128\u0060 calls \u0060Sprintf\u0060, \u0060Join\u0060 and \u0060hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:112\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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bd76e298c4acb5e05b2fe9d81b3b8385e16db358ec911ca9d6c541b9661bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go:275-288 | hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go:337-351 \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, \u0060hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go:291\u0060 calls \u0060PersistentVolumeAccessMode\u0060 and \u0060hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go:353\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":"hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e244ccd4b61ebe7530b0763086bfda3f3be7873f2359601d920e35e6fc264eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): main.go:71-85 | product-cli/main.go:64-78 \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 \u0060main.go:71\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":"main.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6341818d5b513e6dd79b49d9466eac7e00d6fa954cb7c52369587fe01cebb5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): support/imageregistry/imagemetadata.go:350-364 | support/releaseinfo/registryclient/client.go:249-263 \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":"support/imageregistry/imagemetadata.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4e1fce459c8b937ae1354682770a2a55149395b43871bbf1430ee4276fc4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cmd/install/assets/crds/assets.go:111-124 | cmd/install/assets/hypershift_operator.go:2512-2525 | control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:77-90 \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 \u0060cmd/install/assets/crds/assets.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 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":"cmd/install/assets/crds/assets.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49a66ea636dce3b98d08811a677181cca5a180ad5078721f9bfebede84e655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 3): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1150-1163 | control-plane-operator/controllers/healthcheck/gcp.go:140-148 | control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go:98-107 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1150\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34153584d8e7de6eaf688edf839cf21d2882e66a20494244ca02009c18b48d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:130-143 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:160-173 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/ibmcloud.go:85-98 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:130\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10340b5d1822f5ff82e7c5ae35c9608543667b82175639d0f3760eb9b71479a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2283-2296 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2346-2359 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2418-2431 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"819960ebe6a2f9647e6c2d8e61a9036decaf8123b2fefebc1542e353accd38eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2527-2540 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2740-2753 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1600-1613 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2527\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f270962c37c300f8ac05ec427a2c2de235dfffcf975e5267ede768ccaf5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): cmd/cluster/azure/create.go:567-579 | cmd/cluster/azure/create.go:593-606 \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/cluster/azure/create.go:593\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":"cmd/cluster/azure/create.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf377d23115d11011fb2f4c997cebf0cf009087293ac6b03b79186681fff581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cmd/infra/gcp/networking.go:332-345 | cmd/infra/gcp/networking.go:352-365 \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/infra/gcp/networking.go:332\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":"cmd/infra/gcp/networking.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5da1adf2db4a665e9e33fcdd6a21e0e8e02433d5a31d1b3a93e4001544e092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): contrib/gomaxprocs-webhook/internal/config/types.go:56-69 | contrib/gomaxprocs-webhook/internal/config/types.go:76-89 \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":"contrib/gomaxprocs-webhook/internal/config/types.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac8e76d9a00880847a715bb697a2b89f2aeab8c3b77379bf1d83938408581f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1108-1121 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:545-558 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1108\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, \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1107\u0060 calls \u0060Sprintf\u0060 and \u0060hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:544\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da698060f08aae34da9b7ed35ed28c0dd7fd40730bf64a0375fb872790fa8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:502-515 | control-plane-operator/controllers/hostedcontrolplane/ingress/router.go:83-96 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:502\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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8beb0084e26d2f7fafb22b0eca55c346a9d9a1d702db5164976029268a5c471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:452-465 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:522-535 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:452\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389e182cdf5ff1841e8fd4ab749e4666a7b191ddccef6e7cea13028352c1106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go:22-34 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go:61-74 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go:22\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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1af123a0833b8477f5d283ac2727b53b13086331af5c11c0123909d5b1458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/component.go:31-44 | control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/component.go:57-70 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/component.go:31\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":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/component.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0471c216ad29f852ea52ba2163ce5d34688d9daae19216431be8043bf62147a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go:218-231 | control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go:93-106 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c321bb8e5a25d5ff6ded874eeeac04e1138e489e5d5020342c1c5a36cf04ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:55-68 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:38-52 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.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 41 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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:55\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, \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:37\u0060 calls \u0060RemoveInitContainer\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:54\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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c03be9de23c37c01004a84965c56001977ce7f255d49a7e3052036c5f739f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:142-155 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:121-134 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.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 41 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edcb930075b6ab65c33b7fcb640b231b438da042b23e792b37961076073efad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1888-1901 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1715-1728 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1884\u0060 calls \u0060New\u0060, \u0060ComponentImages\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1713\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b7f8537136cefc86eb27a6134635d1dc3b4512c14bc79c1fc7d09bc11b6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2589-2602 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1660-1673 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2589\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43b1cac1ba4f2200d980632e1e7d5d9130fa5ec37e46c50f69b5aefbf5abcc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3886-3899 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:6237-6250 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3886\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3886}}}],"partialFingerprints":{"codehealthFindingId/v1":"071322b085e7c875cdcd25b33a6c27c996d137b7278c7efca6fc42de5fef3dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:1446-1459 | support/netutil/route.go:53-65 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:1446\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d74cbb8348ad37d602d9c26fa17ca77ab91cda48265c2b2bf61976bcf76ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:200-212 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:221-233 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:244-256 | support/controlplane-component/kubeconfig.go:22-34 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd13bb30629bcf67be54291054d502d1807d1b1c3cf6dfbb261208b1ef9603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:324-335 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go:135-147 | support/globalconfig/namedcerts.go:24-35 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:324\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5224fa8d9bf83ce1274a4f893bfacd1896067fd460e84dd71f36c4760da69e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/infra/aws/iam.go:1295-1307 | cmd/infra/aws/iam.go:1326-1338 \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/infra/aws/iam.go:1295\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/infra/aws/iam.go"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"053549660aae73a7669995adc96460350d84bf8b22e08d268527d82521df2d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/infra/aws/route53.go:345-357 | support/awsutil/route53.go:114-126 \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 \u0060cmd/infra/aws/route53.go:345\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/infra/aws/route53.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e0eb32bcad65fadf4aae9b6fbdeb8665ed5692d4d8d2ccc1c195e75c92f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/infra/gcp/iam.go:472-484 | cmd/infra/gcp/iam.go:529-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/iam.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b530836930f424aca193ec69ee54e69ba6cb5887eaaa4730fc510ae1b3e82d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/infra/powervs/destroy.go:503-515 | cmd/infra/powervs/destroy.go:552-567 \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/infra/powervs/destroy.go:503\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/infra/powervs/destroy.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"22451c52d3d3c9748c1db9795e79f400220d77ac99d4d04abb327227e88dbada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:188-200 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:159-171 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:188\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5eebde9a00561ddbb790cc9e63d8ab323cb7431687ed46e63eef84e4c27e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:209-221 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:343-355 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e182b42669a3b4117de7bef560bf12dd9fec5a41db7d720e8b2bc4fa721bbbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:246-258 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:375-387 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"239e520ac3c46289071f0b6f8bb05676b08bfd7046f5aa487de1c1542e9bdaba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:296-308 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:484-496 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7b60e4eb6d373697b47cc095b9d5d74605c978e22428748b3572aee163a697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go:76-88 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go:102-114 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go:76\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":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d470f953d7fe26edaf551320bee5131453e7f9d831ebb9d2940fd01f1f76de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:209-221 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:237-249 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed32dd40a8cc7ea1c3a0c57a1842ebe81dfee3dce234420aa889643c29297a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:557-567 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:965-977 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:557\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde3bc3b33e23102303f6089d4b91cc5f6f9a9ca3f484400fcf7dd697c43d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hack/copy-capi-types/main.go:622-634 | hack/copy-capi-types/main.go:1404-1416 \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 \u0060hack/copy-capi-types/main.go:622\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":"hack/copy-capi-types/main.go"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"25adc3e6af59f94bcca0f729eea4783744466f06f5e2c49b83a29051aa8688f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/gcp_oidc.go:60-72 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:5387-5399 \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 \u0060hypershift-operator/controllers/hostedcluster/gcp_oidc.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. 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":"hypershift-operator/controllers/hostedcluster/gcp_oidc.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd2b62b993696ff08037f967ecad147484cefd822f15fa9683a192551372c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3391-3403 | hypershift-operator/controllers/sharedingress/sharedingress_controller.go:364-376 \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 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62c5b58ed68e5491229eba5cca89dff3036cd6b68d96b52d5580a86ac8e8e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:133-145 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:134-146 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:133\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":"hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8536d3746dee428e20de943e8766d9c5405ed66d8a32c5a687434e264c95d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): hypershift-operator/controllers/ignitionpayload/controller.go:493-503 | hypershift-operator/controllers/nodepool/config.go:582-594 \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 \u0060hypershift-operator/controllers/ignitionpayload/controller.go:493\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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c0db2ca6dbcedeb6a9b588e2b602b4b95aaea0e185d0b8b55c2e5288e8440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:559-571 | hypershift-operator/controllers/nodepool/kubevirt/network.go:110-122 \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 \u0060hypershift-operator/controllers/nodepool/kubevirt/network.go:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The 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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"088ea7e0e70c3eae9d018db9b5306a686a2bc8d56346b6819520c48b8330b6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/nodepool/kubevirt.go:200-212 | hypershift-operator/controllers/nodepool/openstack.go:29-41 \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 \u0060hypershift-operator/controllers/nodepool/kubevirt.go:200\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":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"31172ce0657adcdabf78bd4195e5379357177fd3e09708cc5592b5a5181b5e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/platform/aws/controller.go:289-301 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:168-180 \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 \u0060hypershift-operator/controllers/platform/aws/controller.go:289\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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb8073ccf7175acec30157d2b3dbfa8c475cd9c73b1cdb504cf4146abb9b554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:169-181 | hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:294-306 \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 \u0060hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.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. 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":"hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"45deea44a72392a02fb6f485b6e9b664c4819e489f270f9ab564f2862e7398e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:509-521 | karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:575-587 \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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f74a2ecb9f95f55efc51b7698fd6c60afc03812d5717030815f57c8a965cf5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:220-232 | pkg/capi/openstack/api/v1beta2/types.go:286-298 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd87b579cc5d720ee135e08b443d0569222105f68f393bac8765a4f73187f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): support/gcputil/gcputil.go:61-73 | support/gcputil/gcputil.go:175-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060support/gcputil/gcputil.go:61\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":"support/gcputil/gcputil.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3188eaa077975ce835d03037ff4bea3b39e6742b3be134ad9de4fce300135f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): support/upsert/apply.go:199-211 | support/upsert/upsert.go:144-156 \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 \u0060support/upsert/apply.go:199\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":"support/upsert/apply.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f986aeb4dd4c4bca6e60677e9455fe34d8a011680dbde0d78c733235bfdbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): cmd/infra/aws/create.go:180-191 | cmd/infra/aws/create_iam.go:164-175 | cmd/infra/gcp/create_iam.go:122-133 | cmd/infra/gcp/create_infra.go:117-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 \u0060cmd/infra/aws/create.go:180\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":"cmd/infra/aws/create.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"234d247bf3a373841882ca1173ae3da949408ca97b120e9a706840656d7057d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:480-491 | hypershift-operator/controllers/platform/aws/controller.go:304-315 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:183-194 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:480\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ea3fbc9b728069c7b11f1b34ee95f892c82bc3e40a044511f126182830bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): etcd-defrag/main.go:43-52 | ignition-server/cmd/start.go:129-140 | kas-bootstrap/main.go:32-41 \u2014 \u0060etcd-defrag/main.go\u0060 and \u0060kas-bootstrap/main.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060etcd-defrag/main.go:43\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, \u0060etcd-defrag/main.go:53\u0060 calls \u0060Exit\u0060 and \u0060ignition-server/cmd/start.go:141\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":"etcd-defrag/main.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5ff3dd724fa64f58144cf05e1f2734d7e8ce6d96de9e127f9afc6537a3f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): hypershift-operator/controllers/ignitionpayload/config.go:130-141 | hypershift-operator/controllers/nodepool/config.go:430-441 | hypershift-operator/controllers/nodepool/nto.go:460-471 \u2014 \u0060hypershift-operator/controllers/ignitionpayload/config.go\u0060 and \u0060hypershift-operator/controllers/nodepool/config.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 90 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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"de23fd5f0b3ad2d9c48b61bbfbd94a32fddb62b06959ecc107d06d1437e02666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/etcdcli/etcdcli.go:238-249 | pkg/etcdcli/etcdcli.go:343-354 | pkg/etcdcli/etcdcli.go:374-385 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"pkg/etcdcli/etcdcli.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed1e41d63cbfacedb35fed1fd0b5d9e227480c980fb20afb494468cc1124ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/infra/aws/create_iam.go:265-276 | cmd/infra/aws/create_operator_roles.go:328-339 \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":"cmd/infra/aws/create_iam.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad807256d0ae869bbbd882977fed6a1a2f9e07d25d599317465dc6fcd4a655f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/infra/azure/create_iam.go:49-60 | product-cli/cmd/iam/azure/create.go:36-47 \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 \u0060cmd/infra/azure/create_iam.go:49\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/infra/azure/create_iam.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7e2b0bd3a2a070a8aac1a8c570643c859dd9340f072e6d76d372dc98cb54e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): cmd/infra/azure/destroy.go:59-70 | cmd/infra/powervs/destroy.go:121-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/infra/azure/destroy.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/destroy.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf5d909668177d8a7a6ade7949e15c26e0f044b36e06df33b22cec81e911d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1243-1254 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:581-592 \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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00c1fc1216aada94630e20d736bc0b81fef83b1047745752f0ede8d5e10ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:95-106 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:167-178 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c842614ac722b4b61f3467ef103596abdc1c17a61811513854c4335b02041561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go:47-58 | control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go:70-81 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go:47\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":"control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd77efaa759c0679f158dc4c6949264d59167f5a99dd3340536f9d6e727fc148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.go:31-42 | control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/service.go:14-25 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/service.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 1 separate duplicated blocks between them, totalling at least 12 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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.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":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e5124be7d14fa1d61873e452e2dbfc771257872a35eef28f95fb18b370561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/endpoint-resolver/cmd.go:102-113 | control-plane-operator/metrics-proxy/cmd.go:144-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 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":"control-plane-operator/endpoint-resolver/cmd.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9113865dc704f25b7c5c62ecd5fd01aaccfbb67207a772b99c7ac33ab1243fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2223-2234 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2243-2254 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4016b96810e8243af45a4b06a5be1ba03638c6701a4f5a2f726b70de4c3dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hack/copy-capi-types/main.go:350-361 | hack/copy-capi-types/main.go:551-562 \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 \u0060hack/copy-capi-types/main.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":"hack/copy-capi-types/main.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a2515f6e8b4b40f8ca1dbc4ad53b4e32a45127738069d480ec0173eb84866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1606-1617 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1665-1675 \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 \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1606\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b2dfedd954d3f3702ef80a2d1d5e869e47a50a6f3928427e600d074f71448e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:432-442 | hypershift-operator/controllers/scheduler/azure/controller.go:58-69 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go\u0060 and \u0060hypershift-operator/controllers/scheduler/azure/controller.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:432\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab08693f7470bc03bbe9470bb755057330fd01a8edd209333c2feb6064b48165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:244-255 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:418-429 \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 \u0060hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:244\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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6611df06135c9b5976fa0e10082d12eacc51fa16a17a32df6512e80b190654d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): support/netutil/expose.go:80-91 | support/netutil/expose.go:100-111 \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 \u0060support/netutil/expose.go:80\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":"support/netutil/expose.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1fbcdaa9ee9dd868cf263fa39ec60977f98b1002a0b3b9c4f73251fa90f3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): support/netutil/visibility.go:127-140 | support/netutil/visibility.go:163-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. 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":"support/netutil/visibility.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb7d51f3bfabd5eff21c194b8d8b65ae8330b68037260fa1eb82b5d188a9844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): pkg/etcdcli/etcdcli.go:237-247 | pkg/etcdcli/etcdcli.go:302-312 | pkg/etcdcli/etcdcli.go:342-352 | pkg/etcdcli/etcdcli.go:373-383 \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 \u0060pkg/etcdcli/etcdcli.go:237\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":"pkg/etcdcli/etcdcli.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ff18fd0373d9486be17c4b9c9aaa41108498220fc88a529930b2996cf7a881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): hack/copy-capi-types/main.go:260-270 | hack/copy-capi-types/main.go:349-359 | hack/copy-capi-types/main.go:550-560 \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 \u0060hack/copy-capi-types/main.go:260\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":"hack/copy-capi-types/main.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"023162f83b2def4ba225ac8ede9186d07433ec24eff2801e907c58a67344445a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/bastion/aws/create.go:101-111 | cmd/bastion/aws/destroy.go:83-93 \u2014 before extracting anything, compare \u0060cmd/bastion/aws/create.go\u0060 and \u0060cmd/bastion/aws/destroy.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060cmd/bastion/aws/create.go:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/bastion/aws/create.go:113\u0060 calls \u0060Errorf\u0060 and \u0060cmd/bastion/aws/destroy.go:94\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":"cmd/bastion/aws/create.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"340444d0d32ed2fa3c7c40f67eff9758ed31baf354271a75cd23cc00efbc7a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/cluster/aws/destroy.go:21-31 | product-cli/cmd/cluster/aws/destroy.go:14-24 \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":"cmd/cluster/aws/destroy.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"884e047bf2dc39c539a7b0f39d91fa27ffa88bb6c26ec17075450ee9dc82455b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:276-286 | control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:298-308 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:276\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":"control-plane-operator/controllers/gcpprivateserviceconnect/dns.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df1c1846281c4c368ba15e8ecdf82145de78069faa9b708aa278d29cfa0496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go:17-27 | hypershift-operator/controllers/hostedcluster/createorupdate_annotation_enforcer.go:16-26 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go:17\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":"control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3397e5b323dae9113bbd93476f04e411bed6a2c15f533fe03bb8a0dfeaa310a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:120-131 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:99-110 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.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 41 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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:120\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.go:95\u0060 calls \u0060GetAuditPolicyConfig\u0060, \u0060RemoveContainer\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:117\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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5cae62de839ff37afd496cf8d4bdf632e29e1db0decc255da85da1ef19df86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2369-2379 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2441-2451 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2369\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5881de9890d24f93bc6acf5ab86e606465f6d4729191faa894e53b76dfe9a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:755-765 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:367-377 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff0eab5f2be6ecddac62ead398675d2505ea5d0e355dba8afaab7d8824d14f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1358-1368 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:952-962 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9055d1a6d74955a064d0635d95ddf070f482f520b45e6bffeb4d453ea18c93e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2276-2286 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1384-1394 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2276\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"613f715ca5af78157a27ae98fd682c09aea2f84b08b62db9585641067910ada0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2423-2433 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1434-1444 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2423\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e8dddec0df5204fc28bc5710cefd30b683c310bf6e31a196805cf75db9f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:142-152 | hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:113-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d560c24a8cf25a5e2ea382a970bd1a72a487e6c9fea99550492839be03193a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1235-1245 | hypershift-operator/controllers/sharedingress/sharedingress_controller.go:168-178 \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 \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1235\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc98bbe3f097f99189f9e8b4497a47f65437016e85411ab3c986b8bdc786a0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): hypershift-operator/controllers/ignitionpayload/controller.go:275-285 | hypershift-operator/controllers/ignitionpayload/controller.go:311-320 \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 \u0060hypershift-operator/controllers/ignitionpayload/controller.go:275\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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a93f04ba1f63d15a7b5781e8933ade73a69f11948f64929fe5a73e833d3ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:204-213 | hypershift-operator/controllers/nodepool/capi.go:233-243 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:204\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac8bb90b8e1471a02614cc0217f0dd0255bda237e23846828a08277515a2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:354-364 | hypershift-operator/controllers/scheduler/azure/controller.go:42-52 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go\u0060 and \u0060hypershift-operator/controllers/scheduler/azure/controller.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:353\u0060 calls \u0060Watches\u0060, \u0060EnqueueRequestsFromMapFunc\u0060 and \u0060hypershift-operator/controllers/scheduler/azure/controller.go:41\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48c550c97cb3c788e1540e91106b759ccc81083fcf133a800084d7fe4a7ad66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/placeholders.go:106-116 | hypershift-operator/controllers/scheduler/aws/placeholders.go:119-129 \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 \u0060hypershift-operator/controllers/scheduler/aws/placeholders.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":"hypershift-operator/controllers/scheduler/aws/placeholders.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9393e293c4fcc94ce9bcd7bea6fd47409e48e6ea860901ec7e352846e2442731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/main.go:1232-1242 | hypershift-operator/main.go:1298-1308 \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 \u0060hypershift-operator/main.go:1232\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":"hypershift-operator/main.go"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"980f6d462fa012aa8153e35d7d63a9efaa1ada571a2983ff587af278bad374e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): support/awsutil/sts.go:28-38 | support/awsutil/sts.go:49-59 \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 \u0060support/awsutil/sts.go:28\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":"support/awsutil/sts.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa1eb3c62d27d82fd7af288a40b989e5678862e471504d8b6951be7d982cd0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): support/netutil/visibility.go:107-119 | support/netutil/visibility.go:143-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 \u0060support/netutil/visibility.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/netutil/visibility.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada8faedaa01c2ce4c818b99cf30b943b764ad2b1d6eebaa3448d9377d970220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): cmd/cluster/azure/destroy.go:55-64 | cmd/cluster/openstack/destroy.go:28-37 | cmd/cluster/powervs/destroy.go:53-62 | product-cli/cmd/cluster/openstack/destroy.go:22-31 \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 \u0060cmd/cluster/azure/destroy.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. 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":"cmd/cluster/azure/destroy.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e4b4be3a73028e5501f3c8e4dfab773103a958df093a4a1792f95bc2ccd47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): cmd/cluster/aws/create.go:366-374 | cmd/cluster/azure/create.go:515-523 | cmd/cluster/gcp/create.go:355-364 \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 \u0060cmd/cluster/aws/create.go:366\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/cluster/aws/create.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad942ab69927978df46c5fa3be2ccccc2364f17c30c2d62c2b3f5c5d93a9a344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): control-plane-operator/controllers/azureprivatelinkservice/controller.go:1111-1120 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:1136-1145 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:1238-1247 \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 \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:1111\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5da84fae0a2e426403aada26d57a28b798eab5ab8b3458d90700b2c22d79aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go:23-32 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go:62-71 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/powervs/deployment.go:24-33 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/powervs/deployment.go:35\u0060 calls \u0060UpdateVolume\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go:33\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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/deployment.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bb0eade1c254559a82f0d55370a92fbe8926308ecc0e44fce53d4657a4762b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:131-140 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:115-124 | hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:102-111 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:128\u0060 calls \u0060Sprintf\u0060, \u0060Join\u0060 and \u0060hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:112\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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac9ecabb01f458519dfc11c321503287f5b58ec311759d649efda5ccb68853a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1269-1278 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1299-1308 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1351-1360 \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 \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1269\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dea73477f10a868b28cc840f08dbdef6c4bd4db236287854bbaae77e5f3925a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/cluster/azure/destroy.go:136-145 | cmd/infra/azure/destroy.go:126-135 \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":"cmd/cluster/azure/destroy.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909b17609d0a5c414c8a22f76da10ce6dc76d4fdfe6eef87d8160c18015fc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/infra/aws/ec2.go:426-435 | cmd/infra/aws/ec2.go:482-491 \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/infra/aws/ec2.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c82554b2f2df498a742439d7627662e34b4b1e3f3afb5acf6ce82a2009967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): cmd/infra/aws/util/sts.go:47-56 | cmd/infra/aws/util/util.go:108-116 \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 \u0060cmd/infra/aws/util/sts.go:47\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":"cmd/infra/aws/util/sts.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2af11372f4a07b082f386a07439975a86fc67affcaec1d13aefb7f234e55254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/infra/azure/identities.go:43-52 | cmd/infra/azure/identities.go:346-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 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/infra/azure/identities.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d2016ed3d5afa549bd420e4c691c7ba38f879e7281d5237998eaa0b90d5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): cmd/infra/powervs/destroy.go:481-490 | cmd/infra/powervs/validate.go:110-118 \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 \u0060cmd/infra/powervs/destroy.go:481\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/infra/powervs/destroy.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c4dacd84fafc2004a25ac01ac753062e35d0fa71e37f6097cd8fbccbe5cf51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:538-546 | hypershift-operator/controllers/platform/aws/controller.go:351-360 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:538\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: \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:538\u0060 is reached only past a guard at line 509 that tests \u0060req.Namespace\u0060 and leaves the function early, and \u0060hypershift-operator/controllers/platform/aws/controller.go:351\u0060 reads \u0060req.Namespace\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aa29bd79490bbab470db5db9d88c5b545e1a61193de064376649bed3ec0265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:556-565 | hypershift-operator/controllers/platform/aws/controller.go:370-379 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:556\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:568\u0060 calls \u0060IsZero\u0060 and \u0060hypershift-operator/controllers/platform/aws/controller.go:383\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452aa84d3441be7011d52ca7b067f170cdf82709a687f39d07981759c3f93af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1044-1053 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:536-545 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1044\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da5102e20e9d305f4bc8307fd84a9dc8f2325f27acbf9a9d090abb7b7513cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/azureprivatelinkservice/controller.go:199-209 | hypershift-operator/controllers/platform/azure/controller.go:125-134 \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 \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:199\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 before the matched lines, \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:196\u0060 calls \u0060Watches\u0060, \u0060EnqueueRequestsFromMapFunc\u0060, \u0060mapHCPToAzurePLS\u0060 and \u0060hypershift-operator/controllers/platform/azure/controller.go:124\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd362b1161f79d5dd0284966eea63cc2e4755ee646c7e7ff52da273af1ab8b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go:94-103 | control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/component.go:61-70 \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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"512765a9d20506476c279275ceb7a50b6ecbb690fc58fc96c87bd030bf5aacbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:54-63 | control-plane-operator/controllers/hostedcontrolplane/oauth/service.go:35-44 \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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"25395e4941d202833ae1965fd58181e91e45c144563e8c149a389826bf31dbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:134-143 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:380-389 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/kas/service.go:134\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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6accf83c47e3ac5eb5cd5e31a42ad6ff80850e35804aa23b74d20a925fb3f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 4): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:710-713 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:190-199 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:218-221 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:438-447 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:710\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7089db644546364e35e6af27159a6fee6e03bdb5e16c11fcbc556b00bbd262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:149-159 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:189-199 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:149\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaef81032cacab0e0c4d1baefaf20a90c8b82f28d6c15ab5f60905a9d0d1e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:172-180 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:217-226 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:172\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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6701ad08d5cd5598a33703dc93b78fb1e7db6a6c465b27cf12f862871d129a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go:274-283 | control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go:171-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go:274\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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"762e409ca5746da8007cdaff06c6c0a3469c872dbd61dc9b0b78a57ef62f0dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go:40-49 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go:383-392 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabc46a39297c575ec2f37c7e25a39e1250e33ee0f10df4ea1fe077bdd3b4da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:33-42 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:90-99 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:33\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fea3e439cff8feb3c46f2d269f3a9a94cddb3dd0d6020746d219c624f0e2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go:24-33 | control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/setup.go:33-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go:24\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":"control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"725fb325ec7488ccb4c9ea029a9d28d98a7f2b302bfae12769f16e6225ab4ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1267-1276 | hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:635-644 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1267\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, \u0060hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:645\u0060 calls \u0060Slice\u0060 and \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1277\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fe253ce4100a3f186bf802a6a8679092c543714b286b59c61c6445c54da30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2149-2158 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2237-2246 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2149\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a5ec3b2513d91315a949a08c76986d71c5054c20d4b4a723bf4341575a0dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go:99-108 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:103-112 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b4970ba6a5ee8ead27d67eb4e8db43117f73489ebf8d0399425d19a279cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go:94-102 | hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go:109-118 \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 \u0060hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14db59eeb49885ede618575539d2e683642166ab3730133d7d83304c3805766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:470-479 | hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:535-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go:470\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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfb662f0ea8c62d1de0ebbc6376a67fdf4a9926e859d77accf535ee42479938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/autoscaler.go:149-158 | hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:102-111 \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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc681138972fab6aabcba1b6e9aaf18f7eb95a105454f502892dcea1e8d46876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:199-208 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:220-229 \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 \u0060hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:199\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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf93fe604f1a6e39d7febf18550324f6386dda3bc34dc7026784cbbb6f53acc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): support/capi-crdmigrator/crd_migrator.go:303-312 | support/capi-crdmigrator/crd_migrator.go:326-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 \u0060support/capi-crdmigrator/crd_migrator.go:303\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":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f695dc6d6df942941ba521484ac4b550a44a3c8ecb4a92a948cd09965af489f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): cmd/cluster/agent/create.go:164-172 | cmd/cluster/azure/create.go:54-62 | cmd/cluster/kubevirt/create.go:337-345 | cmd/cluster/none/create.go:112-120 | cmd/cluster/openstack/create.go:282-290 | product-cli/cmd/cluster/agent/create.go:23-31 | product-cli/cmd/cluster/azure/create.go:28-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cluster/agent/create.go:164\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/cluster/agent/create.go:163\u0060 calls \u0060MarkFlagRequired\u0060 and \u0060cmd/cluster/azure/create.go:53\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":"cmd/cluster/agent/create.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85942bfe64e49e4326bd35d43daee96815e265719bfe29b721e5f99817d9674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): cmd/infra/azure/create.go:65-73 | product-cli/cmd/infra/azure/create.go:36-44 | product-cli/cmd/infra/azure/destroy.go:36-44 \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 \u0060cmd/infra/azure/create.go:65\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/infra/azure/create.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2093952ca7aa26db9ea9abb6a4aeabac587a1e4258dbb3ebfddc8a60b27c829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:65-73 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go:65-73 | control-plane-operator/controllers/hostedcontrolplane/v2/machine_approver/component.go:62-70 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go:65\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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/component.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d9d547ef7fe00edb849db51de8742b28ea9881284d813d4f62118e22b666c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): hypershift-operator/controllers/etcdbackup/reconciler.go:294-300 | hypershift-operator/controllers/etcdbackup/reconciler.go:573-581 | hypershift-operator/controllers/etcdbackup/reconciler.go:605-613 \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 \u0060hypershift-operator/controllers/etcdbackup/reconciler.go:294\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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"68abd2cfa78d6ff41266f8b282ffbcc948f43ad78c2855a34f468d2e26ff5f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/cluster/agent/create.go:54-62 | cmd/cluster/kubevirt/create.go:81-89 \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":"cmd/cluster/agent/create.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2555630c898dc1f5d30240e77e51e9e35e3a8834a2cb8817cccc91a2be896176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/cluster/aws/destroy.go:55-63 | product-cli/cmd/cluster/aws/destroy.go:45-53 \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":"cmd/cluster/aws/destroy.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed732271bad2e9d69caf03b1c1153d5c034314cddbf31c882604c8027e823d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): cmd/cluster/core/destroy.go:286-293 | cmd/cluster/core/destroy.go:311-319 \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/cluster/core/destroy.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5691bbe66be5bcad54d0310dc0b82f2bb875815d30b990d02e500977ec62b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/infra/gcp/create_infra.go:63-72 | cmd/infra/gcp/destroy_infra.go:35-44 \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 \u0060cmd/infra/gcp/create_infra.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/create_infra.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4ed03bf6209c0b16b05d0435b7f9afcd01331fe52cbea5a86ab9e3e7efafc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/infra/powervs/create.go:574-582 | cmd/infra/powervs/destroy.go:294-302 \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 \u0060cmd/infra/powervs/create.go:574\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, \u0060cmd/infra/powervs/destroy.go:303\u0060 calls \u0060Info\u0060 and \u0060cmd/infra/powervs/create.go:583\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":"cmd/infra/powervs/create.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5fcad7c46c6faa9e685a9063e635ecf9efcc8d0b29750b4958746afa2e6eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/kubeconfig/create.go:57-68 | product-cli/cmd/kubeconfig/create.go:45-56 \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 \u0060cmd/kubeconfig/create.go:57\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":"cmd/kubeconfig/create.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"328e8d1b59607444952a2197dd822143855b73d9295e5ee0333b018a1f05d997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:152-160 | control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:510-518 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d747406a6680d5ed98f4f699092219bff8d492e65b7d037c190dcf8971b60667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1226-1234 | control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go:266-274 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1226\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6da6de94792a8ed5d3abc791b82232b82e8f18f5a194b3c28ea3a57e64f284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:38-46 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go:74-82 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 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 \u0060control-plane-operator/controllers/hostedcontrolplane/kas/auth.go:38\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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4524863d3ed3da2f9fd4e9ab0d5a3480dd4c33d461ae984601b555f9360c125d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/deployment.go:114-122 | control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/deployment.go:49-57 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/deployment.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"809567aae72eb09aac41e24804a0a2d4b43832a66b3c5cedd0430b7476252407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:31-39 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:59-67 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf67f44727ff090e023dbb0593429b6687b96340a94bdd08a2e64e42af742d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go:108-116 | control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:169-177 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e97570cab9fe0fce0c3d23a14a8a778944858b5873bc00546dd1e399ec8b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:116-124 | control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:154-162 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fb43d1115e215eded95c86aa81e10128ad693501f8715d35d1ae58ed69522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go:591-599 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1340-1348 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go:591\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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0b86644d1e6fdcc1b795018b71e16f38539320333502b31f48cf901aae7e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/etcdbackup/reconciler.go:132-140 | hypershift-operator/controllers/etcdbackup/reconciler.go:149-157 \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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd90d7945af291897e2b19abf41174eff5f8a6c9e3f67b9a6c9a065c286576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1805-1813 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1534-1542 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1805\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f1d867e259cd36d3a55c32d175ffb731aafdb97135bfcd2d595ff9d263290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1960-1968 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1158-1166 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1960\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e806b946209133e2d9bb9e7749cdef527a88313ee89a9e5a1d90b631d13e1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go:108-116 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:125-133 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go:108\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":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b77e3ec55b0fdc1e4f7edb23c0ba13a8daff609bc68603efc5a93da364775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:285-293 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:285\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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2101450bc24183de621ea0c390c775e4172927d0e61588d451f3e6cba962c8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): support/k8sutil/object.go:43-51 | support/k8sutil/object.go:63-71 \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":"support/k8sutil/object.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a57f0a72cb829402ac7802bff05c343cf1568e768dd4a73319179ad46eedd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go:98-106 | hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:130-138 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:114-122 | hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go:227-235 | hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.go:101-109 | hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go:216-224 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:102-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:128\u0060 calls \u0060Sprintf\u0060, \u0060Join\u0060 and \u0060hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:112\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":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"238ff76ea4f3f8add618de037b6bb53d5855c93d71684b871fb72242c21d167d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): cmd/cluster/powervs/create.go:262-269 | etcd-defrag/main.go:42-49 | ignition-server/cmd/start.go:128-135 | kas-bootstrap/main.go:31-38 | sync-fg-configmap/update.go:47-54 \u2014 \u0060etcd-defrag/main.go\u0060 and \u0060kas-bootstrap/main.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cluster/powervs/create.go:262\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, \u0060etcd-defrag/main.go:53\u0060 calls \u0060Exit\u0060 and \u0060ignition-server/cmd/start.go:141\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":"cmd/cluster/powervs/create.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdc64dc733bb1c75c66af53d30e3f5bf63a1834c827d41b9376acccee654a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2156-2163 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2186-2193 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1276-1283 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1306-1313 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2156\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1635ab79b58d59976f6e5a6872a7905e875bd657964140f8ad121fa5ea0646b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:231-238 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:296-303 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:332-339 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:367-374 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:231\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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc8707ec27ab5dfa8e6322220fee6c94dc33628f287d4b03def6983bc285c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:32-39 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:60-67 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:89-96 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f055a9d28dfbb4280c94ed173375639a9514ee5167a12b0b48e41db2ff780da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/oadp/backup.go:252-259 | cmd/oadp/schedule.go:244-252 \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":"cmd/oadp/backup.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d925619b98dc416b8089a50391b2f85eb275b1730c4cbb27be07b885c0502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1073-1080 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:563-570 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1073\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: \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:1073\u0060 is reached only past a guard at line 1068 that tests \u0060hcp.Namespace\u0060 and leaves the function early, and \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:563\u0060 reads \u0060hcp.Namespace\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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56dd06ec4d470976c47445c707ac0322cf906a038f0c4757fe4457febc9163b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:67-74 | control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go:124-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":"control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97f0d82f0afc9df3789ac461d2254abfbb6685d37f42d5a861b6a380deaf1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3131-3138 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3165-3172 \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c0d4214ea28326c5d1a4cc7e3a10839462de85723a8a781ec464a2371a5d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:194-200 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:245-252 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.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. 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9711e07b1db92ec5e8c85b8cdd1e3f0e79b5ac7b1c402b261cb06656a78ed1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go:207-214 | control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go:288-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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go:207\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":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5931d23d9d270a405f08c757db72ff17741e899fbe3be0f79b6a37558afc965e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go:36-44 | control-plane-operator/controllers/hostedcontrolplane/v2/ocm/config.go:53-61 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"78da3bcaf74540dceaba42a865eee9c092a6579eac5345749d67b9a298d1cdd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1878-1885 | hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:320-327 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1878\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. Check import visibility before settling on that home: \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f0fc2b31dd59d99f838d7be7112bf82eb9d35c832de1b736794e80dcd60f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hack/copy-capi-types/main.go:285-292 | hack/copy-capi-types/main.go:390-397 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060hack/copy-capi-types/main.go:294\u0060 calls \u0060collectStrippedSymbols\u0060 and \u0060hack/copy-capi-types/main.go:398\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":"hack/copy-capi-types/main.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"992463b2588f7f0940df443e1487bd5bd3546931d5fa0cc3b359470cea34db86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:344-351 | hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:364-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 \u0060hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go:344\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":"hack/tools/hypershiftlinter/analyzers/hcpstatuspatch/hcpstatuspatch.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5bf4a6d0870d49884c21460e7c45c96b36f034243915d9d8a63505cbc0705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:388-395 | hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:145-152 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d05ce9d077e8d7aeb78c2ecbea7f4ced2ba64aec77cd488b3e39f28c6fbe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2106-2113 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1235-1242 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2106\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba49697f41d5df0453664c01f362e50c097ef9af9fd4a390b791fe447da53e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2462-2469 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1477-1484 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2462\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"534c6fb70fe9aaa00930d2b72d297e27504c92833faca64e4d717a02b083bfb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2488-2495 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1503-1510 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2488\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69a963da946ccb705400ff8b3349752620e67d00989ea603f6997e3c91936d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2556-2563 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1631-1638 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2556\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"451430fe4d8be05747974936d97ac7d84947211a0472e6bfa79feab3ee3754e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:438-445 | hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:478-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 \u0060hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go:438\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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aaa2cd271c9ee4bfe835a3d30694925c53e5b292c4766d082c0354b5fd33c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/nodepool/nodepool_controller.go:442-449 | hypershift-operator/controllers/nodepool/secret_janitor.go:125-132 \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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9216c2597a66d4be6fa613706f0f320691a250e59d26e0fbf611522387f1f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/nodepool/nodepool_controller.go:913-920 | hypershift-operator/controllers/nodepool/nodepool_controller.go:940-948 \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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d0bb69030d8e9e73c0742fd2f6b71dafcadcb8f2586d46aaa230a1c8d2871b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/platform/azure/controller.go:290-297 | hypershift-operator/controllers/platform/azure/controller.go:533-540 \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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8e3c869398fee7a7b6a4c874fc99f2b8319730fd1a89bc2dde2313beb1596e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/platform/azure/controller.go:363-370 | hypershift-operator/controllers/platform/azure/controller.go:563-570 \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 \u0060hypershift-operator/controllers/platform/azure/controller.go:363\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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c9af0d9abde7fcee5da95008ea795d3cdf3da43147f0ee7605483150510d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/autoscaler.go:176-183 | hypershift-operator/controllers/scheduler/aws/autoscaler.go:357-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. 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, \u0060hypershift-operator/controllers/scheduler/aws/autoscaler.go:356\u0060 calls \u0060Sort\u0060, \u0060machineSetsByName\u0060 and \u0060hypershift-operator/controllers/scheduler/aws/autoscaler.go:175\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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2011bfe47f69c15974b0e8eba6326b799ce8bf13cba74289a16c0a49b7a60a73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/main.go:1266-1273 | hypershift-operator/main.go:1334-1341 \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 \u0060hypershift-operator/main.go:1266\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":"hypershift-operator/main.go"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a495894d36461934e846af92a6232cb4cf67a6d68efd68d08971e3f8d614c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): support/netutil/visibility.go:22-29 | support/netutil/visibility.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060support/netutil/visibility.go:22\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":"support/netutil/visibility.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed13433e604960ae837e33735f7231c9e42f93b56f55689020e4e42e5f211f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): support/upsert/upsert.go:80-87 | support/upsert/upsert.go:102-109 \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":"support/upsert/upsert.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aae8b132725b64e474704aa0ff6d219c93dd08690003b01666c94b737fbd8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:998-1004 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2408-2414 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:602-608 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1419-1425 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:998\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, \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:1005\u0060 calls \u0060IsNotFound\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1426\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"02009be64a6de700e6692b47c37b1d0d539682ca1edc727451cd38249b4e7d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): hypershift-operator/controllers/ignitionpayload/config.go:101-108 | hypershift-operator/controllers/nodepool/config.go:400-407 | hypershift-operator/controllers/nodepool/nto.go:431-438 \u2014 \u0060hypershift-operator/controllers/ignitionpayload/config.go\u0060 and \u0060hypershift-operator/controllers/nodepool/config.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 90 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 \u0060hypershift-operator/controllers/ignitionpayload/config.go:101\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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d21d51a97549be1bb75c7c6eb077e51dd5924af4d43283b256479a5c60882d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/cluster/none/destroy.go:43-50 | cmd/cluster/openstack/destroy.go:50-57 \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":"cmd/cluster/none/destroy.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d404de70cae640545c0095b8a0b46f4ba98fc8a6debc01d4a1b016c5d8ba59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:79-88 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:79-88 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c315ceb89f2968d043b334c8e90d13dbba981060789b8eecb6e58913bdaa3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:237-250 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:304-318 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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 \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.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 \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7ca1f09bcaa5a5996b59fcfc7587e96ace68de942a00e554c6e381cfdecc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/deployment.go:21-27 | control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/kubevirt/deployment.go:37-43 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/deployment.go:21\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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/deployment.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3a41567464bc039ead4ac5cbe509b34336afa5e4b1cce9a58bb981978474b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/webhookvalidation.go:38-44 | control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/webhookvalidation.go:59-65 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/webhookvalidation.go:38\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":"control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/webhookvalidation.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e793f1faae790dcdd8f96b03d8be2ecf229a4e0f37133de9633bd3943f43a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hack/copy-capi-types/main.go:337-343 | hack/copy-capi-types/main.go:537-543 \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 \u0060hack/copy-capi-types/main.go:337\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":"hack/copy-capi-types/main.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635814d3784dc57839ce03b0e0a7422ef4aef73dd6c6db4ab5b2841e53b1c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:402-408 | hypershift-operator/controllers/nodepool/conditions.go:431-437 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"405a03ed2bc5875dc1d9f002d8c1e335a1ed863200246a54943541853dc2eb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:402-408 | hypershift-operator/controllers/nodepool/nto.go:509-515 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1ae1dc748b30dc0a4ba448140edbb7ab82c1de4df6b0e95c93ce43b2537c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/autoscaler.go:66-72 | hypershift-operator/controllers/scheduler/azure/controller.go:35-41 \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":"hypershift-operator/controllers/scheduler/aws/autoscaler.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5285251b13af599bbb2c7d821af54a8393481c8cb686027af1be5bbb1e9ad8db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ignition-payload-controller/main.go:59-65 | sharedingress-config-generator/main.go:34-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ignition-payload-controller/main.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-payload-controller/main.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdf1900dc1ee106454890f3a33b8e3dda70a7dfaeab650c74ccb0201c661330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): product-cli/cmd/cluster/cluster.go:34-41 | product-cli/cmd/nodepool/create.go:47-54 \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 \u0060product-cli/cmd/cluster/cluster.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/cluster.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024d225db22320942808d353cbdc87e340e5e5d6cac55dd093dc107c0cf5105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2299-2304 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2362-2367 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2434-2439 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:2299\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a851a4eb8e42db377590e52569a366d1a6bfc81c836b00d2ee44e581f948e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): product-cli/cmd/iam/azure/create.go:43-48 | product-cli/cmd/iam/azure/destroy.go:42-47 | product-cli/cmd/infra/azure/destroy.go:40-45 \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 \u0060product-cli/cmd/iam/azure/create.go:43\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":"product-cli/cmd/iam/azure/create.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ad54119b73ad184907adcdd169140fd15c41171376a21ffd19686df701225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/cluster/core/destroy.go:438-444 | cmd/cluster/core/destroy.go:477-483 \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":"cmd/cluster/core/destroy.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0490423dd49e790bb4ddab286b5604f97f62fcf684a231394f4503393167788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/cluster/kubevirt/destroy.go:20-25 | product-cli/cmd/cluster/kubevirt/destroy.go:19-24 \u2014 before extracting anything, compare \u0060cmd/cluster/kubevirt/destroy.go\u0060 and \u0060product-cli/cmd/cluster/kubevirt/destroy.go\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060cmd/cluster/kubevirt/destroy.go:20\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/cluster/kubevirt/destroy.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7773a10466acc6ac37c69976efb92146a64e28cab1601c537213085bf0ae0a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/infra/azure/create.go:97-103 | cmd/infra/azure/destroy.go:84-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/create.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"65853e07567b321ab9d3bb07f8803303a3a6d09c66d175c8f2d2de066425404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/infra/azure/create_iam.go:56-61 | cmd/infra/azure/destroy_iam.go:44-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/infra/azure/create_iam.go:56\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/infra/azure/create_iam.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a65af378224770582afd53b76f8cb0d092e3a46e0469635139998431eeedd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/oadp/backup.go:127-132 | cmd/oadp/schedule.go:158-163 \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 \u0060cmd/oadp/backup.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":"cmd/oadp/backup.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb799c264669a8ae54c749da4cc7a215d965760b42dce946541f8fa318c0d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:68-76 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:68-76 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff1127d12749f72d58af6ec8f9387631255a337a1fa68dee5cebff0ca0fbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:258-263 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/azure.go:291-296 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8258b5a3f8c9c5e31f7dde780f46994411daa7491ee04e2eff551eedab6dbafe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/alerts/reconcile.go:41-48 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/crd/reconcile.go:32-39 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/alerts/reconcile.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2cdaa81f748e9a5114b330757e541772066bc685853cbc1a3113378fb86c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:373-380 | control-plane-operator/hostedclusterconfigoperator/controllers/usercabundle/usercabundle.go:50-57 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f519f64f3c356991a8f03e518de07fef81f91831222ab9bcacc80ef83e9676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:933-938 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:972-978 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:933\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f983e63de5d3b1f757894fa32ff217ec527b379ed6ac5f95df1b844103b8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2682-2689 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1802-1809 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2682\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6aa1b5a5c706e22c1d38b5f9dff060f6a1d981d845d1270074f61bca50f321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:4038-4049 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:4090-4101 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:4038\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"647c71e4c6ed5ca6a553c43d14d4c2c2177b5302cc2c61cb2405b46a632a85a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:5762-5768 | hypershift-operator/controllers/hostedcluster/hostedcluster_webhook.go:52-57 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5762}}}],"partialFingerprints":{"codehealthFindingId/v1":"710aa78b75af6f06c0d1a3bb511633b87ea04c77e1c6a574d9155bbe076da84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hypershift-operator/controllers/nodepool/nto.go:304-315 | hypershift-operator/controllers/nodepool/nto.go:329-340 \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":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca7967ddbb6b6de4b3fc6a6a2fe6f34e886a1b41b3548a12160337052d8713f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/nodepool/secret_janitor.go:290-295 | hypershift-operator/controllers/nodepool/secret_janitor.go:303-308 \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 \u0060hypershift-operator/controllers/nodepool/secret_janitor.go:290\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":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"080c8f48cbe4cd454ce001238d02c53ee3a9139fc4f6e433dd7ba13959fd5047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/platform/aws/controller.go:330-335 | hypershift-operator/controllers/platform/azure/controller.go:190-196 \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 \u0060hypershift-operator/controllers/platform/aws/controller.go:330\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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"00429706349d9f77bf607dd01b65fba46247f8ccaea34d24ff58de8ed3a8c027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/platform/aws/controller.go:335-340 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:206-211 \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 \u0060hypershift-operator/controllers/platform/aws/controller.go:335\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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59d2a94091b5f6fa3f73b07896aa75272877f6ad29cc96f8acf471349f15dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:162-167 | hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:207-212 \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":"hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90f49b0f99531e1954c46ecd7de3485d26acf361c15d57a4e2895992c13820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ignition-server/controllers/tokensecret_controller.go:280-285 | ignition-server/controllers/tokensecret_controller.go:318-323 \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 \u0060ignition-server/controllers/tokensecret_controller.go:280\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":"ignition-server/controllers/tokensecret_controller.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"253e31391979e9e0eb660d9217ff9485a1f3095162024b5b57ca57d3bd13f289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:562-567 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:809-813 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:932-937 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:971-977 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1013-1017 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1126-1131 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:562\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b1b02e8232ec5500fb678d3fb7da0bf132393ecedf5315a3ce97403eecefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/infra/gcp/create_iam.go:54-59 | cmd/infra/gcp/destroy_iam.go:33-38 \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 \u0060cmd/infra/gcp/create_iam.go:54\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/infra/gcp/create_iam.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bec08615f3e77e03158f460945774a67c259865ba355af0ccd323a7a3c3c3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/oadp/backup.go:53-59 | cmd/oadp/schedule.go:68-74 \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 \u0060cmd/oadp/backup.go:53\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/oadp/backup.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"386fb23dafc40755ba14b87428f41591d8c21bf553ece771b0883841b337b215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2672-2676 | control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:177-183 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2672\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba35312672546d58d792a67dc059976346382153488297f6165774388444ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go:12-17 | control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/podmonitor.go:12-17 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/podmonitor.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 1 separate duplicated blocks between them, totalling at least 6 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":"control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c884d37afb9f371379496f0ee0ea1923a73ad4b2df562577564da7ae880d3715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/nodepool/conditions.go:1192-1196 | hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go:437-442 \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"56411ab55a67a92eceb00d892fbebf8e30791039bf9c647dcd3b2d1040ae46c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:286-291 | hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:806-811 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:292\u0060 calls \u0060Info\u0060 and \u0060hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:812\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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f0d5cb30ba2171c881788151c278f63ebce2522d19df3542c9ac0d6e763f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:163-167 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:464-468 \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 \u0060hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:163\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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dda6964f393315be0389b42b947e8ecab1951d52519233ca0da7dafe9dffe3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:176-180 | hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:477-481 \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 \u0060hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:176\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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b6ba27d57b157e320faede182d8b46b00bbee90e49ba6cd0f9ed98745fb65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): karpenter-operator/controllers/karpenter/karpenter_controller.go:189-193 | karpenter-operator/controllers/karpenter/karpenter_controller.go:199-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060karpenter-operator/controllers/karpenter/karpenter_controller.go:189\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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce6033eefb89ff9dcc955ef12e844082a0364ba2cf82b5cc0fdc37a1fe30c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): pkg/capi/agent/v1alpha1/agentmachinetemplate_types.go:24-51 | pkg/capi/agent/v1beta1/agentmachinetemplate_types.go:24-51 \u2014 \u0060pkg/capi/agent/v1alpha1/agentmachinetemplate_types.go\u0060 and \u0060pkg/capi/agent/v1beta1/agentmachinetemplate_types.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 1 separate duplicated blocks between them, totalling at least 28 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":"pkg/capi/agent/v1alpha1/agentmachinetemplate_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7634c8efc66603575a17f06e64e104324851182382bfa4bcad2ca4809544e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): pkg/capi/aws/api/v1beta1/awsclustertemplate_types.go:26-63 | pkg/capi/aws/api/v1beta2/awsclustertemplate_types.go:26-64 \u2014 \u0060pkg/capi/aws/api/v1beta1/awsclustertemplate_types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/awsclustertemplate_types.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 1 separate duplicated blocks between them, totalling at least 39 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":"pkg/capi/aws/api/v1beta1/awsclustertemplate_types.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3778b4534901f4afa5bafeb16590500319a14be1b9e0a735b7a06ef02d03e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): api/certificates/v1alpha1/certificatesigningrequestapproval_types.go:13-34 | api/hypershift/v1beta1/certificatesigningrequestapproval_types.go:13-46 \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":"api/certificates/v1alpha1/certificatesigningrequestapproval_types.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8bf0c103b792f03fee2f8ad783d3c03f731d89da6956f084c07dea138f2a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/cluster/none/destroy.go:54-58 | cmd/cluster/openstack/destroy.go:61-65 \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":"cmd/cluster/none/destroy.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9893c92e91d96ddcfa799ff4dc1412ef1c4ea4bbb5d80db0ef88b17ace76a3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/infra/aws/route53.go:373-380 | support/awsutil/route53.go:104-111 \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":"cmd/infra/aws/route53.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a602d68bd0b761210833772d5e1f7e1450fb3e2dfcf67d7a93f3dad49d31afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/infra/gcp/create_infra.go:84-95 | cmd/infra/gcp/destroy_infra.go:56-67 \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":"cmd/infra/gcp/create_infra.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d56776bcdf277719ec0a8b676c3857d33a12233d4ca84811631fee08d6849f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/infra/gcp/iam.go:629-638 | cmd/infra/gcp/networking.go:18-27 \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":"cmd/infra/gcp/iam.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ad246aa9f42a99ed63be31709ad34ea347c4ba065e1a887a6c3c53ce19f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/oadp/common.go:171-175 | cmd/oadp/restore.go:102-107 \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":"cmd/oadp/common.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13f421da3eaa1016ea1ec6cc5bc59535a75377685cad910fcefad69019bd1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go:14-40 | control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go:307-337 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70f53985bd4a01664dcfbcc12799b58d98ae7a265f0598dbc616de2035bd358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/kas/kubeconfig.go:15-20 | control-plane-operator/controllers/hostedcontrolplane/pki/kas.go:139-144 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:342-347 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas/kubeconfig.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c216315f554213dd5d0e645c92d6f378e1c3d1ebf7a39ed22f42bdb5d838a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:126-138 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:126-138 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"06628795db54c070fe62a358e3036350460ae86d263f1ec5d7b00a51df8789ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:629-640 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:699-710 \u2014 before extracting anything, compare \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 538 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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af415edce040c3a4262d10109471fb70c7dd16269f38dfa13014254542620f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/podmonitor.go:10-15 | control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/podmonitor.go:10-15 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/podmonitor.go:10-15 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/podmonitor.go:10-15 \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/podmonitor.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/podmonitor.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 1 separate duplicated blocks between them, totalling at least 6 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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/podmonitor.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f789e79685e5e2020e32aed4e9a220677814593b7adb6a396913e315c0ddb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go:248-253 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/ibmcloud.go:159-164 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/aws.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1d6eb1bbbf1b6360b05b836a28fec95c669fe4cb8d0b03d9ae8af66d5f842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go:82-88 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/oauth/reconcile.go:90-96 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d673039a518d2e9231b808fd82bbe9318ad9b3f560e6ea393f3c17cfb388f924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go:90-96 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/oauth/reconcile.go:98-104 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db9a99e6b07b5961fc94598381ebe8b821f965d2e399cca173e8e722611687c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/router/config.go:34-40 | sharedingress-config-generator/config.go:38-44 \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":"control-plane-operator/controllers/hostedcontrolplane/v2/router/config.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b6f027e7f5e6b0e445807add01c2422e40b5a243a251c5feff97def32ee602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1845-1853 | hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:293-301 \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. Check import visibility before settling on that home: \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d66bd6016cc9bcfa03b77f2b2f47592531332d527662b0d86166ea7babdbd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:138-145 | control-plane-pki-operator/certificatesigningcontroller/certificatesigningcontroller.go:70-77 | control-plane-pki-operator/certificatesigningrequestapprovalcontroller/certificatesigningrequestapprovalcontroller.go:64-71 | control-plane-pki-operator/certificatesigningrequestapprovalcontroller/certificatesigningrequestapprovalcontroller.go:73-82 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d63f4b82e19ee12744b2fdb9a107dea8d9fa7de750cc7eba657efa78464ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hack/copy-capi-types/main.go:1296-1303 | support/releaseinfo/releaseinfo.go:315-322 \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":"hack/copy-capi-types/main.go"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"432fdce0bbbf11b5c5bf1fc54498e153867b4ceb3e659c95e020dade6206e27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hack/kubelet-ratcheting-gen/main.go:125-130 | hack/tools/docs-aggregator/main.go:25-30 \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":"hack/kubelet-ratcheting-gen/main.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce41ee4138d83e751abbd0b9dc6625ea8d76f5ff25a152aba7b1b21a089c97e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3447-3454 | support/netutil/expose.go:7-14 | support/netutil/expose.go:42-49 \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac5d15a91cf7074c2e26cb1fd907cb8f79ff705d46014f862971f02f5346195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go:488-494 | support/netutil/networking.go:9-15 | support/netutil/networking.go:17-23 | support/netutil/networking.go:33-39 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Check import visibility before settling on that home: \u0060hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef0bcaae67a9bfb5b3fdff3fcf5e5287670039bf9d40293813f819c48330b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:657-669 | support/karpenter/karpenter.go:72-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0344da49acf70bf69bf09e06f32d494037641396e294f001d2f178b9fd24f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/capi/aws/api/v1beta1/awsidentity_types.go:181-190 | pkg/capi/aws/api/v1beta2/awsidentity_types.go:184-193 \u2014 \u0060pkg/capi/aws/api/v1beta1/awsidentity_types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/awsidentity_types.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 2 separate duplicated blocks between them, totalling at least 169 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":"pkg/capi/aws/api/v1beta1/awsidentity_types.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca221df58fe527ab4c35deadd61b1ddf9f46d601e67db8df8180ab4a51714c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/capi/aws/api/v1beta1/groupversion_info.go:27-38 | pkg/capi/aws/exp/api/v1beta1/groupversion_info.go:27-38 | pkg/capi/ibmcloud/api/v1beta1/groupversion_info.go:28-39 \u2014 before extracting anything, compare \u0060pkg/capi/aws/api/v1beta1/groupversion_info.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta1/groupversion_info.go\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"pkg/capi/aws/api/v1beta1/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4ef5b54700f0bfe27162bd4c6320623e65e2feb978fea5ee09431079a4de11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/capi/aws/api/v1beta1/tags.go:48-59 | pkg/capi/aws/api/v1beta2/tags.go:48-59 | pkg/capi/azure/api/v1beta1/tags.go:58-69 \u2014 \u0060pkg/capi/aws/api/v1beta1/tags.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/tags.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 2 separate duplicated blocks between them, totalling at least 57 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":"pkg/capi/aws/api/v1beta1/tags.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47610453a7045525f636ccd9c4672809b7619114b1b6abccfdcdbdcfff2512f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/capi/aws/api/v1beta2/groupversion_info.go:27-36 | pkg/capi/aws/exp/api/v1beta2/groupversion_info.go:27-36 \u2014 before extracting anything, compare \u0060pkg/capi/aws/api/v1beta2/groupversion_info.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/groupversion_info.go\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"pkg/capi/aws/api/v1beta2/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd63ef3dcbcc724c5122af4797e5c9bd251ea1a515c8a24feda8735a02c7f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/capi/aws/exp/api/v1beta1/types.go:240-248 | pkg/capi/aws/exp/api/v1beta2/types.go:356-364 \u2014 \u0060pkg/capi/aws/exp/api/v1beta1/types.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/types.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 124 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":"pkg/capi/aws/exp/api/v1beta1/types.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"196337c4e4ec8bf87b0093daf9dafa1e0767ec1000d87dfdf3200a0e25a994dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): pkg/capi/ibmcloud/api/v1beta1/ibmpowervsclustertemplate_types.go:26-58 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsclustertemplate_types.go:26-59 \u2014 \u0060pkg/capi/ibmcloud/api/v1beta1/ibmpowervsclustertemplate_types.go\u0060 and \u0060pkg/capi/ibmcloud/api/v1beta2/ibmpowervsclustertemplate_types.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 1 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":"pkg/capi/ibmcloud/api/v1beta1/ibmpowervsclustertemplate_types.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b445b5a7e64e7b91dcaecd319947a728e9e9e98eaafab3407774133eaaf2bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/openstackmachinetemplate_types.go:84-89 | pkg/capi/openstack/api/v1beta2/openstackmachinetemplate_types.go:92-97 \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":"pkg/capi/openstack/api/v1beta1/openstackmachinetemplate_types.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37ff96d2be11d85694c6343117226121c73252757dabe1ced05dbada81723b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:125-144 | pkg/capi/openstack/api/v1beta2/types.go:163-188 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b286c3a478d40c7ce5758ffc7f1d8c1f674c8f711d8273418159892f9370dff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): pkg/capi/openstack/api/v1beta1/types.go:146-154 | pkg/capi/openstack/api/v1beta1/types.go:180-188 | pkg/capi/openstack/api/v1beta1/types.go:257-265 | pkg/capi/openstack/api/v1beta2/types.go:190-198 | pkg/capi/openstack/api/v1beta2/types.go:230-238 | pkg/capi/openstack/api/v1beta2/types.go:330-338 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d539fbaad75b79f1af6cc4b125b283de2bf9b258092d5ae640f5556e42805d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:159-178 | pkg/capi/openstack/api/v1beta2/types.go:203-228 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bfbed797888c82acccb607cd7193c6928716e92295b7dd7c7e35de20069340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:237-255 | pkg/capi/openstack/api/v1beta2/types.go:303-328 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c7997610a6a89467d970889325a9df3576a4e03993deb9caba6cf630244e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): api/hypershift/v1beta1/azureprivatelinkservice_types.go:8-16 | api/hypershift/v1beta1/controlplanecomponent_types.go:8-16 | api/hypershift/v1beta1/endpointservice_types.go:8-16 \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":"api/hypershift/v1beta1/azureprivatelinkservice_types.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"25546f43c50823e2fca6c153a61caaf2a47fd3a750642a4a66bc2c2e72f7ba08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): api/hypershift/v1beta1/hosted_controlplane.go:11-20 | api/hypershift/v1beta1/hostedcluster_types.go:17-27 | api/hypershift/v1beta1/nodepool_types.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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/hosted_controlplane.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64af08a3a2ad8de8c2652464bf767a366f7791acc395487fd9de126b0e605f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/pki/cluster_storage_operator.go:11-17 | control-plane-operator/controllers/hostedcontrolplane/pki/csi_snapshot_controller_operator.go:11-17 | control-plane-operator/controllers/hostedcontrolplane/pki/registryoperator.go:11-17 \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":"control-plane-operator/controllers/hostedcontrolplane/pki/cluster_storage_operator.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d1fddf7205f5d516f1030be23bfdf852cdebd9aaf8ffd1879edeba20deca84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): control-plane-operator/controllers/hostedcontrolplane/v2/cno/azure.go:10-14 | control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/azure.go:10-14 | control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/azure.go:10-14 | control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go:66-70 | control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go:83-87 \u2014 there are 5 copies across 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/azure.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a794d466d5b87ef7f4e49612e1fb736d6738c50d505cd02cd86c267a8a2d321b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go:22-28 | control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/deployment.go:49-55 | control-plane-operator/controllers/hostedcontrolplane/v2/ocm/deployment.go:22-28 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fcf86cf95246e440b160c9d8c5b55ffeb82a650bb2938c0329aad5c2828cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go:170-180 | support/podspec/containers.go:247-257 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b873de930e7e4e981b28fd5987469f5c509c705eb5fa461a49821c107c7fc359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/capi/aws/api/v1beta1/network_types.go:287-294 | pkg/capi/gcp/api/v1beta1/types.go:486-494 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"42efb802f1b22c6567fef1ee611a3d8b484c62d2ba76d1ab7f86b32227868864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): pkg/capi/ibmcloud/api/v1beta2/ibmpowervscluster_types.go:358-363 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsimage_types.go:149-154 | pkg/capi/ibmcloud/api/v1beta2/ibmpowervsmachine_types.go:289-294 | pkg/capi/ibmcloud/api/v1beta2/ibmvpccluster_types.go:427-432 | pkg/capi/ibmcloud/api/v1beta2/ibmvpcmachine_types.go:250-255 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/ibmcloud/api/v1beta2/ibmpowervscluster_types.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d52e0d10eb6ec3cfaf479a81263213a0d60803fb99a0313eccb9125e0f5668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): product-cli/cmd/iam/azure/create.go:20-24 | product-cli/cmd/iam/azure/destroy.go:20-24 | product-cli/cmd/infra/azure/destroy.go:20-24 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/iam/azure/create.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07a7ba0cb4287e28bfe473046c2695c5463dd535e3e88765e309c6aa8fecfd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): pkg/capi/aws/exp/api/v1beta1/types.go:29-103 | pkg/capi/aws/exp/api/v1beta2/types.go:28-102 \u2014 \u0060pkg/capi/aws/exp/api/v1beta1/types.go\u0060 and \u0060pkg/capi/aws/exp/api/v1beta2/types.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 124 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 \u0060pkg/capi/aws/exp/api/v1beta1/types.go:29\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/capi/aws/exp/api/v1beta1/types.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afc6bbb21a23706accdbc5736254817ad7a697b27a334db27381418853b9bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:511-580 | pkg/capi/openstack/api/v1beta2/types.go:611-682 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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 \u0060pkg/capi/openstack/api/v1beta1/types.go:511\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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1cdd8f731c3ac0cf0f6014c5739fc8002b3424fe4626cd502276c49568b290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): pkg/capi/openstack/api/v1beta1/types.go:450-493 | pkg/capi/openstack/api/v1beta2/types.go:537-593 \u2014 \u0060pkg/capi/openstack/api/v1beta1/types.go\u0060 and \u0060pkg/capi/openstack/api/v1beta2/types.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 9 separate duplicated blocks between them, totalling at least 372 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 \u0060pkg/capi/openstack/api/v1beta1/types.go:450\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/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f466b204f04de5384abde9fa00732ff576eb6bbd14e48e824423b77cb6858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): pkg/capi/aws/api/v1beta1/awsmachinetemplate_types.go:36-72 | pkg/capi/aws/api/v1beta2/awsmachinetemplate_types.go:82-119 \u2014 \u0060pkg/capi/aws/api/v1beta1/awsmachinetemplate_types.go\u0060 and \u0060pkg/capi/aws/api/v1beta2/awsmachinetemplate_types.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 1 separate duplicated blocks between them, totalling at least 38 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":"pkg/capi/aws/api/v1beta1/awsmachinetemplate_types.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4f92d9271c19f7cfb769febc67190b24fe5b0203257543d05c7b9d646deafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go:96-115 | control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go:131-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 \u0060control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go:96\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":"control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c2a511c01cf3ccb809e541b585cbdf99fd2a0e884cbbcf8af4627d1cf922fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:792-809 | hypershift-operator/controllers/nodepool/capi.go:1237-1254 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:792\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"104a8e14bb2f2f30c1e1a675d8b0c9bc7ac7ba0ae51d5d229f0c1ec0d8e4ff96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/network_policies.go:1027-1042 | hypershift-operator/controllers/hostedcluster/network_policies.go:1054-1070 \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 \u0060hypershift-operator/controllers/hostedcluster/network_policies.go:1027\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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"562baa38f3cc690cdc30b1d871ae051e2e0a6f991b248259e7060dda99b2a8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hypershift-operator/main.go:1246-1256 | hypershift-operator/main.go:1311-1325 \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 \u0060hypershift-operator/main.go:1246\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":"hypershift-operator/main.go"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d609058ed12028a8730ec6e512edd393208bd114cbcdcd732ebaffd04dd09b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:357-368 | hypershift-operator/controllers/nodepool/capi.go:413-426 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:357\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf94906f4510f56aa43a4a426f6f4be268ad31890cadb03277c8793683aa3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cmd/install/assets/hypershift_operator.go:1921-1934 | cmd/install/assets/hypershift_operator.go:1941-1954 \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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95713401dcd927c0ca2884a597778456119fc08c4c54f826e4dd2fe63a2bbc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/network_policies.go:597-609 | hypershift-operator/controllers/hostedcluster/network_policies.go:844-856 \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"da209db0ccc26b50a6571aba16d9258b0654d445a90bc3d69b6903feed792e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1090-1102 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:530-542 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1090\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb4c50ccd2f35ef979de691dccf097c17a7848ff0bceb768e833a62ce8684b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): hypershift-operator/controllers/nodepool/capi.go:335-347 | hypershift-operator/controllers/nodepool/capi.go:377-389 | hypershift-operator/controllers/nodepool/capi.go:435-447 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:335\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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad524235bb441d2bb61278d6cc2d642edb7055ae8455099eb275a3e61336548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:209-221 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:223-235 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go:237-249 \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. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/konnectivity/reconcile.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebe7dbfeed25e1d9a1b7cc3a4654166203780637b7e9564423e4d6538d4d8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/oadp/backup.go:187-199 | cmd/oadp/schedule.go:214-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/oadp/backup.go:187\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":"cmd/oadp/backup.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a7a8216dfb6934a245d6181e016a2d916d3bc1ff05f1e2812ce80cd41bbac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/cluster/aws/create.go:492-503 | cmd/cluster/gcp/create.go:428-439 \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 \u0060cmd/cluster/aws/create.go:492\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/cluster/aws/create.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f45c3c2b53bdd663e906faa819aa526785d4af61f5ec7a94ef71d2436c45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): cmd/install/assets/hypershift_operator.go:1241-1252 | cmd/install/assets/hypershift_operator.go:1681-1692 | cmd/install/assets/hypershift_operator.go:2004-2015 | cmd/install/assets/hypershift_operator.go:2149-2160 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6967fa36dbbd65e234db8f983de986852b79757fa6b2818c27101da8d7087f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/oadp/backup.go:90-101 | cmd/oadp/schedule.go:121-132 \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 \u0060cmd/oadp/backup.go:90\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":"cmd/oadp/backup.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d74ec939b849ae47182c3285e42c375fe0a86d7572aaec4d6c67862b7e1c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/oadp/backup.go:156-166 | cmd/oadp/schedule.go:188-198 \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 \u0060cmd/oadp/backup.go:156\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":"cmd/oadp/backup.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e848a0d4e4767d2e92afebd1de6baf0a5c6a8401a684668e8a5a2f2e2d4379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/kas/service.go:200-210 | control-plane-operator/controllers/hostedcontrolplane/kas/service.go:448-458 | control-plane-operator/controllers/hostedcontrolplane/oauth/service.go:102-112 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/kas/service.go:200\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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"25174084b00f8b5b2df43259f6d15aed4250217ecbb163ec96127d841ebfe060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go:126-136 | control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go:184-194 \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 \u0060control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go:126\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":"control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7390f14c71df4c033d21413ff0db55beb833eacc8f3de466b0a619bbb8ae187e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/install/assets/hypershift_operator.go:1709-1719 | cmd/install/assets/hypershift_operator.go:1826-1836 \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/install/assets/hypershift_operator.go:1709\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/install/assets/hypershift_operator.go"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"f625929f7b75ca61fb786d05481d3b02cc34b1576d453a1a8c1a1aa101b0a104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/util/client.go:160-170 | etcd-recovery/etcdrecovery.go:482-492 \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 \u0060cmd/util/client.go:160\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/util/client.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1ea92a2ab3bcd04d70fbd46469f42daba80c9fdb014f8a649f88f22ca98724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/install/assets/hypershift_operator.go:697-707 | cmd/install/assets/hypershift_operator.go:711-721 \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/install/assets/hypershift_operator.go:697\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":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b64ffae1aed42ed2c06a5062b9d9beb09765665410275eabe05dce4fa165ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/cluster/kubevirt/create.go:304-314 | cmd/cluster/openstack/create.go:258-268 \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 \u0060cmd/cluster/kubevirt/create.go:304\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":"cmd/cluster/kubevirt/create.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d70037f509943e8cf29c446bcc8a8e2054cdbee4f2c4b5e3178f933562762e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/infra/gcp/iam.go:450-459 | cmd/infra/gcp/iam.go:1146-1155 \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/infra/gcp/iam.go:450\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/infra/gcp/iam.go:460\u0060 calls \u0060Info\u0060 and \u0060cmd/infra/gcp/iam.go:1156\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":"cmd/infra/gcp/iam.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559370dd16f887b7e895415c9b74250de070d67a1bb13670364823c5f710d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:706-715 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:795-804 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:706\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060err\u0060 to \u0060= customerGCPClient.Addresses.Get(customerProject\u0060 in one and \u0060= customerGCPClient.ForwardingRules.Get(customerProject\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffec3fb466a39594e8766a98823d0378f52fc7d21d5afa459430111721021965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2145-2154 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2175-2184 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2145\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70f9bde61b1cdaf34b8b73313fed533bb74577977d80433e075ca0947edb030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:600-609 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:647-656 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:786-795 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:806-815 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:872-881 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:907-916 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:945-954 \u2014 all 7 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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go:600\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/rbac/reconcile.go"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c5a5e4fa1ef898dcbed1e7fbd5f964025f0c3a961a762e705ee16c501cdb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/manifests/controlplanepkioperator/manifests.go:21-30 | hypershift-operator/controllers/manifests/controlplanepkioperator/manifests.go:33-42 \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":"hypershift-operator/controllers/manifests/controlplanepkioperator/manifests.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e3cb7f5c41a35b2b57dcbe79b79e8e65a6bd9af38edc212ec9fc8aac824c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go:30-39 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/certs.go:33-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go:30\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":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe55a15747c9b3b14303099b96af99d6375d14a6ee26150f0eba7a91c73465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1125-1134 | hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:562-571 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1125\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go:575\u0060 calls \u0060buildNATSubnetFilter\u0060, \u0060Sprintf\u0060 and \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1137\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf95113f7fe44b3570874d09fd04e0ce52012c652c0ea2fdd30d6617320824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3318-3327 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3336-3345 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3318\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65d47f2a384975732402b516857123cc69083496d6686e7c1260382475af812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hypershift-operator/controllers/etcdbackup/reconciler.go:841-850 | hypershift-operator/controllers/etcdbackup/reconciler.go:855-864 \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 \u0060hypershift-operator/controllers/etcdbackup/reconciler.go:841\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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e99f3dba131bd2b1f5c33bf69aba7319a5986034510c9712e86124cf8ee19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/oadp/backup.go:143-151 | cmd/oadp/schedule.go:175-183 \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 \u0060cmd/oadp/backup.go:143\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":"cmd/oadp/backup.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8afac30c7aff7e2a4aea45c6ba626f5abcb24e68cb46108226147b7e2a6e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:256-264 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:285-293 | hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go:321-329 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e85ff4610d0973b649d83fb24a7a83df7e9cce747261d072a442f09dcf6d24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:895-903 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:931-939 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:895\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c5d06710d9482f40d79d7d81bc2b099294d24cd76fedf08b30dc9e4997717e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go:203-211 | control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go:54-62 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go:203\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":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc262aecd57e5284198748aa36f913beb3df27ed6df5a7a753ee212f8ee9e46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): support/awsutil/route53.go:237-245 | support/awsutil/route53.go:268-276 \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 \u0060support/awsutil/route53.go:237\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":"support/awsutil/route53.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a3753af04ca8eb6e91c0ee7b8190551aee67ea6088cbfe88feaa5ed95d1c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:1980-1988 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2004-2012 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2027-2035 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2061-2067 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2082-2088 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2157-2163 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:2190-2196 \u2014 all 7 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 \u0060control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:1980\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c42a2d3b40e00c3eeeea08975d3603df37fbe7252090a4297b877c0cdbd6fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go:87-95 | control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:102-110 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go:112\u0060 calls \u0060UpdateContainer\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go:97\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kcm/deployment.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3e598685173ee89aae2fa26eceda9c230e7de18c1ccf3a2feb691f19bbe087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/nodepool/nto.go:499-507 | hypershift-operator/controllers/nodepool/nto.go:509-517 \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 \u0060hypershift-operator/controllers/nodepool/nto.go:499\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":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df45a71e262600a62656f241d165ac44871cb22a0666b9b25e1d71c22cd95f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): support/oadp/validate.go:66-74 | support/oadp/validate.go:136-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 \u0060support/oadp/validate.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060support/oadp/validate.go:75\u0060 calls \u0060Errorf\u0060 and \u0060support/oadp/validate.go:145\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":"support/oadp/validate.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef82c230a10d2663d810f86a12913e1629cda8e6e60365e13861f2ba0f7fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/create/create.go:17-25 | product-cli/cmd/create/create.go:18-26 \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":"cmd/create/create.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c26ba7d0e318bfb269e62bce699d571a75c7ab4e40ee62bf1f1549ef82af229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/nodepool/metrics/metrics.go:412-420 | hypershift-operator/controllers/nodepool/metrics/metrics.go:427-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/nodepool/metrics/metrics.go:412\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":"hypershift-operator/controllers/nodepool/metrics/metrics.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dc57d350bf676aac7da50feaca2e8e2d222316f368894781c08383d127f2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3236-3244 | control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3261-3269 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3236\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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2885d49f4c224c9a361d4ee958a740cd3f8a379c78158922a2b22decae93545c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): support/releaseinfo/registryclient/client.go:392-400 | support/releaseinfo/registryclient/client.go:403-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 \u0060support/releaseinfo/registryclient/client.go:392\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 after the matched lines, \u0060support/releaseinfo/registryclient/client.go:402\u0060 calls \u0060Contains\u0060, \u0060Split\u0060 and \u0060support/releaseinfo/registryclient/client.go:413\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":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d280b53e6157d259828e67e44d6bd1c6ffe938036375749fa3241e8a70e324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/platform/azure/controller.go:353-361 | hypershift-operator/controllers/platform/azure/controller.go:553-561 \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 \u0060hypershift-operator/controllers/platform/azure/controller.go:353\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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da613ad6fcca12849fb4d1ba7b33d8d39f09e89b8335905b5c6aef8d2b9774d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): hypershift-operator/controllers/platform/aws/controller.go:148-156 | hypershift-operator/controllers/platform/aws/controller.go:186-194 \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 \u0060hypershift-operator/controllers/platform/aws/controller.go:148\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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbdf8e45145dbd6d7670bc772811982b5a9ee405752e1975977670882ce45b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/consolelogs/aws/getlogs.go:56-64 | cmd/infra/aws/create_iam.go:115-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/consolelogs/aws/getlogs.go:56\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, \u0060cmd/infra/aws/create_iam.go:125\u0060 calls \u0060Error\u0060 and \u0060cmd/consolelogs/aws/getlogs.go:66\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":"cmd/consolelogs/aws/getlogs.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"80520092d1c3b7646161f0e343b1d5a0c7e24f90a7ffad68c556f2c3a78c3974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:209-217 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:262-270 | control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:372-380 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:209\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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c5501d836ad5e0f0404f1d371489849fc376c7cd1f33ab8c15442ece9abd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:410-418 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:173-181 \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 \u0060control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go:410\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1498f518ade638960d679f1647b67a8f7c6c792393acd051e8d0408406bf06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): control-plane-operator/controllers/gcpprivateserviceconnect/dns.go:47-55 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:1150-1158 | control-plane-operator/controllers/healthcheck/gcp.go:140-146 | control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go:98-104 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/gcpprivateserviceconnect/dns.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1414cf922126eba6ed4fb109fe196cf105d8722bc1ec79a92dd02b82e70303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:193-200 | hypershift-operator/controllers/sharedingress/sharedingress_controller.go:252-259 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:193\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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8c192d413cd5ac7f3abb5ac9278cfd77c9be1c81166020ec6daab5056599aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/cluster/core/create.go:337-344 | cmd/cluster/core/create.go:528-535 \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/cluster/core/create.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/core/create.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"847638c41d950186702727af0cfb6888558a166b14111ce193b83e0f9942eabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cmd/infra/aws/route53.go:142-149 | cmd/infra/aws/route53.go:153-160 | cmd/infra/aws/route53.go:164-171 \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 \u0060cmd/infra/aws/route53.go:142\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":"cmd/infra/aws/route53.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"359967d3207d7dec4567ad6b5274e411ef80ab4a808edcc8771d7e7972834c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:189-196 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:200-207 \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7575b80a3add15b818f8b575f84f3ba3c0a072e4ffb60c33427ea25ba51f7554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/oadp/backup.go:262-269 | cmd/oadp/schedule.go:264-271 \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 \u0060cmd/oadp/backup.go:262\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/oadp/backup.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba803b4db61773066095ddb11ac353fa60f7b1f052165ed93586a491444ec4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:117-124 | control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:155-162 | control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:166-173 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:127\u0060 calls \u0060HashSimple\u0060 and \u0060control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go:175\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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e8cdb1f0f0e9c8c64880806fc15903d87f288476722a054e6ea8104db236c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:798-805 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1117-1124 \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 \u0060control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:798\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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11eb79f7efcbd5854382c66ac38c163f58ecbe559d2fa40e4604a9efe1c3fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hypershift-operator/controllers/hostedclustersizing/setup.go:87-94 | hypershift-operator/controllers/scheduler/aws/placeholders.go:109-116 \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 \u0060hypershift-operator/controllers/hostedclustersizing/setup.go:87\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":"hypershift-operator/controllers/hostedclustersizing/setup.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"97efe4f63fc42aa027686c1efdda9a1fda8afaae27a64b5143ec33257022de44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): hypershift-operator/controllers/hostedclustersizing/setup.go:87-93 | hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go:81-88 | hypershift-operator/controllers/scheduler/aws/placeholders.go:109-115 | hypershift-operator/controllers/scheduler/aws/placeholders.go:122-128 \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 \u0060hypershift-operator/controllers/hostedclustersizing/setup.go:87\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. 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":"hypershift-operator/controllers/hostedclustersizing/setup.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2c7403669cd0109f9dd1bd244f42580b90ddfda4279047e6069623ef6c8868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/controllers/azureprivatelinkservice/controller.go:1086-1093 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:1213-1220 \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 \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:1086\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd513f10bc83a0fa716f1ab5313803929242f970f65df46a4e261fce5ac00f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go:262-269 | control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go:288-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. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5af2d3a22482823e07d9a8a678a4218fe4d2664df3481778d714a0c296fc86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:731-738 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1069-1076 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e7973a1b4bc01a89b6423a84ed1223bcf4b40277a0eb7311366a779110ba76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go:51-58 | control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go:86-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fea60b32cf49993b7baefc7d8b143c36201d951ae406a42ac53260b4d9cc487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go:51-58 | control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go:86-93 | hypershift-operator/controllers/nodepool/nodepool_controller.go:214-221 \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. 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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03bd5cb10ac0d439f6455bc8c076f11c581677210f2837b7c04626a208b6004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/azureprivatelinkservice/controller.go:395-401 | control-plane-operator/controllers/azureprivatelinkservice/controller.go:475-482 \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 \u0060control-plane-operator/controllers/azureprivatelinkservice/controller.go:395\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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"af387575a7ced00b3e17f13cc251f53d7c5558851aa0b350b95d9a8c589f8939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hypershift-operator/controllers/nodepool/capi.go:1556-1562 | hypershift-operator/controllers/nodepool/capi.go:1566-1573 \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 \u0060hypershift-operator/controllers/nodepool/capi.go:1556\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903824c6130216582b8219d7b84791770f84ff34a19af4586415f0bf4fd30e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/bastion/aws/create.go:54-59 | cmd/bastion/aws/destroy.go:40-46 \u2014 before extracting anything, compare \u0060cmd/bastion/aws/create.go\u0060 and \u0060cmd/bastion/aws/destroy.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"cmd/bastion/aws/create.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5112df083dbc14c226294265e52f831084e482569b22ea8c654c307ddb5921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:255-261 | hypershift-operator/controllers/platform/aws/controller.go:330-335 | hypershift-operator/controllers/platform/azure/controller.go:190-196 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:255\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948e2fd1b787510c265491e92bbd366dc9cb4e631ae221b1d64524c448da3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): support/releaseinfo/releaseinfo.go:246-252 | support/releaseinfo/releaseinfo.go:269-275 \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 \u0060support/releaseinfo/releaseinfo.go:246\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":"support/releaseinfo/releaseinfo.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"762a4e424a8b8c4befbcf05c7ef32ee9d896df504798a1acb5ad7e981ed8bafb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3825-3831 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3833-3839 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3825\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3825}}}],"partialFingerprints":{"codehealthFindingId/v1":"802214c707266c89a50dfba3941bb8685e89ae3e51345905e338d1ce101b2c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go:28-34 | control-plane-operator/controllers/hostedcontrolplane/v2/ocm/config.go:55-61 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a044761f8cdc75f48638f0fae323bd2e09a084e1c80de4386907d360464961c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:503-509 | control-plane-operator/controllers/hostedcontrolplane/ingress/router.go:84-90 | hypershift-operator/controllers/sharedingress/router.go:235-241 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/infra/infra.go:503\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"881192dd54687a8a147fbb77c285c58d03589134542eda84536de857e070ded3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:778-784 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:798-804 | control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go:1117-1123 \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aae6aee1b59c96116f9d52c1f1a24321cd63d53f832705870f8a521d58781a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:116-122 | control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:135-141 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go:116\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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/kas/admissionpolicies.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49177b47c9a2aa1d9a21b61a8bbd4cc3f1089025b39ece34b6dbb300da86e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/bastion/aws/destroy.go:105-111 | cmd/consolelogs/aws/getlogs.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/bastion/aws/destroy.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 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, \u0060cmd/bastion/aws/destroy.go:113\u0060 calls \u0060Errorf\u0060 and \u0060cmd/consolelogs/aws/getlogs.go:87\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":"cmd/bastion/aws/destroy.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28c23510b975d9ae1646ae98e38739b0ac65a12a112d5a1fb7eba1a7dae5613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/etcd_recovery.go:87-92 | hypershift-operator/controllers/hostedcluster/etcd_recovery.go:105-111 \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":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"404718806d992b1a8aafbd520ac0824843fda678bede847c07269b044b8bf5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:401-406 | hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go:649-654 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:401\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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4c6de4e190cc031fd06ae2c5dd4175579d0eb22b2fc7923168c3a7fb5b930b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go:25-30 | control-plane-operator/hostedclusterconfigoperator/controllers/machine/setup.go:103-108 | control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go:21-26 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go:25\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go:32\u0060 calls \u0060Watch\u0060, \u0060GetCache\u0060, \u0060EnqueueRequestsFromMapFunc\u0060 and \u0060control-plane-operator/hostedclusterconfigoperator/controllers/machine/setup.go:110\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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"476517045f4c4b96d89e346743beb54194a3697513da736e8c9a734eae4dd19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): hypershift-operator/controllers/nodepool/aws.go:474-479 | hypershift-operator/controllers/nodepool/aws.go:494-499 | hypershift-operator/controllers/nodepool/gcp.go:65-70 | hypershift-operator/controllers/nodepool/kubevirt.go:79-84 | hypershift-operator/controllers/nodepool/openstack.go:57-62 | hypershift-operator/controllers/nodepool/powervs.go:172-177 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/nodepool/aws.go:474\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":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2df5588b00112001b19aefa5b6cec68f04d4df8d8d27fdb4df16db2b695729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/infra/azure/create.go:38-43 | cmd/infra/azure/destroy.go:42-47 \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 \u0060cmd/infra/azure/create.go:38\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":"cmd/infra/azure/create.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c418adbb5482cb9738465f0c2423dd3d6bbd51ad3b8d7375514801fce33d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/hcpstatus/hcpstatus.go:41-46 | control-plane-operator/hostedclusterconfigoperator/controllers/hcpstatus/hcpstatus.go:48-53 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/hcpstatus/hcpstatus.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":"control-plane-operator/hostedclusterconfigoperator/controllers/hcpstatus/hcpstatus.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6af5c358ff8bf3bbb14cef45e5ca98ebda0ee7cde976c69e7be355211671030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go:66-71 | control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go:92-97 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/deployment.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a1b4497c358918281b836ec436c7bf30d3176e46ccb051987081dabb2d9a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): karpenter-operator/controllers/karpenter/karpenter_controller.go:223-228 | karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go:101-106 \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 \u0060karpenter-operator/controllers/karpenter/karpenter_controller.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. 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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88df0cc6ea096f57916039acec0776144644ea4d38993b8371397335b9e0264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:767-772 | control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:821-826 \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 \u0060control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go:767\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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"709124eec80b4a264a932cbd06e250453170572b7f466e45e186f1caa0f33972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:202-207 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:223-228 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:246-251 | control-plane-operator/controllers/hostedcontrolplane/v2/kas/token_webhook.go:50-55 | support/controlplane-component/kubeconfig.go:24-29 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go:202\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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be5cae210e4c5631214a2837bf84294c472b5d22465b5a5bf246e448a536e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3832-3836 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3840-3844 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:3832\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3832}}}],"partialFingerprints":{"codehealthFindingId/v1":"3736ae4743166f0e1fd43bf6ea60fca9de8d4320c16b8605995dbed1abb13ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/nodepool/nodepool_controller.go:596-600 | hypershift-operator/controllers/nodepool/nodepool_controller.go:607-611 \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 \u0060hypershift-operator/controllers/nodepool/nodepool_controller.go:596\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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f91f6d6c004b5fa78e08625290a2b20a15dd265000e7c0dd8cb7636844d1cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:319-323 | hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go:336-340 \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 \u0060hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go:319\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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1109e22a2bd46d150548b985913310c0ea9dfbb7af864c90f0893212f338bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go:79-83 | hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go:123-127 \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 \u0060hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go:79\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":"hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d116e55ca841cbc5e9b1825bbc6ee2c62bc44bcc45832f9c4720644d1054dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2454-2458 | hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2477-2481 \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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2454\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 after the matched lines, \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2482\u0060 calls \u0060ensureHostedResourcesAreEmpty\u0060, \u0060Errorf\u0060 and \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2459\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e86c869970289654a9edc8d7f880c11a5ed713b9bb34859e70e550fe1bd5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/infra/powervs/create.go:231-235 | cmd/infra/powervs/destroy.go:121-125 \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 \u0060cmd/infra/powervs/create.go:231\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/infra/powervs/create.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5494cfb65d60a753832203a4fa7309a8d55a20f7cfe73f08da32d9b4c8b37b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1469-1473 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1492-1496 \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 \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1469\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 after the matched lines, \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1497\u0060 calls \u0060ensureHostedResourcesAreEmpty\u0060, \u0060Errorf\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1474\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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c910454a478a15d22d837bdbda83b73c39aaf8518ddac2da3e6661715076f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go:23-27 | control-plane-operator/controllers/hostedcontrolplane/v2/routecm/config.go:23-27 \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 \u0060control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go:23\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":"control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0997638d5977cf5ce714bb9dfdabd152e6bcd8af366279954b0e26bcfff75cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/nodepool/nodepool_controller.go:434-438 | hypershift-operator/controllers/nodepool/secret_janitor.go:118-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hypershift-operator/controllers/nodepool/nodepool_controller.go:434\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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"da34c7a71388c09ac1c1f8714f6cf215b827dd362f144ad8249a80e5b4139990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:78-82 | hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:91-95 | hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:105-109 \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 \u0060hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go:78\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":"hypershift-operator/controllers/uwmtelemetry/uwm_telemetry.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97c75df9d90414f00570bef8f23c0516e9f5e08211a1ed281982b542ba84053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1921-1926 | hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go:294-299 \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 \u0060control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go:1921\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. Check import visibility before settling on that home: \u0060hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca6a5f3cb7fb220f8410f8da2eff8b0749c4bfc4e95078bb461f570dc258b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2129-2133 | hypershift-operator/controllers/hostedcluster/reconcile_legacy.go:1249-1253 \u2014 before extracting anything, compare \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go\u0060 and \u0060hypershift-operator/controllers/hostedcluster/reconcile_legacy.go\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 1104 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 \u0060hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go:2129\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a085f4125a67c80245268efc3bf0987e2c0bf7991c1ceafd89011bd2a0f1bec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hypershift-operator/controllers/hostedcluster/network_policies.go:166-171 | hypershift-operator/controllers/hostedcluster/network_policies.go:183-188 \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a17f6e947dcde9542d39a95b68bf65edb16d7d3baecbc4b8bbbdcac7abf28a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): contrib/repo_metrics/weekly_pr_report.py:582-601 | contrib/repo_metrics/weekly_pr_report.py:714-733 \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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a35a429c4a79e31fe189b5aa075eb171fdd7045bad399abb74df2213f4be6a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/openshift/cluster-api-provider-agent/api: github.com/openshift/cluster-api-provider-agent/api: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c4297b4c73c48c3c0ce1d0c076af07ea1e6e191b4037920b3d87e65ebc0bd89"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-aws/v2: sigs.k8s.io/cluster-api-provider-aws/v2: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d91cc8392342e97b4bf4ea3b4f87e54a6c504df1b46b317fcf47760502defd60"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-azure: sigs.k8s.io/cluster-api-provider-azure: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3df7ade8dac89a686ba7764eb68207c467cfe26fb4fc75640d8fe90a9b0a0c9f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-gcp: sigs.k8s.io/cluster-api-provider-gcp: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4b028687bce24b1e03f4db8f738b4a3f3a0743da02957308ac7b6986e652f75"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-ibmcloud: sigs.k8s.io/cluster-api-provider-ibmcloud: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bbc70b70575e73fd375d913ed79b4eb6f7e5f391ee3e0e977b447abed047df2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-kubevirt: sigs.k8s.io/cluster-api-provider-kubevirt: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85db95bad2886c47b51f8f89a76f8a293bedbd72f1bbfc893c1a145946ac686f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/openshift/hypershift/api: github.com/openshift/hypershift/api: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ff9ef58c91e9e944caad442148f969779b96d7983f48edd6699b7937c393f3a8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sigs.k8s.io/cluster-api-provider-openstack: sigs.k8s.io/cluster-api-provider-openstack: abstractness 0.01, instability 0.00, distance 0.99 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93884148ec213f58acf2aaae17f98e5469e1ffc39e02c73aad70b55846b0149a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NodePoolReconciler (LCOM4 9): NodePoolReconciler\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c19d5a22398c82b78a91f6a72ece0d771640d3a8ed54b90ee7b2145276c61f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: APIServer (LCOM4 5): APIServer\u0027s methods fall into 5 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 5 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":"pkg/capi/openstack/api/v1beta2/openstackcluster_types.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a2418cd05453ac949a2c6e6ba1c0f13e8f03891f47cfe2a4c3fb87da1a42e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClientProvider (LCOM4 4): ClientProvider\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":"cmd/util/client.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed5c77c673dc17537f48b90c3adec66fe49957d388d9339f6a54380f2c0791"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AWS (LCOM4 4): AWS\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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d814770d1b65cd8a5c7d4aae6342ba3ce783d77e98e9e88e3df91c6118d582"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Azure (LCOM4 4): Azure\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":"hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b843b0bbf8ad415d108d11c9e64078f74182bfba43594277518556fa90153ba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GCP (LCOM4 4): GCP\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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5729d22be990ef2312bff8e5eba93d472673cb5fad813ac937c45e6e71711"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: availability-prober/availability_prober.go: 0.0% line coverage (0/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"availability-prober/availability_prober.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd02506d96925dc2f5965db28f2c17d416c4a3dd5f1872fa16b8becdf695fb60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/bastion/aws/create.go: 8.9% line coverage (46/515)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/bastion/aws/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209ea4ec57ed7818c9e70ea35c074111ea617eb051c0d3d63c48f490bce6de2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/bastion/aws/destroy.go: 26.9% line coverage (39/145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/bastion/aws/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4632f721e8a46706085c3b5015a8d19bbe7983e5a6358e824f127087f4df54f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/bastion/create.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/bastion/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9f613d0794a49c6464076f4b8d18bed62bc1260e99d6f63050ae2e81b6fc7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/bastion/destroy.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/bastion/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e26c5b38bac205413e0c8f5e30eb3043b057f2f7239f63702d4815e24d482c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cluster/aws/destroy.go: 31.3% line coverage (45/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/aws/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de3619914520d31f26a1e0ef754420c495fcd0df745d25b0eeff32f6c3ddbd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cluster/dump/dump.go: 31.5% line coverage (237/752)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22f70ba6e0d952b485bcc20325373d0054641dd8e9a64b5cbc04cd6b6013fd1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cluster/gcp/destroy.go: 34.6% line coverage (9/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/gcp/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c228dbf3f6b1f2cde0b76abea94e5df293feb9ff31e90e4348260355586f43"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cluster/powervs/destroy.go: 38.2% line coverage (39/102)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/powervs/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c397e998194f225f5d999465dc1a8902f8d2825dab22f4b6a97fc0ed1db8e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/consolelogs/aws/getlogs.go: 27.7% line coverage (31/112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/aws/getlogs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5113e476e2117dd1ab7daa595b2bc48ef78e9059277a81296ba0f1c880e977bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/consolelogs/azure/api_journals.go: 41.3% line coverage (52/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/azure/api_journals.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960c4c6ce9c589f3cb8f4b0e5c6d7a5f0366f748bea46696b09bb6b306cf2cdd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/consolelogs/logs.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/consolelogs/logs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af570b310fa70d36a77cd0f67260d0f069a895139bbb2fcf40877b7af8e81119"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/create/create.go: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/create/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e068999a7872595feb261c05bdc9cc3e74db88fae643df11f8fd21754799643"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/destroy/destroy.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/destroy/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa49bed506f57b9a8ffdfb5e1842156a107fddfa296dc293f27bc379bdba48d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/fix/dr_oidc_iam.go: 21.9% line coverage (138/630)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b195f2c8ae2a214662a1d43a98be7467742bb49fd7f58340261373fade24a45b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/fix/fix.go: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fix/fix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4a60d72caa9d88f26ccfd1a7ee9ff335a7e02c0d212fd4cd2753cad15382d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/create.go: 0.0% line coverage (0/538)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7171b67a08f1b7c8195d9a4abd7c50727b02396f179d927ed634873a7570cb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/create_cli_role.go: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create_cli_role.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d881971848e2566b55c96843de012ade0b7c388862049ab80dafb0d9186e9f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/create_iam.go: 0.0% line coverage (0/170)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d75e750b483bb5b890f5a0aa8d4defbd611d743bac956b36f5aac45aef46e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/create_operator_roles.go: 0.0% line coverage (0/222)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create_operator_roles.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8245d2894fd897cc8e1e9ff6187409afbd21081beec3b5291bb485b31ef36a76"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/delegatingclientgenerator/main.go: 0.0% line coverage (0/268)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/delegatingclientgenerator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"208160603cdec6bc5514d429f68bca0eb393205f85ec94581f60b731226a0bec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/destroy.go: 0.0% line coverage (0/652)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44c2bd97360e6a7f136bb4bd02be70fc7b72d540c8d66236cb29ca3080490e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/destroy_iam.go: 0.0% line coverage (0/272)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70dec8b53635c4e3e686fa49c12a311718f8639ede18224bbe8735a94fcbd32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/ec2.go: 0.0% line coverage (0/520)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/ec2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4da9ddda006c0ebc7119dac53e3333c499867dca52513c6ceaba435a123369"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/iam.go: 0.0% line coverage (0/684)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"febfc06ea908377f795177917ed22a24ec39f39407cfe0a087c747f57cf0bf08"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/iam_policies.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/iam_policies.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e4c15e316f64d04eec4380a89241f30924ade8a2d9b18bfcb224597c866755"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/proxyca.go: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/proxyca.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049c412570afeb18d6afccd43906e7cedf9e5d3c2470d58a541a9d626b99462"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/proxyconfig.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/proxyconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9851652c9bcffde8b1230aa6c37c37e0c5bcf61e0fcfbaf1f20922810da1d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/aws/route53.go: 0.0% line coverage (0/315)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/route53.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c45dd0f5106cff4bc5def1a3947351441187ef73cf731ac5cc80e2b9d53580"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/create.go: 46.9% line coverage (129/275)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a81cbf83108f5239eb9ed5be7097f9b4dcfe5891c95d39e25f0f945987d5f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/create_iam.go: 26.8% line coverage (38/142)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/create_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd4e76908014439601dd17572a1edfec68ff367ee5166ca0aeadd2e1b02f2e3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/destroy.go: 32.4% line coverage (68/210)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb40206cc06bafffe89653fd89cdf94d1b11e628097bda0e00f9fa7e4e706a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/destroy_iam.go: 35.6% line coverage (37/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/destroy_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92f44cfe35543a243e46c3dfafa8b51e8472bbe03fff7a7726c0bda031e9c2a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/identities.go: 43.8% line coverage (149/340)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/identities.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717ef969bad71d975fe23ac4095bbda3b7486d05864d66dc8c3ae4432ded42e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/azure/resource_groups.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/azure/resource_groups.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a624d5c5b34b41600fa40986c35ad280ae84da7cb49f0844d558334c3ffa13e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/create.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa09df6214f1b2e481af1d3cc4e0e5237225d1b5d1680b25e11006706e97f95"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/create_iam.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/create_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f413f804c9ac52b08e0060d813e4b3a9d5ea65f6491660494d482dc3d93fa21d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/create_operator_roles.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/create_operator_roles.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a7a6803adb68bfbe61a1dd00e5559c27e0e2d1e4d3e54d2e132504bef6fdbb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/destroy.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3bc1de81083179cf6b646e9b5a29a5b95cc2381d8b466e7d3ab22c3c425cc1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/destroy_iam.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/destroy_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d3cb8464f92d41091f8151e80ae24ccc9eb24b31244017284eab89830748f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/create_iam.go: 33.9% line coverage (41/121)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/create_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26593fc1590a499734348d45cd3d0d340f581f6c6cfade68e331cd468e92ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/create_infra.go: 23.6% line coverage (25/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/create_infra.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2621afa2092192691ac0780c5485d4a33f58170cc731aa60c439afe6af8c244b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/destroy_iam.go: 46.2% line coverage (24/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/destroy_iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42537b34bbd6866a310d5b9d2e43aef112a5705c886bb3936795ce0e89bb3cd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/destroy_infra.go: 16.9% line coverage (10/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/destroy_infra.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ddea617105dc5a6241977770e1d14420bfb4b30d815d76b67a055db523eb86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/iam.go: 26.0% line coverage (184/709)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4249b917eb087fb2ec062c20ff3a0da8a635a91c539ab4ee6fc1498086b29f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/gcp/networking.go: 6.0% line coverage (16/266)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/networking.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b8b4c8b6dac7649cdeedf3df6dcef0c6f31d67f79c6e1c2e41975ac85ef6a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/powervs/create.go: 1.4% line coverage (13/897)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c5c29f1739e8231b987f5b326e70aedb1768f71da4ad46da8c65520d8099c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/powervs/destroy.go: 0.0% line coverage (0/591)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc0dcf7d587952923073cd423e9be92d227005ac1de32c20ff1dde8480b931"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/powervs/service_id.go: 31.6% line coverage (18/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/service_id.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3c8d26f32c00570b500615ade4df6e972a35deee63beb1dcc6276a05865938"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/powervs/util.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"415771a9625bd12053da0988aae18daada64e0999d40747e642580940bd6313e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/infra/powervs/validate.go: 0.0% line coverage (0/152)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554e42003b889adf2a90d5155ba71d0db6b802810ec289a7da0ffef5d8e4c85b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/install/render.go: 45.7% line coverage (21/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/render.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d631e16f5868ebb931e9405cb4045b5b988279a8da790b54d595b2fc2ec012e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubeconfig/create.go: 18.3% line coverage (33/180)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubeconfig/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94cd6ac88e3e09a21ccc9fa0cb9842281da3e175e362ef2894ea5bb4fae4b07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/nodepool/create.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3cc2c15fab65121a4044540548fa88ed6dfe494df2945b427256d16d691870"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/nodepool/powervs/create.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/nodepool/powervs/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aaaea896dd7759d0cc00f2c2a12409e64e1bd89ce6a5a0c92b85a7ef263113"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/util/sshkeys.go: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/sshkeys.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb785726c3cb9781a05fefde41ec862af0c167b6e43a2481c407d1a252cfb3fa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/admission-tracer/main.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/admission-tracer/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8266f0e98d26ce34a309963c9fac37d82c5f31b27c749a19671f9dd68b45f149"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/azure-orphaned-role-assignments/main.go: 28.2% line coverage (96/340)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/azure-orphaned-role-assignments/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5bdb2327ca86bbfe6032ec42cfb83f335735d84d5195d08183b60f46fcffe4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/reqserving-setup/main.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/reqserving-setup/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b70ed63551b420e2b26adc05d6427e1e62085c1d5883317d6189b6d8840d0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go: 0.0% line coverage (0/996)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba995be72cccb7ce03e1c62ecaa9d75038414bfb081ef25dbe0872808663e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/gcpprivateserviceconnect/dns.go: 19.4% line coverage (69/355)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/gcpprivateserviceconnect/dns.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9362e360885fd30d499c2823c6436673e97912eeddbf36fc6f226bcec25fef88"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go: 36.5% line coverage (286/784)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcbb60d955fb22786989de823b2a709666952da7191adac2bbe50e7bb93053c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/healthcheck/aws.go: 0.0% line coverage (0/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/healthcheck/aws.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a7a20810fe1edd70eafb56cbbe2a7e1b7cf86dcc04b7678489728f0235c12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/healthcheck/gcp.go: 0.0% line coverage (0/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/healthcheck/gcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4312703501e34e6b7641f75f87b25acb5022a6a6a80f8632a2d1790a60aa93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/healthcheck/healthcheck_controller.go: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/healthcheck/healthcheck_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70937e6324e78e5e27235b434fbfaa3ad5799c4cc1a2054579c4608b583504f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go: 0.0% line coverage (0/213)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e951d7365fc96213855d5406568835599895c6cae0712eba5b33eb4d6878ae4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d90a64fd0354d0e37c67a51a1a9b478237c99c646e4bac16e761a3dfe7a08d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go: 0.0% line coverage (0/206)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/controlplaneversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb11afd8d6345948addf80560f5a4ba1d549576e3e01fa5b85a1234d0907a867"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/creatorupdate_ownerref_enforcer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8c79dd691bc603f4c994cc9a8d027e1a12b6551b9b29ec5263227d5fa1865"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go: 43.5% line coverage (104/239)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e3d86264d4336c0b6e90529a3d62e67bb90a207da189452d004dfe56801031"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go: 0.1% line coverage (2/2750)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb58ac72b1a89acde52eb753862fe29326f6ff03bca04d975bae908270850df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/ignition/params.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/ignition/params.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2783c95348e7e1327dcf89ff8b16405fad2f5ae72d9e39108b0f656b0f0d34"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/ignition/reconcile.go: 30.7% line coverage (23/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/ignition/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ee5b02341e4e0a2227056233c38bc8a3d60d703949a55f60276c015a4c8769"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go: 0.0% line coverage (0/183)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5220d2294689e28ccea1596b07784d40be52f0e7fc73c9f9225073b5c7e14eea"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/aws_ebs_csi_driver_operator.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/aws_ebs_csi_driver_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e50d4787080761544aa5108193cd1c2c5ba728b214a85fd5b6cb350cb9ecbca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/azure_disk_csi_driver_operator.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/azure_disk_csi_driver_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fa7c7dbaf57f705e73e6517a8b6d617c90b4976fffdf574842301161cde52c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/azure_file_csi_driver_operator.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/azure_file_csi_driver_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"842fc4dcc223161e1ea40e05f9be2581415e88d8cddd8afd31004415b3d9a3bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/clusterstorageoperator.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/clusterstorageoperator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac652d5c3fef92025f0a30ee7505323d7b9825f68def3d46178f5d02845c74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/cno.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/cno.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b372a628febf8db54fea915ee40009ddfb7e8a9f24295d61a5aac36cd54db2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/csisnapshotcontrolleroperator.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/csisnapshotcontrolleroperator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d09c3cb599f6fa9c8dc224838ae4dd10bb518d47d7bff9222b07a9d4934ea8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/cvo.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/cvo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ed48e2aa322348148ed08f0ac8b852a85a1f85f6a52bcc6acef80975bb03f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/ignition.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/ignition.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"258ac93916276c275688795e3d8899ce46b6fb6c23b6ddf791093c9a1059d059"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/ingress.go: 44.4% line coverage (24/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/ingress.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad373958b5d3dbce4deb239bdd2911ca5e329503eb106633c4153aa4e6bdde6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/kubevirt.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/kubevirt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"695374343f390490fe78196040e2e459448e2e4e89ab1a880eab09a9fa08e82e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/mcs.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/mcs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb972414c83fe5d344f522f111ffa6f3e490d43042df87ffd338a71e2717ee6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/nto.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/nto.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cc5f933864f8f3660b7214987230186605bf83e748e7d1308ebc5e3c660ac7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/openstack.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/openstack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"424202c80633e9ca6e134d003fe999cc1908b63e08f2d5074c77e5c050aa0996"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/pki.go: 31.9% line coverage (75/235)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/pki.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb81504a12b402a6b8d670b662604b3ca2e4caae83340af27eca2e1f658bd460"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/registryoperator.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/registryoperator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4a10bb9bd5df8de7b4d8211b2ce78430b43703c185cca57cc2c9109565b2dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/manifests/secretproviderclass.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/manifests/secretproviderclass.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"077347efc2ffa01612b0ffc64c8c3079f1bd3f4ca844f3edd713767d4e523509"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/oauth/params.go: 6.7% line coverage (3/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/params.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98201cc843d4bb0b2010c3d014e9b3e504131878df8fd99c7a6c00110b100844"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/aws_pod_identity_webhook.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/aws_pod_identity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b63af6c6a30f815d9402646c3f550cc6960ca707804be71ad901880f05a02a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/azure_disk_csi_driver_controller.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/azure_disk_csi_driver_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6a5cd70d88e86c98d928d094e62fcd63ef5f95aa3bf8c88d2462b6b34772fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/azure_disk_csi_driver_operator.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/azure_disk_csi_driver_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71762a82bc8d3ef9ff3e78000ed1e807116870699d778cb5a419fd4c4544629"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/azure_file_csi_driver_controller.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/azure_file_csi_driver_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbcd08276195711d4e771205f3c559af4c603a87a81867a5a195fd0bda3fd13"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/azure_file_csi_driver_operator.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/azure_file_csi_driver_operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a7a12dac8c39728cf575aa3ff7e12d920b6c45f83688af29b85a18d585d88"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/cvo.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/cvo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49305ba68ac67750045688b877bf73148f9fb28ad12ffba6eb28da1edc4bf6be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/etcd.go: 18.6% line coverage (8/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/etcd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"733080296fc0786c41721696c86e4289dc5d921eabe043200b1e88bdcd4e2883"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/ignitionserver.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/ignitionserver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead6e0a2d8c7a9294678264a0b183f722114007ea4b5096b70b07797c6c963f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/ingress.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/ingress.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41fe85e4370eedd92d838b76eba30c45f90a0e3ab23a8e9f027190c40e6b31d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/kcm.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/kcm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"253b2a904192c0a73c794ad61593d4c5f0dcf0a284e47413045f13eb1b0e6e6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/mcs.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/mcs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb51b32b776693f325395d4232554b57a193170777fa8338672f5b4ae9867b6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/multus_admission_controller.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/multus_admission_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9506d154f6341b6bf859a749cfdbe2dd89228e41a1de215bc188af49e2040"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/network_node_identity.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/network_node_identity.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3cc567e887483d199367c8e612f6f860dc91def14f109df0d84631819cfd4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/nto.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/nto.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b059aba5c8295840cae3d89f7ec692ba53b29c498d2da60745b3a03544b282"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/oauth.go: 42.9% line coverage (9/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/oauth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc5ea3a73bd0afe9a00eacc5f5cdb37d252d0b45518b17461ad1d359893013d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/olm.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/olm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e55ba825ed35f267c7678c24aa11ae6c190cd3a663efecbcb2970acbbb5400"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/openshift.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/openshift.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11acd50a98a28637ec094d4e1d0d62c9e2bdedc3904edb802b21a2a2d81e437"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/ovn_control_plane_metrics.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/ovn_control_plane_metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0865df825b796fec897e01ae516dfc884a417efb2c3c7a211a58a6436f0f638a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/params.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/params.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a6a457ac816d392c1a36ea27c78bb741e144ebc3c8d5ec044b9ce1bc0196a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/registryoperator.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/registryoperator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12b12d7a9e3416ce850490f633a8680efd749a016c0036f77b54fdb86d0366b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/pki/sa.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/pki/sa.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd1123d8c0a6f715d9fd7a47d34dad79fc4c7997ad696893e7c1e151f54e285"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/awsnodeterminationhandler/component.go: 13.5% line coverage (7/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/awsnodeterminationhandler/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051ce8715f6aea0ca55134b26a71e7ac5f12b7d297141be85b7040613d7a7fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/awsnodeterminationhandler/secret.go: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/awsnodeterminationhandler/secret.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efcbe44173197ce3dfbea0b53c3600fce77a3daa806d8ed46cdbdb260d931e5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/capi_manager/component.go: 26.5% line coverage (9/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/capi_manager/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd200b7f75e9cedf9d674a902f96572c952ddce6de72a39a3a763aff18a8b546"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/capi_provider/component.go: 23.1% line coverage (9/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/capi_provider/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b063392f285ace5b037ddad887bd511ebb153c3dedfdb01511e2a74846db5e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/component.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccad9e9f8e81d3c9c1b4e7d7126fbd5c9da3acc580a3944a27b1dd61761dbabd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/component.go: 0.0% line coverage (0/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"537673d508b5a2f11126d8cdad4759b1d8f3f118e36ba722cb4fe2b076122829"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go: 31.3% line coverage (10/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/gcp/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08281808e00d78deb4b3d31e2e06da16e1e4d3f444cce9f542d173698156d23"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/kubevirt/component.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/kubevirt/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725fe37ccd9354fdcbc799a933010b9032069e3f38f0b2cc89a3fa0f36d7b26b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/kubevirt/deployment.go: 44.7% line coverage (17/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/kubevirt/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f0524727bcdba6a09724ee2fde91110e73d311f8d80817e02944950359541a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/component.go: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382bdfdeb3f1b8e70963b3f0b85294a5bbd9662db6554912564e5cb2dd91c75d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/deployment.go: 47.1% line coverage (24/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a892ae9e79a1650dfc6367461bfe57db144b1e29dddf7f110d40cabcd9d3730"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/powervs/component.go: 47.1% line coverage (8/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/powervs/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3083a937160cee5d40ef4a9dbde071292ff38a6fed93c329c55845f06e49a5b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cloud_credential_operator/component.go: 30.8% line coverage (8/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_credential_operator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eb65faf1d9cf0cbad8b5c46ee85e9f5830eb468b574a2f0da4cea470e5f5fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/component.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9722c88370ebfd9c5305853b401a1df718ef167c8eb9a83e3401eb08a118aaa4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go: 23.1% line coverage (6/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/clusterpolicy/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abb882bfc6b3d3db49a58c3831f18481283827046cdf7653b1ec0147b2698d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cno/azure.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77f3098a2a5d7c217e672011d11ede9cbc3f2cba4be868a4cb9d3388420fd10"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go: 3.3% line coverage (3/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec1fd037f04eb47e427875567c2b5ba2ad41191337630afa0ef97a2d2852020"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cno/deployment.go: 0.0% line coverage (0/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80512432d1082e36f8cb3548115efdce36f92b3f9865fca06159c02220559eef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cno/rbac.go: 0.0% line coverage (0/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cno/rbac.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"517cbe53ed8733d9e918e12da1265c2174c920d271dd8da24109949e590aca83"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/component.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d7ccfa86ff382b986c1b870c5eac7d11018a050e7142513b48ac8389494b6c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/podmonitor.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58a68bf541a761f86dc88e6194a6039646750600e84835a5667f0972ac2f4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/role.go: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/role.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294eee6d43f356f9e51c04ab21c57edeeff4dc60702f464a657d775bc53fe3cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/component.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39dd936db7ef75ae8348eecca129197a968217241ca4d48f30f8cfd15459b91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go: 38.5% line coverage (97/252)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d32b1091d2cae4965adaebff3a683d2dac1c7eedfd7f83b8cd4f2b1a09d0a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/podmonitor.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba30bce128c5dc1de88ab2bc3871009cde969d42648a0c9dcfaca66058f36db"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/role.go: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/role.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf1f6c93f80eddfcf9feec539bac2c65f91b7ef8cb4010fe4fd2087c31a3f5c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/component.go: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0520c7cbbe9100ad1514d930184fd4c286030b8c8f4513d78f4b0ea04faea9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/deployment.go: 18.2% line coverage (6/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5faa625e7ac46eef3e6f61786aa282db7168d17c3a0ea36f6bc3b107036542"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cvo/component.go: 7.3% line coverage (3/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36910e39e0076b6d263d0ebe3b5f57f1a5de61317046e9d0669553420a819a3e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/cvo/servicemonitor.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/servicemonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb72419a797bb79949e78a74df352ce8c9fea9f490f063d1822636bd735b346"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/dnsoperator/component.go: 26.1% line coverage (6/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/dnsoperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc547688b5423378f86db5023f405e9f7e418f7d949e3ab639463ba3fc1bb08c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/certs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e762dae923d2fb0604762db86448647def7a48c41c136be8b2712d7697b89039"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/component.go: 12.0% line coverage (3/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/endpoint_resolver/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e124d0f4bd9c4c74ede4d2c152473da70a4cb00ff4f86e3b5b2bbde7d21dad8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/etcd/component.go: 14.0% line coverage (7/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52cfff49f7ceb2f460fd987f649f24e5a89d59f8055959603f03c4e2d2c748b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/etcd/servicemonitor.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/servicemonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c1c07305e0c81649c00da8fbfaea360e409e26f081607a03e03f574f70354d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/component.go: 21.3% line coverage (10/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/external_oidc_webhook/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c2e6f2370ae750d56e33e095bf3f9a04411554cfaa124bc98f083c726a911"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/component.go: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8693172523d447eae50f7ae4be86a6b2500b842195d4b0019caa0ca89eaffa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/deployment.go: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75de9e0183cd4f5ca9c915e2848358fda9e9929048560b56ec6431910047aef8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/pki.go: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/pki.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41b528634aa2a23b087cd2416e6d26fb59610c58e6160a919cd0b7ef9806888"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/podmonitor.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e05bb335f9b103b140f78ffdaf9e2a180bb81a108bec1fa23326d4dff84189a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/route.go: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/route.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fd5639123dc9f2d9b9fc0aafb9cfcc9cbb5fd916ace60133ce7422a07f07c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.go: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e9fc8f81eeee361b2d7864e67d85cd672410781f197a45f76d485a410c3620"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/component.go: 34.6% line coverage (9/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cefb7f376fc0162f7b1f21f18fd3624adfd7d98e9f987441959f027e984f36d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/azure.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76840068c1805b4f01c4741182b28d78f3eded4ddfa213ec6449bca87bf5a839"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/component.go: 7.7% line coverage (4/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72ac5a63239f65b6bae99422997122679a4412ae241dd5be1284e8be6c50776"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3041db385e38a0b7f992f42266d8742625aa6c0e05448e38aacdbf08387a91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go: 32.3% line coverage (10/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"674eb3b35d7400bf61299cbdc31dc8700dab8bb9c81721b82c998d92706102ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/podmonitor.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/karpenter/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc7b5697d43bc2d94f9896e49e20fff901dc95e17942d4585bcf07c1d34ff15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kas/auditcfg.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/auditcfg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc8e800e9b34809dcfb5e5fa0c252f38ffe13ce66d352741a23ad6b8abe9b5d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/ibmcloud.go: 4.4% line coverage (9/203)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms/ibmcloud.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525dc77b4785a9d1e6ea9ab71d64d1d54f7e74d8ec737e69a8bdf0a156f4893f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go: 39.1% line coverage (111/284)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kubeconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ab36c13e8689e5e9de29e463547799fcaf3936b61bb32203959a1be9d13dc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kas/portieries.go: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/portieries.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3270826da7f4e55316e4712c14fa972ab3e9f88ad9bc5a8581df1825baccd8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kcm/component.go: 22.2% line coverage (6/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kcm/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aec560914063ee166b250e158b215b2f5011c7f9f09c15138b3c49bd9c4bcd0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/component.go: 26.1% line coverage (6/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60ecaebb3c591640aecc460d33bcf1bc474032031442e5d3d826e4ca49d8191"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/kubeconfig.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kube_scheduler/kubeconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3454d46ec2329777b28cdf61b32977f1afc745e07ba8caf0bebd69f03697a82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/kube_storage_version_migrator/component.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/kube_storage_version_migrator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7833c8e561e5536c5aa53350d3395f09d92ec7164112872c50fa0cb8974cbc94"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/certs.go: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/certs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b43b055220f2a162fb488c6d38fbca019a305ba9b66cbb6027f1e1b261b0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/component.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/metrics_proxy/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00dd3b34ed953322db764ed51deb39cedfad84c65dd85f2bdf143df2876292"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oapi/component.go: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a908b53b2655cd7ba95c817a87d2edbc146f95a9f70b62a25889fd898acadc34"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go: 0.0% line coverage (0/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6961acf2d4d654b9b60bd94fc61e8f228b076439f548ded3c3445dddc86ac254"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oapi/servicemonitor.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/servicemonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c7c206ce4ff1e4b90195817ddc8bcc2d05fe81b19aab157f234c291d4bd74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/component.go: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9356306c6d40c69b12cade073dc6d2ba8984193c32ce354a67e14910ec45060b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go: 27.5% line coverage (25/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69d04019a163751cfdcba3f80bffe79bab3d9ab669252c6bad2af1c4c33f867"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38caa6f97f8f81ce095911cb28efb6e44045a66a7f915ddc338e9205d9fe4ef4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/templates.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/templates.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967fdb729ca15cf79aaef973194df97a982bd7435f4206f2e1bc41d5ff28876"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/component.go: 27.6% line coverage (8/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc04e0d83d5e6ab04a09c2f87080c7d8b3e859d607e0dc1372bc438136d233"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ocm/component.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ocm/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5340a0cc0469903beee481942459f2d125fdf3f441e619ef17c01780b21e6a12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ocm/config.go: 40.9% line coverage (38/93)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ocm/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979ecd1410bd06dda3505b7e7ccc51134346f93c7dc308e52ce6f36f7af1f25"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/ocm/servicemonitor.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/ocm/servicemonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64755e07776a0d760d9a25c831dfbec6781ef8061fa70d892c98e34c6a862bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalogs/deployment.go: 37.2% line coverage (29/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalogs/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47d62e4ec53b8d62cbea6d9ecfd249fde91317045128238c7e492a835843a9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalogs/imagestream.go: 12.1% line coverage (4/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/olm/catalogs/imagestream.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98939d1dc01772996d2aa5cbfe143315527dc496f9453c0055ed6930bb6c3085"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/pkioperator/component.go: 42.9% line coverage (9/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/pkioperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b86863c560b0a2c391616876e518f4b2ec6cc92016f0274a3da58c2cfd28f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/azure.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d6a6be464d546dadf4518db35863a1e754217160d64f627a3e39cfb4b2efd4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/component.go: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b411962edc932994a19add1dfc598383279ecba79b45b86aa9141d068bcf47"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/deployment.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faabe17c0e4b5b946e170f16a5e8e3db93affb5698d18f6309a17ab01764976a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/podmonitor.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/podmonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b3ccf6f84e58547af920c9ad38fecbabf4fda683ae07caccacfac888dd68c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/routecm/component.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/routecm/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def0eb28b8de6e0ad776052ce411fdbad2b295f8f1ec4268debada6a6d2f3791"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/routecm/servicemonitor.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/routecm/servicemonitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f5a22aa2ca8ca0b29eedea8f6dbf78b03176b044f5fc8b7b98522979bcc07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/router/deployment.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/router/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f706de7b056b407152eb686b76523da8f2aa857301859e7749cc23bea972e8c0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/snapshotcontroller/component.go: 37.5% line coverage (15/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/snapshotcontroller/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d906966d65078625ce35c7561558b05daee8533211d594f5c8197c88dc59d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/snapshotcontroller/deployment.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/snapshotcontroller/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e3bee0aaa98d1a334e38e68a62fed62eafebaa7343d41dfd1441ed571ee5eb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/storage/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92558922ebf95a6db6f0a9c20ab8ffd14c95d7f955ec4dbe68758ab6f581f64"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go: 7.2% line coverage (9/125)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04166668d530d76bc1e4104fdbea07646e03e9db3e8796f2fe5cb191051da910"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/controllers/hostedcontrolplane/v2/storage/deployment.go: 40.0% line coverage (8/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/storage/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7713b29743b85e8ac1831489007962dda95314d877c10cad22ab637d096bbf3c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/endpoint-resolver/cmd.go: 0.0% line coverage (0/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/endpoint-resolver/cmd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86ddfe3685ec0f56fd0bb8a453ae6bd194cc17b6fdfab5f309982c4f8da704e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/cmd.go: 0.0% line coverage (0/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/cmd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74aa8e06e88c09f42151d84b7592da79514e1d734e05a2584b11a9812c0997b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/configmetrics/configmetrics.go: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/configmetrics/configmetrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"252cc9fea839ff90152291d97cc702042d8a6341276b23a496b93f8ba5b2c1ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/cmca/configmap_observer.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/cmca/configmap_observer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51774ec68563bc24abc861779a3fa4a22e052a3cbebcaec11c89ec7e00e32f20"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/cmca/setup.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/cmca/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2afc172ec989c425f3bb0490449843578c32945abdb719939389b84ce4c9799"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go: 0.0% line coverage (0/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f080ca581a9ad548e49e935dcbcef6f6d0fce328b18a157099aa42de136d351"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/drainer/setup.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad724483ee0a60b98e0e4d3514025eec35349de7d0b449d2191217acf0e4f5dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/globalps/setup.go: 9.6% line coverage (7/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f519d426f16c07c9bc890a9ab71da079f6ff6ca767c0970f96c0945173852fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8f93bff4ecf678ff6e70fc5a9f48da45ec45ad2d49bdd7495853d9f870997"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/machine/setup.go: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04d0cfe6f87eb78aa154a956290fec322a584abd5f5579f0762c609958ee5ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/node/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e38b9737e25b00b999c381f8e01471372abe9d8d182d23aaf7ed84ba0c623d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/nodecount/controller.go: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/nodecount/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc7aa42bec886f301c4be7e35f5ec96e5f0a8b6cf342bf188fe1f7996a79164"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/nodecount/setup.go: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/nodecount/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64a8445542baf3e0132b7da5a1f0a8b4cd3fc2b5b0e5b928cda07f16f4e5724"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/setup.go: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0c45f3b94c6b5f2cde62f1e011f9a704e38b884433ea0f00c73ba4324ff804"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/resources/cloudcontrollermanager/azure/cloud_node_manager.go: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/cloudcontrollermanager/azure/cloud_node_manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67219c46cffadb9007d9078026702ad51deafafd9ede9cdf195be3ad9ad7beb0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/setup.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/spotremediation/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b22f6896b7285179ec0108bb1668b0eb0a01ef12367046d79a2c6ef45a8d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/setup.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bf38c54d43ea753a10f28b395e836ee4f1f81a56311c19653afbb3beebe2bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/hostedclusterconfigoperator/operator/config.go: 0.0% line coverage (0/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/operator/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d13107ecc158d14d97daf504680a3ae4f30ffb90c834d4aea66de4b041764f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/main.go: 0.0% line coverage (0/536)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab8410e1e408e38966f5464020e4953b23f957e7d8bed167eb3742ab509837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-operator/metrics-proxy/cmd.go: 5.1% line coverage (6/118)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/metrics-proxy/cmd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2deb90729544cfe67aff78b3e660549719a85d7452931da437fc54e8533b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/certificatesigningrequestapprovalcontroller/certificatesigningrequestapprovalcontroller.go: 35.5% line coverage (27/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/certificatesigningrequestapprovalcontroller/certificatesigningrequestapprovalcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab290ba7f3fb14e05d12048e12ca726b336bd892aa691840c96e8624a61a6a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go: 0.0% line coverage (0/161)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118bdd9462ab361ad939322f2d3671b99e40f2e708b640c27b5f733a4f902add"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/clienthelpers/conditions.go: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/clienthelpers/conditions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88788f31f7113a2466f3cac9c958d68808bad51e1843a41239354cd5e8c0fc78"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/config/scale.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/config/scale.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbd7bf1525687b9f2d3813f030a94d4a423c12aaeaf8ff6ded247b900885432"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/main.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b0f948bc6b921bd1c7113fd1e382e1623f3dc32cd7d3cdb694ff4ca41874a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/operator.go: 0.0% line coverage (0/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb15d47605471100fa17a4816da3aec51a70456ee344d2d5bc0b1d56888b777"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/targetconfigcontroller/targetconfigcontroller.go: 0.0% line coverage (0/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/targetconfigcontroller/targetconfigcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5650f00940aa6748c8ad023dca9b56d99594b901d9ec328a4ecab25ee5ff060"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: control-plane-pki-operator/topology/detector.go: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-pki-operator/topology/detector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5c37fda733c3585485ff06ba3943eedb22d1020f60ffdb3506f6c5841a885d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-backup/etcdbackup.go: 35.8% line coverage (34/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-backup/etcdbackup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba91ed9ba5a9ecb3dd969000a41587842984d41198ed2f70986fc527499899b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-defrag/main.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-defrag/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb535a1a582ed7a28368f93cf1e28b27b8cce7ec0bf3a5ed48ff5ed590072f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-recovery/etcdrecovery.go: 39.1% line coverage (167/427)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2162e33ccdb3815af4af9f60be204430d6dce2fa8598c7f4fe50d0d75ee5423f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-upload/azure_uploader.go: 0.0% line coverage (0/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-upload/azure_uploader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f66096d982dc89abe374c7351ef0355d904e44b88ba64a494270de6f2e8de15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-upload/etcdupload.go: 0.0% line coverage (0/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-upload/etcdupload.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9da72a70008021ce58f1fcdda9e04c8b47047b9fbd7b1fd954c9258cdef4950"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: etcd-upload/s3_uploader.go: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcd-upload/s3_uploader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41c8263a81369d4c1a21240ba82103d0e8a25076122e823803c439c1cf84d58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/copy-capi-types/main.go: 41.5% line coverage (380/916)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/copy-capi-types/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29b7a3abce5ef3502406b82edac49bd7a55b5c18f3595b8b4b88ae0de5090ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/kubelet-ratcheting-gen/main.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/kubelet-ratcheting-gen/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4475ec69ad0e1e458fb86b7a5dafb8214c79aecce205295910a999d7e2d62351"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go: 27.7% line coverage (28/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96706bae2ee2f5bc270d0ca51f196988da83f572367e58f7de3d55be339d5386"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/createorupdate_annotation_enforcer.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/createorupdate_annotation_enforcer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27525dcf487225b89897631ae5e5121c7cde2667ab7b2bc36c3cac654f3935ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/etcd_recovery.go: 0.0% line coverage (0/316)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07348b459721dd895b31b7b90537bd9817faf6b8c81e9c4d4a8273c93bf4e82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/gcp_conditions.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/gcp_conditions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e6bb4ad4fd141cc800bc6340b47624b1a78ddd89280234c94f65182d8daba4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/gcp_firewall_condition.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/gcp_firewall_condition.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e897bf01c45f3837430aec237dbef7c4020d7e4abcf2ed424d3f1450a2490f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/gcp_oidc.go: 0.0% line coverage (0/67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/gcp_oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4883c81b56f97a04c0ec118d40556c211624fe2a61aecde7e076e7c2555795e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go: 0.0% line coverage (0/4309)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68c0ee843ea1a1dada36bdeeaf4f71b147e3f6c96e975b97cab7b65b1b1ca9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/hostedcluster_webhook.go: 0.0% line coverage (0/189)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/hostedcluster_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5028dfb6bd02ddba25ebbc19cfe1af2e07c26d8ae54a6f8f9bb85ac6a585e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/internal/platform/ibmcloud/ibmcloud.go: 35.9% line coverage (23/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/ibmcloud/ibmcloud.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeab78be4423ddfe6451ae6258909e225193b5b76500501723a4b1d419661b2d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/internal/platform/none/none.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/none/none.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa83913c43f41a9be72a6b9e346f9b1c01e897882da22124c978cc0812d7e1a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/internal/platform/platform.go: 0.0% line coverage (0/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/platform.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301d293861af9e4adda965f00104b13d5d27f70f635d613916871fac74e2733f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go: 37.4% line coverage (111/297)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce04ef8488fbfcef33a50dbff47949d9f9e73aaef01e803fbd9ea03f3cbf78"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/karpenter.go: 0.0% line coverage (0/145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/karpenter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cec3fa3b15ac80eeb68dded2b38ab6215cf3dc5c50aa44c5b6d41a5e4be1caa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/network_policies.go: 0.0% line coverage (0/964)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab34732cb12de8ea688faab62efd5b37b22ec333e5545f9c8fcc851eb2c72520"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/platform_credentials.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/platform_credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9902d12525de3a4602fb5bb5a2f9e6f9bf2c5be00ed0daaefff0969161d07c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/reconcile_legacy.go: 0.0% line coverage (0/1350)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"263a7904afe4353fc685b0abbe8d06b23319464feea994133c87880954acf8a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/reconcile_report.go: 0.0% line coverage (0/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/reconcile_report.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5915ac71b311ee8a653dea888002d0abb4e2bb47510be3e14c2f034d734ae9f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedcluster/security_context_uid.go: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/security_context_uid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e97145df265c69c6177c6ef72eeeae710ad104e21463d433b89047a265ef0e1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_validation_controller.go: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_validation_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f16e40c90cf2ad3efa47a825280bc847c026a309f6d0219e078759cd67fea3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/hostedclustersizing/setup.go: 26.1% line coverage (29/111)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedclustersizing/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"826648021a106c5175d6a32285473bc204761e763b02959453379922b3fcf2f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/clusterapi/manifests.go: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/clusterapi/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70197f7d720d70d81185be0a2bea6bd9638514302ba1a5ee0f259749e606a3de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/controlplaneoperator/manifests.go: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/controlplaneoperator/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e283f682b189453a83a9a1ee5cc06bc832072e248392405f0dc88c3c01c46f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/etcdrecovery/manifests.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/etcdrecovery/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"898ac7a46bd3071c35b7d343aafb37a9937c908380e317a4f00832162124a282"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/ignitionserver/manifests.go: 22.2% line coverage (12/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/ignitionserver/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7441be2a2831b5153db1e3573aec496c96553ab39d08c994f34b2b5f451adc8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/manifests.go: 13.9% line coverage (11/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89accc9d3da85bddf99cd1e002ff9283db2b71ccbbcbe6196a09b3be2dcaa9ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/manifests/networkpolicy/manifests.go: 0.0% line coverage (0/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/manifests/networkpolicy/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d32f9903e64ab9451b335d8892e10e89bda42bcd6c787003d743dd7c23cc01"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/agent.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2e04176c4267691e1eb347591b844b620093dc006bef4e78050a26f1902012"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/aws.go: 0.0% line coverage (0/400)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b371520b83a0f38bb2a8c129c9c7d6617fd976b89530b0786c1076208948113e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/azure.go: 0.0% line coverage (0/184)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3329d7371408dc58537f00bf78871f0f33240405103a0c420216c5702887f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/capi.go: 0.0% line coverage (0/1095)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4763b64deaef4addad473e98cea6ecba9cb042619289d767018c50567ebeb27"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/conditions.go: 0.0% line coverage (0/884)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5d5ee9f283cec5da4b2c17fef67ced692bd6b3f5aa8e29f1131cb8769298a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/config.go: 0.0% line coverage (0/358)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dbeb9c2dba4188b9cfd926da2b7fce243aa226bbb704bf942897471a55b23a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/gcp.go: 0.0% line coverage (0/239)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/gcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a1b4bac9aa36491dd7d34428930463fceb9a33d98c9a49f35d963620185824"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/instancetype/aws/provider.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/instancetype/aws/provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601f041325e5e571c4ff7ba60b8dd44b0f2624eb968f83cef8095a857ae34e6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/karpenter_userdata_image_metadata.go: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/karpenter_userdata_image_metadata.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecdceb86ffec05c56924c6b1d4e6a93ea07545e7b28c594404c4f9ce2dcbed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/kubevirt.go: 0.0% line coverage (0/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c584152529ae6203bf9806fe1e006ad36d1f1b64b6ff362f5a6ab8d1243bf6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/manifests.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63402ea0aae9f899a0eeef4082cc62bca679c0575948b7f2e77fc8f83674ad1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/nodepool_controller.go: 0.0% line coverage (0/974)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a948ef5538188d590ac354ddf634855604c696336ab3f8c2313245b085f61739"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/nto.go: 0.0% line coverage (0/423)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nto.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32feb56dfba869581fb5f6a775708b4b500f924c97421a5d2b826c6bb034997b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/openstack.go: 0.0% line coverage (0/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/openstack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2347f793abfdd8e25031aa4882b97b816254eb1234d768de7a1f0f76111de17"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/osstream.go: 0.0% line coverage (0/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/osstream.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c385bf7f67471c945038a62b040fef0a21ba3890c6994d148937e7529d5f1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/powervs.go: 0.0% line coverage (0/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/powervs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eff66fddf3ddf9050b59606bab1875221f10e64729a512ba1d13a31000c18f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/scale_from_zero.go: 0.0% line coverage (0/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/scale_from_zero.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afe661b3d3fcfbdd170a30539bba46d176b15efb45d47dca0142d5f05d6b58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/secret_janitor.go: 0.0% line coverage (0/195)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2b270a19cdc213d392d699a0f74e5a26bdebc36b5d5672e614f94f1b7a5580"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/stream.go: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/stream.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a38bc74c3f4c54986456c71bc003e5f52f060fae3701dfc863ab18ba157cdc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/token.go: 0.0% line coverage (0/367)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddb6ce505ed12b72e5a598856d0cebbea281a1f29fe22ce93c185cef146f822"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/nodepool/version.go: 0.0% line coverage (0/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/version.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5332897eb0dbbcb7456c892a8ebe469f87ce13cbc44704b035f224a50dc67cee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/platform/aws/controller.go: 0.0% line coverage (0/592)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"801fee10b9d46d75dffe3f64ab7f29d63b488e6cc04047aaf5f10dd28fee77fa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go: 31.9% line coverage (121/379)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/platform/gcp/privateserviceconnect_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de3bde1714f701f1955d1c0c555e0af2cca725f21362d14c3e09b426531352b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/proxy/reconciler.go: 0.0% line coverage (0/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/proxy/reconciler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4082c3e01d91d4e0739625ed07f619531f17f534751a2b6a7f37191b8c3de0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/sharedingress/manifests.go: 33.3% line coverage (12/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/sharedingress/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6da1177c3b565ad3e6dce1c76c0bb00f061ef1beb0130ae40d3d1987cdb3ee1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/sharedingress/sharedingress_controller.go: 6.9% line coverage (19/275)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/sharedingress/sharedingress_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f787e0f1eedb2543dae1a575e830ed6495e27b8ced595385cc778fb644471d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/controllers/supportedversion/reconciler.go: 46.5% line coverage (20/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/supportedversion/reconciler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c41846cbdb6c04cca8684e28e3eaf4af95351b2455e7356c5a4a735962092f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/init.go: 30.5% line coverage (25/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/init.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8790430791fe7982c83e09f193e573cb9a5a10d86bbb56a7fe0818a4502bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/main.go: 1.6% line coverage (15/945)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab68852bee23e52b11605b0c3e5f711ef2a68f56485ab25378d3d950a045a184"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hypershift-operator/metrics.go: 35.7% line coverage (15/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998d2df915d57d2adf55d3ba868dc43b6f52c0bb00842f53edb3bf3e4aab6c1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ignition-payload-controller/main.go: 12.8% line coverage (16/125)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-payload-controller/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecb16c27c072bf2f57ce63fe61ee3d0f2f3f84372ef4d161519259071f8dd8f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ignition-server/cmd/run_local_ignitionprovider.go: 0.0% line coverage (0/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/cmd/run_local_ignitionprovider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b651b38fdd7d9929c4b4c709e1d4768867a263626d4751b1227e2c670c30b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ignition-server/cmd/start.go: 0.0% line coverage (0/211)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/cmd/start.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8588f9de808bb75ff181663618a0eadc19a92c7c7078547d1f090d7341a91411"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ignition-server/controllers/local_ignitionprovider.go: 45.4% line coverage (329/725)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec08cb74facc738d8f6d414acfa35099b7cbded53715cca16f165d41809084b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ignition-server/main.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5890060160c984bd9abad344c92ed95d75a243e857784702fc9157c9fd36e282"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/controllers/karpenter/karpenter_controller.go: 0.0% line coverage (0/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be5dbd4cbe45799b3d5186bea8923d9046f2e7bd49adbb3c13d02f9762fea69"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/controllers/karpenter/machine_approver.go: 0.0% line coverage (0/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenter/machine_approver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"251f6cbc2d32db40838e8a31e1ba7e9219ffe6fc333413b4e1f9c59ac14fd57e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go: 0.0% line coverage (0/558)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b6ae91017ec37c3b6aeae7f5205ded5043a29746ecdec408206244fd76ae8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/controllers/karpenterignition/nodeclass.go: 0.0% line coverage (0/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/controllers/karpenterignition/nodeclass.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec764565400ef8654e2a86272796276c1a73bbc45fd86272f1b425941ce27b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/main.go: 0.0% line coverage (0/168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27167afdda104288e717dc44c048faca259f899e03ab25f11427b9545e514f82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: karpenter-operator/metrics.go: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"karpenter-operator/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bf1de3e0a676c6020ec6f070a528ca0a53015a7a5952d06b2e147d5d9814fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kas-bootstrap/kas_boostrap.go: 49.7% line coverage (79/159)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kas-bootstrap/kas_boostrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8d466f6ecb926321be8174caa8df3e80ccba705b4010222b96953d5b0bbdf4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kas-bootstrap/main.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kas-bootstrap/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4aee3b08d6ac216391aeb71f9cb517c7487f83c4366333c06a6c6e462b3428"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: konnectivity-https-proxy/cmd.go: 40.5% line coverage (68/168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-https-proxy/cmd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a7dbda6080b00e5dd8c359b8b15244d907c3efd2d32e18b4485d098e848cd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: konnectivity-socks5-proxy/http_proxy.go: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc13934cc16937569f3bdc4f77ede82993fb4cccfcaa1e24b215fc56ad23309"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: konnectivity-socks5-proxy/main.go: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-socks5-proxy/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d84e8715ba7cb7d9873c22e7593a4c4fd0bc02c18f62c42e20d7fde879ab55"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubernetes-default-proxy/kubernetes_default_proxy.go: 0.0% line coverage (0/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubernetes-default-proxy/kubernetes_default_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8adfbcf4049609f8a19c046bd9e8c63745dd2365f1b415d492b48ce348db97e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubevirtexternalinfra/externalinfra.go: 49.6% line coverage (135/272)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubevirtexternalinfra/externalinfra.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24229b279e2b58064798a71df4edde80fff72f539fee1a215df7c4dfadbc8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: main.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554851c30d387e22875d4438325173e6b8abdfe3fc5965b588b7a6a1a33b4cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/etcdcli/etcdcli.go: 11.5% line coverage (35/304)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/etcdcli/etcdcli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a123392840a0a75dcf763d29fef1c33aca8fa152bcf94ff512e2905d62dc26"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/etcdcli/etcdcli_pool.go: 21.8% line coverage (19/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/etcdcli/etcdcli_pool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86880860c0fe49de05f912bc0b903d1da53909fa61533331be439ca93ec667af"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/etcdcli/health.go: 36.2% line coverage (59/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/etcdcli/health.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31d35e1339c52eddb149cb151771384990f84801b78f609af4567372f98f53b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/manifests/cpo/etcd.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/manifests/cpo/etcd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211aacf1279334b629fe6b70041dcf3941abbdb0e6d3628e34844da0b5ae566"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/manifests/cpo/kas.go: 42.9% line coverage (12/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/manifests/cpo/kas.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc46f3cab53ba9624bebb15c7f7862e9b82765bcd9a7c4e3534c02f3d3c8b1a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/manifests/cpo/oauth.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/manifests/cpo/oauth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c369adfeacb93c68f37375000bf966d8666eb5661589dbacd3844c58a20e89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/manifests/etcdrecovery/manifests.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/manifests/etcdrecovery/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f796ff24155a8cefe31bb4695e57a90555c7f76f21b031f54cbc4d192d49a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/cluster/agent/destroy.go: 47.1% line coverage (8/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/agent/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4622ff4a3943a7a12b708c5d6ea7cb1e031e016f9f37d9b368512ab7f2522a5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/cluster/kubevirt/create.go: 47.6% line coverage (10/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/kubevirt/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89a33acbfd3bdd1d373c4832fdf6c3bd91c4e348aa745d5f9d1ff3c57226317"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/cluster/kubevirt/destroy.go: 47.1% line coverage (8/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/kubevirt/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0411b0c34d90531c3e8e8a4da19258f5697676fee6cfa2455cd839750bce2081"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/cluster/openstack/create.go: 47.6% line coverage (10/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/openstack/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec277582410bb9a9e08ba224e5738bcaab2722df288aaf4202a2cb36476a60b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/cluster/openstack/destroy.go: 40.9% line coverage (9/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/cluster/openstack/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25a3eff4ec7ffeb70d31e1891080ceba8e3a0125419e5c638f9479997bf18c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/create/create.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/create/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f430b3ef5d91f58a1006b0d2d9b84b500482c4f2777dbfa9cbd4702220a89901"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/destroy/destroy.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/destroy/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03499dad83f15fda1a74e51314f0fe12eda2f12e8cb81c4b46cd8baff34e37"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/iam/iam.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/iam/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa767aaf178185f2d90d705e41ff06e6f613375b7132bd14e76b0bf6f90128b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/cmd/infra/infra.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/cmd/infra/infra.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9108fa4acdf7c0cd0bc1cf95f7097961534ef6b7204df6dcb7492a1a618e8f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: product-cli/main.go: 14.3% line coverage (5/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"product-cli/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00faa154d36d58a566d36a74509b3566771aa376b571318d52f90b1da6024dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sharedingress-config-generator/haproxy_client.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sharedingress-config-generator/haproxy_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"709fe9548d278869b96c3d7f9e702beb49206df76cfe581b7b8c87b0326b8040"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sharedingress-config-generator/main.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sharedingress-config-generator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a7494484d5582e0fefffade08ff083a69b1921971d393dc99c2d036f379e32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/awsutil/errorcode.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/errorcode.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d9fe2f014556358e234f1e9cfb0ed5606eeecdc66f79a42a4f5ac573d135ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/awsutil/route53.go: 0.0% line coverage (0/321)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/route53.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"319dbd1ff4940e19b47ebcb440497ff71eb7dd4dcd3e59ab1fc09753108ddf2c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/awsutil/sg.go: 0.0% line coverage (0/227)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/sg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be11bc76614f52d00fac8fe36bcae6bb1ef62dc7d154898824c558ead647452f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/awsutil/sts.go: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/sts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f62e7c8447312b79fd4b8c2b1baeff56c76ab9ed75d76a25970d8f0a4c87175"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/capabilities/fake/fake.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/capabilities/fake/fake.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af57ce4105c14468dee73105ea627037ec13d66f8e6028d8eb0cb764a329b6d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/capi-crdmigrator/crd_migrator.go: 0.0% line coverage (0/323)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efa1d9174bb9c37877f002b0c9192952d6bdf31c25c9ff39f0a0a45b78a5362"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/config/audit.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/config/audit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90fa014251999fba8581e6ae525216865d4f432a175a081d88e9376b84685c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/controlplane-component/cronjob.go: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/controlplane-component/cronjob.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63b8ff40aaf231e8e40ec0bfa7a0d0abe8f2075806f4c04658a233bc28e3a11"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/controlplane-component/job.go: 41.9% line coverage (18/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/controlplane-component/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4b57036b8f5f6af2a214106c391cd936fddf86ea7b8b91a6759a25c6e8f87e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/controlplane-component/konnectivity-container.go: 47.1% line coverage (88/187)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/controlplane-component/konnectivity-container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c3260d45eba871b42491142d53920192ab38467c4b166cf123c114e39ded3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/forwarder/forwarder.go: 29.3% line coverage (12/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/forwarder/forwarder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6ea599da1890048d38268ff5563835f2eeebaecf2ebb350e10e76c1dcc6407"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/gcpapi/gcs_client.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/gcpapi/gcs_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365104e8dd09772f166469ec6b80be12ad71192baaacaca92c1a2fa4061fdd2d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/globalconfig/observed.go: 10.0% line coverage (4/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/globalconfig/observed.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b9fb4b6a7c2419b60445772afb3ef0c5b2d1f8282eae787da39ca16529ca8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/globalconfig/proxy.go: 36.9% line coverage (24/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/globalconfig/proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df43350d2708903829a263b60aba0d57f11483f44a0a7f52751d6a98afc4182"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/imageregistry/imagemapping.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/imageregistry/imagemapping.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a219074aa9d07864179cfabf572d5fd7ec1009f65a47d483392005501cd409a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/imageregistry/imagemetadata.go: 1.4% line coverage (5/364)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/imageregistry/imagemetadata.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77611b772f02f918af6d8ffd5a8df36f285754f9840fb998e5c2d11a1153110"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/imageregistry/imageregistry.go: 22.0% line coverage (20/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/imageregistry/imageregistry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e7e568a6bdaa0935f509767b682ca80455fd6e12fb672e22d0a2e0cde0d0bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/konnectivityproxy/dialer.go: 45.3% line coverage (130/287)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/konnectivityproxy/dialer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1035fa5ed0098a3ab111a2535c18cb81834e0eebb948483998833710e82bf6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/metrics/platform_monitoring.go: 28.6% line coverage (4/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/metrics/platform_monitoring.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca3815a187424f171bbb2d241032068c5cda5dace97a4b7318090e2165a4ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/netutil/expose.go: 45.6% line coverage (31/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/netutil/expose.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca7c1806476fd813eb7e3d1781fa9938c1741e2da4e1deaa01b8ba21d2c89d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/oidc/oidc.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/oidc/oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"483c239a0ff54c31ee03b21f5750bb5c3e1ec3b95a212f80155ad6fd958abbb6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/podspec/deployment.go: 42.5% line coverage (17/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/podspec/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"427ea737685270c56fcbb36f156d8546fff49356d5162c30d034c00e4f6a7e32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/releaseinfo/registryclient/client.go: 16.3% line coverage (46/283)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e79caa7f3b85cece0d334c7d3b9fbb505e8f14422be7fe40fb1bb42899dd97"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/releaseinfo/registryclient_provider.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/registryclient_provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39281807ec64102a20f6620b9a583cb5684b8b65c9d556153805abe560cc2b5e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/releaseinfo/static_provider.go: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/static_provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7869b34ee8367cb958ff24bb23204cd28495a857c95ff7e9e9265a3245cca1a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/releaseinfo/testutils/testutils.go: 0.0% line coverage (0/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/testutils/testutils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a913c58e7f48cb0bb0a958a6348cd2063871776c4d0dabfc3c93e3544cc8927"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/rhobsmonitoring/scheme.go: 9.5% line coverage (2/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/rhobsmonitoring/scheme.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ad3630ac9ecbaf5466eaeaf048e635ebdf1d884c9f4f8f51a0dabbf806fc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/docker/pkg/archive/archive.go: 0.0% line coverage (0/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/docker/pkg/archive/archive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"997462824137810c626747ef727b42f4ab2afd0971168d3f2badf70ff3ff6a07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/docker/pkg/archive/pools.go: 13.6% line coverage (3/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/docker/pkg/archive/pools.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9416e15e6471027a94c4e537476f5b08124cf716927cb212c030c53cfa35e459"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/kubernetes/pkg/credentialprovider/config.go: 44.9% line coverage (22/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/kubernetes/pkg/credentialprovider/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556111de19b5fe795295f01eb5b1d98587a53894190edb9dae5609973be41e4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/kubernetes/pkg/credentialprovider/keyring.go: 0.0% line coverage (0/108)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/kubernetes/pkg/credentialprovider/keyring.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e50ca02998e4d67088d011b0ec5a515f178d217bec78d13c94ad7d8fedad6fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/dockerv1client/convert.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/dockerv1client/convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbc13bf5fe2f010f7b0ece892f01752fe70c7f7044960b3cef2293627a18b6c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/internal/digest/digest.go: 30.2% line coverage (13/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/internal/digest/digest.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8ec8ed3ad86558d97a253e7e578462e5aea68891a1485ececff49c9a794121"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/internal/digest/digester.go: 7.5% line coverage (3/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/internal/digest/digester.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4528264d0bfd47d849e7433d5ce5e3ac2ec0d188872bc34b2907d0516ca6d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/internal/reference/reference.go: 21.8% line coverage (31/142)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/internal/reference/reference.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b164319bdb6c74fb676a593f521030f7f37740941eda88b2fc6c01573256df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/reference/reference.go: 30.3% line coverage (37/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/reference/reference.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed4528788e7d1e02a5dfe0f78c60652353ea10c491d63ee13bacb51280331bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/registryclient/client.go: 0.0% line coverage (0/404)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/registryclient/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce6440e68629a9b2b832259bd7a1aa27fa3118b7b3e918b662f9787ea34e1e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/library-go/pkg/image/registryclient/credentials.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/library-go/pkg/image/registryclient/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df31bd5a350ecdb3de0e488d93d34332488d03651f8867c4f73cff4ad5bd4a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/oc/pkg/cli/image/manifest/dockercredentials/credentials.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/oc/pkg/cli/image/manifest/dockercredentials/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d69d0ea7d24b2fb5a2334ec0c922d3055c860c4a7b35a9a685d4e8c8254fc3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/oc/pkg/cli/image/manifest/manifest.go: 0.0% line coverage (0/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/oc/pkg/cli/image/manifest/manifest.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9baa10bb946b361600348b0541273164332d68f4c9d0530b3a702d7b093ed4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/thirdparty/oc/pkg/helpers/image/dockerlayer/add/add.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/thirdparty/oc/pkg/helpers/image/dockerlayer/add/add.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"719808d9ac6784b1064acd5063ae9b18e4dd7f43c84b9344f5706980fa210938"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: support/tracing/attributes.go: 25.0% line coverage (4/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/tracing/attributes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56aa28267330ec8c311b04070fc0d07f598f58cd491671efb311b61e488784a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sync-global-pullsecret/sync-global-pullsecret.go: 0.0% line coverage (0/175)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync-global-pullsecret/sync-global-pullsecret.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb25f45e1738d82e7cfdea4916a3c0dd14b83b4a8de0b413aede8381cecc523b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: token-minter/tokenminter.go: 21.7% line coverage (34/157)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"token-minter/tokenminter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8fe7f2c3782d4f83243fc32bd16829e9df021f05fa73bf742e4e9ebf2eebaa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/auditlogpersistence/v1alpha1/register.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/auditlogpersistence/v1alpha1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792b46e7dae0655720c481f3d530d280c86b25b9ec2849b95f006d573af0a09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/certificates/v1alpha1/register.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/certificates/v1alpha1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c06762577ae6d428d7e3d1f0944fe19902fb10c604ab05dacb9ea71fb975033"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/azure.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd1aeab44fe6fbdc3c0a4c837aacc1ca1b9238e9d44e8856f48dca8184b591d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/azureprivatelinkservice_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/azureprivatelinkservice_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ddc02f52d4055459eeee92ef417a8487b39fd6c66cd5dbf5a7d6eb15805dde"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/clusterconfig.go: 23.3% line coverage (7/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/clusterconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbc5318a4fd347cba13cc216dcaf59f461419f83526abebb441f6fab49520d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/controlplanecomponent_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/controlplanecomponent_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20454a9f84a3d1d0e00356c3f89384ec6bd5ad449c8ffc6aa8172470fbcb4516"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/endpointservice_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/endpointservice_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a82b86b7313077f59172db649f737eea6dd55cce070b843cab3a733a270cb1d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/etcdbackup_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/etcdbackup_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62db21db5f4835cbd7a721c98b4c0a6a673eabd2c3b3fced054c3aadaf4dff3b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/gcpprivateserviceconnect_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/gcpprivateserviceconnect_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"178e72dfd73fc73f7a452029eac200c0de73562cdfc0780747b5b5635397b1f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/groupversion_info.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/groupversion_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa891ae4e974a9862ef3f6c4dd12744eaf44d21411da1d92609943d97702ee2e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/hosted_controlplane.go: 12.5% line coverage (1/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/hosted_controlplane.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336ceb3a9740ff18265bb19f27e2f9d571ec208e6b0f50d684ed6c573848cbee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/hostedcluster_types.go: 2.8% line coverage (1/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88e5ac9006b354006cf736a33fab8007a535e526c827b0f2c3f4f37e4c5a5d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/ignitionpayload_types.go: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/ignitionpayload_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53017a061420db6af3e1049f79bba1570a1f77658cc1e911f62dd0bbb73e61ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/nodepool_types.go: 5.9% line coverage (1/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/nodepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c463d02789cb8edbc2d3c19ff0042aef3ec77cb24fbc6b6a162a73f47769d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/hypershift/v1beta1/powervs.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/powervs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf63c404b7c88ba2f029a5f818c4b68101af50773daa1d133b5fa4e93cb8ac1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/karpenter/v1/register.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/karpenter/v1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6785ab9ba728869b8c91f3b90eb52b7d34b43870fc33b36056e576f4bcafbc73"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/scheduling/v1alpha1/register.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/scheduling/v1alpha1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88676ba0ee5c3fa4dcbd57ca40150fe1bec7ff21b077a8324c9e4222d783776e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/util/ipnet/ipnet.go: 44.3% line coverage (27/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/util/ipnet/ipnet.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a758646502a215f9f6a0bebfeecbf05e24534f68160cddda78234ada5caeaca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/gomaxprocs-webhook/cmd/root.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacbe5547bea1dc223b7031b1470479135fbb343b7a90adced8bf4f928652082"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/gomaxprocs-webhook/cmd/serve.go: 0.0% line coverage (0/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/cmd/serve.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb72c06dc2b9d28b3e58962cb9dfc9e699f280b121f88bd3a299c11ac80182d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/gomaxprocs-webhook/internal/config/types.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/internal/config/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf0dacbd1089627a4b7e013b4a1c28c5c03f8e5ea9df0100efe433b0913eba5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: contrib/gomaxprocs-webhook/main.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/gomaxprocs-webhook/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39c5663f9c68e91bf6ceb03baa9cbe2ad8a2a51c91b6c2c3f0d53eb15efa860"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/check-konflux-triggers/main.go: 0.0% line coverage (0/224)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/check-konflux-triggers/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e52cccc0e7f2c349a89543e669b0323084f04e3fa5dcccff59647f482394add"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/crd-schema-check/main.go: 10.2% line coverage (20/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7b3443e1936948202c6e9ca8de7e21d8582b65e75b0b2d99063c516dc3ed0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/deployment/deployment-update.go: 0.0% line coverage (0/162)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/deployment/deployment-update.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943b35df385ac5a5996afeb378813f5970604611167482d2098b396f42d337ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/docs-aggregator/main.go: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/docs-aggregator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"846a1ef00f20ac025e60ebb1dd95fce0f578d53e6b88069ee71bc8c175c1f352"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/hypershiftlinter/cmd/plugin/main.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/hypershiftlinter/cmd/plugin/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8ed6af36a30c30881096bff85c289d16042f862840cfea197b8c1d5352f4f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release/notes.go: 0.0% line coverage (0/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release/notes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a639585478f1e733cad9270544306a686aedbcbee9160ea4a334569e0521b604"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/armon/go-socks5: Direct dependency \u0060github.com/armon/go-socks5\u0060 is required at \u0060v0.0.0-20160902184237-e75332964ef5\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2016-09-02, 10.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/armon/go-socks5\u0060 and has not moved this requirement in 10.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/armon/go-socks5\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":"cf2a65c64da7ed56d058e338636e69c3b8222c68f82e3b794f97fb821f264051"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/coreos/go-systemd: Direct dependency \u0060github.com/coreos/go-systemd\u0060 is required at \u0060v0.0.0-20191104093116-d3cd4ed1dbcf\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-11-04, 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/coreos/go-systemd\u0060 and has not moved this requirement in 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/coreos/go-systemd\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":"f7af82ffbcc99a03dc94a2d11aeef9012e868a1bf7f75b4663a4dd4cbe53f139"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/openshift/custom-resource-status: Direct dependency \u0060github.com/openshift/custom-resource-status\u0060 is required at \u0060v1.1.3-0.20220503160415-f2fdb4999d87\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-05-03, 4.5 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/openshift/custom-resource-status\u0060 and has not moved this requirement in 4.5 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/openshift/custom-resource-status\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":"5d338e418d0ee85c68a91fddbbc7c7a796632742c121cb0e63e1f0b30b54be0c"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: sigs.k8s.io/kube-storage-version-migrator: Direct dependency \u0060sigs.k8s.io/kube-storage-version-migrator\u0060 is required at \u0060v0.0.6-0.20230721195810-5c8923c5ff96\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2023-07-21, 3.3 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 \u0060sigs.k8s.io/kube-storage-version-migrator\u0060 and has not moved this requirement in 3.3 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 \u0060sigs.k8s.io/kube-storage-version-migrator\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":"e2cc76b48d25d201ae143a04ef3af2d35e8d85e25dbe28d408db4d48d7d0948e"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (hack/tools/deadcode-report/testdata/reachability/go.mod): hack/tools/deadcode-report/testdata/reachability/go.mod requires 1 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"17997096bc41eb24d72511da5b4ab863a9dea83825e63cad9a05b02b337bf3c1"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/agent/go.mod): pkg/capi/agent/go.mod requires 24 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62bc6c32463bf56e5272ab85b4228fe99bdbf8d5047ce40dc070ad324a77c7ba"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/aws/go.mod): pkg/capi/aws/go.mod requires 24 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"020ce612e02ae73424c47b0cc90f81d3f05efe00c883e1e6e3102d8d043f8f29"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/azure/go.mod): pkg/capi/azure/go.mod requires 22 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8a9123110e2707181432ec44dd4972a5374b909605f8e7de921b51297c83ad6"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/gcp/go.mod): pkg/capi/gcp/go.mod requires 24 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"475bee2c6983f01b42c0a4398156c8c400960bf478a6b1a28c7b8e6d602342bc"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/ibmcloud/go.mod): pkg/capi/ibmcloud/go.mod requires 24 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f465ad5346448b8b932d29db06b36a73162ab99cc28cc0d90250b698149458b4"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/kubevirt/go.mod): pkg/capi/kubevirt/go.mod requires 24 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7270d58fff1cf34faf6003d674d3c5b1b6a96d56da439c4488a3cb399de61b8c"}},{"ruleId":"D12","level":"warning","message":{"text":"No go.sum committed (pkg/capi/openstack/go.mod): pkg/capi/openstack/go.mod requires 22 module(s) but no \u0060go.sum\u0060 is committed beside it, so nothing records the expected checksum of the code this module builds against \u2014 \u0060go build\u0060 accepts whatever the module proxy serves, and two builds of this commit are not guaranteed to be the same build. Run \u0060go mod tidy\u0060 and commit the resulting \u0060go.sum\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e5420ebe688a027d87e3ceb9263590d4524803db738f8fd3f3e83027578f5d9"}},{"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":"ddea3e38a39fcbe1316b2d6d0b4c1aa147126df42445346b919faee419774caf"},"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":"D14","level":"error","message":{"text":"Banned license: ansible-core: \u0060ansible-core\u0060 2.22.0 is published on PyPI under \u0060GPL-3.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c4437dc1d5ce68742578dd5cfea8a90853b07d117246440bd3cb090e5a3f6a0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go: hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 205 in HostedClusterReconciler.reconcile at line 462. 13 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/hostedcluster/hostedcluster_controller.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476cb720faa7b36c797c9166b82636eb50f75a64ced23969791f2f336d6c49b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/hostedcluster/reconcile_legacy.go: hypershift-operator/controllers/hostedcluster/reconcile_legacy.go changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 336 in HostedClusterReconciler.reconcileLegacy at line 56. 5 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7757038f70bbb5dec2356e083d88ec33350377aa614c90ea309a8b7567febbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go: control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in HostedControlPlaneReconciler.Reconcile at line 741. 13 of those changes were fix/bug commits, and the other 24 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18fe4e6b05f0863ac0082ad7218583fd58657042264a50236ac999b12085d76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go: control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in reconciler.Reconcile at line 361. 6 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a1b2208e543c1d1dda86aa268cc8b3052eaa85f76e970e1be95042e1407ee4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/nodepool_controller.go: hypershift-operator/controllers/nodepool/nodepool_controller.go changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in NodePoolReconciler.reconcile at line 313. 9 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/nodepool_controller.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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd032df4b819d3a902ec7ea51b5d78ff8f552199f4ca7382ac8ccc23b7a490c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.go: hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in e2eutilallowlist.run at line 29. 1 of those changes was a fix/bug commit, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.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":"hack/tools/hypershiftlinter/analyzers/e2eutilallowlist/e2eutilallowlist.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82f6dfb7ad136e94a76531251aa484d57d262fc293df60d1837068e437bcb13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/dump/dump.go: cmd/cluster/dump/dump.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in dump.DumpCluster at line 444. 6 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/dump/dump.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":"cmd/cluster/dump/dump.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb43f14433476ab03a65cfde3a13033df757f65b61e9ee076f1921e3b2310db5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/capi.go: hypershift-operator/controllers/nodepool/capi.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CAPI.Reconcile at line 89. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/capi.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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"96213b837d71b1a614729de1a27ba8436aca711de2ccb930c915e6b51b52633d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go: control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in kas.adaptDeployment at line 69. 3 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a8f5fc34dbf6dd4c310a107384ec97333a673eb9847abc7bb434101cc9460e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/main.go: hypershift-operator/main.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in main.run at line 270. 3 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/main.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":"hypershift-operator/main.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd90513d9be0dd187de0f44b344b2ee436eea8b42839ff8b082bf8d2ecaa06d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/install/install.go: cmd/install/install.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in install.InstallHyperShiftOperator at line 552. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/install/install.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":"cmd/install/install.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8271e5997e315cfbb97a0d1ccfe7cfb9a6f84e339ba1e04fdee5a847dc19555c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/conditions.go: hypershift-operator/controllers/nodepool/conditions.go changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NodePoolReconciler.setAllMachinesReadyCondition at line 783. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/conditions.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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb105b5ec8d3028d588e455dcb95173c8f32ff98c754ae61f7dbf91979da3f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go: control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AWSEndpointServiceReconciler.Reconcile at line 420. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095e73df5a31da33471b8503828f3680e4ff79e4cf04e3d5fef5282936eaee1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/aws/create.go: cmd/cluster/aws/create.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CreateOptions.ApplyPlatformSpecifics at line 231. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/aws/create.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":"cmd/cluster/aws/create.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5f7053b6e297f3105cbae2be64d54ec9aaec60e489c8b8875e8bb610841930"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go: control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in kas.generateConfig at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef69697288a1dabe5d8e4e5ae62640ad58d04664ffcb921e9c3ead1366bf89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/gcp/create.go: cmd/cluster/gcp/create.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RawCreateOptions.Validate at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/gcp/create.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":"cmd/cluster/gcp/create.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f117102eed7e83c49865d129f52de62375eb11e662ac3877de1f7583764b8514"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go: karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KarpenterIgnitionReconciler.Reconcile at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- karpenter-operator/controllers/karpenterignition/karpenterignition_controller.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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e320090d04730d305014e4750b367b97e7d29c45b126bbf6ba19d2a3f1bdbf1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go: karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in EC2NodeClassReconciler.Reconcile at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.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":"karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43f5def89b1bd611bb17f23050cf92e3774a3110f4d079472289862a57f16e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go: hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in testfuncstructure.reportGroup at line 633. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testfuncstructure.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadd6f393055de203d05901c9a53371ea476f80d326d09afaaafbd3c4db1d7c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/core/create.go: cmd/cluster/core/create.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in core.CreateCluster at line 1104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/core/create.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":"cmd/cluster/core/create.go"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc454ce36003d88703f5bf40a1fd9f031b1257951e8a292686ae1c94320f05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go: control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GCPPrivateServiceConnectReconciler.Reconcile at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd63f9a353b7dff51867f6487f80e1795c9146e7e950760fc769fb52e12c33c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go: hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in kubevirt.virtualMachineTemplateBase at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/kubevirt/kubevirt.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":"hypershift-operator/controllers/nodepool/kubevirt/kubevirt.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be972290efe62c5493fa809b30aea060e5257777c22bffbc800828b9a0b5b24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: karpenter-operator/main.go: karpenter-operator/main.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in main.run at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- karpenter-operator/main.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":"karpenter-operator/main.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c553f7d0f30998ce79b43d5fc53f7f441620e1b25d126e0fee350dbad06faabb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/azure/create.go: cmd/cluster/azure/create.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CreateOptions.ApplyPlatformSpecifics at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/azure/create.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":"cmd/cluster/azure/create.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a7f5dcdee2d4fa6399a96863f6c2b7207e9bd5809c3591bb362c83ad84ae3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/token.go: hypershift-operator/controllers/nodepool/token.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Token.cleanupOutdated at line 243. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/token.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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fa0c425bc1edc0080caff0e3569d8424240b046757117137621187cf751359"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/cluster/core/destroy.go: cmd/cluster/core/destroy.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in core.destroyCluster at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/core/destroy.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":"cmd/cluster/core/destroy.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e43589a46575b306f62842d870a51c1ca5fa46e0d705cf36710fd831b84c87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/kas/service.go: control-plane-operator/controllers/hostedcontrolplane/kas/service.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in kas.ReconcileService at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/kas/service.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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c3ca12ab588af16e457d2982ecba45b392882a6a19b0e791b73fdc5a030e24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: support/conditions/conditions.go: support/conditions/conditions.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in conditions.ExpectedHCConditions at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- support/conditions/conditions.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":"support/conditions/conditions.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab370bea7d5686b10e616d38103727ca04d41afa6bd9110010e610dba7345d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/infra/gcp/iam.go: cmd/infra/gcp/iam.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in gcp.isTransientNetworkError at line 772. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/infra/gcp/iam.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":"cmd/infra/gcp/iam.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd6a2479f3f627896a9178bbd5bfe1bde3358080c67611d71b1d40da8057f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/main.go: control-plane-operator/main.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in main.NewStartCommand at line 323. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/main.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":"control-plane-operator/main.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49ddd8547b50624aec3d79c45bae9a23b977578a93768ebbe0df4fd9f269c7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go: control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in FirewallManager.Delete at line 373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"08990e3371ca96c7837ad63394e892cf7802d8873bda3c79bdb151034ccbb49d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: karpenter-operator/controllers/karpenter/karpenter_controller.go: karpenter-operator/controllers/karpenter/karpenter_controller.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Reconciler.SetupWithManager at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- karpenter-operator/controllers/karpenter/karpenter_controller.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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47252c6ebc90404b86a710aad30ae815340484607a6741bb1196a0a883bda66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: etcd-recovery/etcdrecovery.go: etcd-recovery/etcdrecovery.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in etcdrecovery.checkEtcdStatus at line 292. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- etcd-recovery/etcdrecovery.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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ba4a349b3f398218b15a6da7db1f22b300a8cbcdb1e82e8ec7d904c1efd2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hack/copy-capi-types/main.go: hack/copy-capi-types/main.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in main.main 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-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hack/copy-capi-types/main.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":"hack/copy-capi-types/main.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b704f0f8e90f3710ff982071a889d5def5410fa0e6bc6b1e4f0f3b0b4b229133"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: kubevirtexternalinfra/externalinfra.go: kubevirtexternalinfra/externalinfra.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in kubevirtexternalinfra.ValidateKubeConfig at line 318. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- kubevirtexternalinfra/externalinfra.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":"kubevirtexternalinfra/externalinfra.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe8ece34d8db8448879ecab7e16ff381663bf9f109798b5e9dcb8e59d168992"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go: hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OpenStack.CAPIProviderDeploymentSpec at line 186. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.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":"hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91ca17b614ffab36cf94a35d2f55b9f530ff31e9bb1518778f02d2b9b6b7fab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/kubevirt.go: hypershift-operator/controllers/nodepool/kubevirt.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in NodePoolReconciler.setKubevirtConditions at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/kubevirt.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":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc433e19ce2622a82d6129593f081ab9510fb3bc53f3dea541857e4825496c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/infra/infra.go: control-plane-operator/controllers/hostedcontrolplane/infra/infra.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Reconciler.reconcileAPIServerServiceStatus at line 519. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/infra/infra.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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccd039a3f19415aed958d7855d5fc5aeaf75cc66e536dd564d79845408fa9b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/infra/azure/create.go: cmd/infra/azure/create.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CreateInfraOptions.handleIdentitiesAndRBAC at line 239. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/infra/azure/create.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":"cmd/infra/azure/create.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"83090f204b254be81f3dc671cbd57f0cc1f8f4fc60e29e63bf7b284c74d052ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go: control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in etcd.adaptStatefulSet at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/statefulset.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c007b12c60c9aced52e1e727ba83cdfb78095dd68eb10aef362a95fe0f8421b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go: control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Reconciler.reconcileGlobalPullSecret at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/globalps.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0703ff70d8333e72492b08ae269582b3b3547a9876a0d92ab08be4c854858501"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hack/verify-tekton-pipeline-pairs.py: hack/verify-tekton-pipeline-pairs.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in verify-tekton-pipeline-pairs.check_pair at line 195. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hack/verify-tekton-pipeline-pairs.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/verify-tekton-pipeline-pairs.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72042aedfcafe74145b59cdc6d2975c4280c1eb4cb7d33d53455d88def291cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ignition-server/cmd/start.go: ignition-server/cmd/start.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in cmd.run at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- ignition-server/cmd/start.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":"ignition-server/cmd/start.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"147d326bb0126654beaa72b5ed71aca45f42ff21f966e5e59afcbb40c46bb236"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/infra/aws/iam.go: cmd/infra/aws/iam.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CreateIAMOptions.CreateOIDCResources at line 859. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/infra/aws/iam.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":"cmd/infra/aws/iam.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3b2a97e9c6950c0a0e8dd2411ccc0e2bf02728aab37221b2365b5d0fda110a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/nodepool/core/create.go: cmd/nodepool/core/create.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CreateNodePoolOptions.CreateNodePool at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/nodepool/core/create.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":"cmd/nodepool/core/create.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba27cdb673817b4d2df29ffeaaea33c110df6e42e579ce3ac6106603745275f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hypershift-operator/controllers/nodepool/scale_from_zero.go: hypershift-operator/controllers/nodepool/scale_from_zero.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in nodepool.setScaleFromZeroAnnotationsOnObject 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-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/scale_from_zero.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":"hypershift-operator/controllers/nodepool/scale_from_zero.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a0984f5e6ea85134b1763b9182a5b1c0ae74e3d9d0f24185eaa2f8a5efd1bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hack/ci/update-job-registry.py: hack/ci/update-job-registry.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in update-job-registry.build_categories at line 180. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hack/ci/update-job-registry.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/ci/update-job-registry.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8ef93c5a655e0e73f809ea46a382eec165775e7c9be3bcdf9111e5cf93429f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/infra/azure/networking.go: cmd/infra/azure/networking.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in azure.convergePrivateDNSZoneLink at line 569. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/infra/azure/networking.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":"cmd/infra/azure/networking.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"af478a37703a0afae622760f1f02700f3464f8f94927fb133541794f99492c8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go: control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in oauth.adaptDeployment at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cad6a56dec53afd9512d4d52070cb9e2e90b861b9403df901a56fa167644e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/nodepool/gcp/create.go: cmd/nodepool/gcp/create.go changed 11 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is CompletedGCPNodePoolCreateOptions.UpdateNodePool at line 135), 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(cli): align rebased command call sites\u201D; \u201Cfix(gcp)!: require zone flag for cluster and nodepool creation\u201D; \u201Cfix(gcp): share machine-type help text across CLI commands\u201D; \u201Cfix(gcp): address nodepool CLI review feedback\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/nodepool/gcp/create.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":"cmd/nodepool/gcp/create.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac7cf44146b3a5e82e4bba7a6c3ca0f2c3a00e17e1a5cd88bf714689d108a3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go: control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is router.ensureHCPRouterBackendsReady at line 78), 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: address review feedback - simplify loop, rename function, add test coverage\u201D; \u201Cfix: address review feedback on comment verbosity and test naming\u201D; \u201Cfix: address review feedback on ClusterIP gating\u201D; \u201Cfix: prevent router from starting before backend service IPs are assigned\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/router/component.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":"control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5932f53148a7d81f58b087a0eb25d9a7f0120f0d841a6a34250b9625aaa2c96e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go: control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is KarpenterOperatorOptions.adaptStandaloneDeployment at line 104), 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(karpenter): pass allocated UID to standalone karpenter-operator\u201D; \u201Cfix(network): normalize literal endpoint authorities\u201D; \u201Cfix: rename MY_NAME to POD_NAME in standalone karpenter-operator deployment\u201D; \u201Cfix: inject token-minter image to standalone karpenter-operator\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/karpenteroperator/deployment.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3c5a62b52ee0b9bec088eb90c9f8dbfc436eb34f9c97121beb1274236343c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go: control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is gcp.normalizeReason at line 165), 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(gcp): GCP-1221 | require every operation error recoverable before degrading\u201D; \u201Cfix(gcp): GCP-1221 | union both 400 reason surfaces, all must be transient\u201D; \u201Cfix(gcp): GCP-1221 | treat mixed 400 reasons as terminal\u201D; \u201Cfix(gcp): GCP-1221 | address firewall reconciler review feedback\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3b76e37da1a637db64785f4773c814f3bc0848ca3ee64ea190dc0076ef207d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: hypershift-operator/controllers/nodepool/config.go: hypershift-operator/controllers/nodepool/config.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is nodepool.NewConfigGenerator at line 104), 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(nodepool): address predictable rollout review feedback\u201D; \u201CRevert \u0022Merge pull request #8698 from csrwng/ocpstrat-3298-predictable-rollout\u0022\u201D; \u201Cfix(kubevirt): OCPBUGS-77307: override nmstate config for multus with IPv6\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- hypershift-operator/controllers/nodepool/config.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":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db74540f20dc78432a99bdfd69987cde8a6e99233f7bec03645488a9d1e39ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/cluster/azure/destroy.go: cmd/cluster/azure/destroy.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is azure.DestroyCluster at line 105), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(azure): make CI role assignment cleanup reproducible\u201D; \u201Cfix(cli): preserve client injection and offline rendering\u201D; \u201Cfix(azure): use DeletionFailed condition to orphan stuck AzureMachines during cluster deletion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 19:27:12 \u002B00:00\u0027 --until=\u00272026-11-17 19:27:12 \u002B00:00\u0027 --full-history --no-merges -- cmd/cluster/azure/destroy.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":"cmd/cluster/azure/destroy.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cb72c47b6f8421921e47e7ff5aeb3d9aed701a64ac02feefbd9205001d3acd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: hypershift-operator/controllers/platform/azure/controller.go, api/hypershift/v1beta1/azureprivatelinkservice_types.go, kubevirtexternalinfra/externalinfra.go, control-plane-operator/controllers/azureprivatelinkservice/observer.go, cmd/infra/azure/create_iam.go, cmd/infra/azure/destroy_iam.go, control-plane-operator/hostedclusterconfigoperator/controllers/resources/azure/azure.go, control-plane-operator/hostedclusterconfigoperator/controllers/webhookvalidation/webhookvalidation.go (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07d0c33aeaa4056b89a577d0b4ae0b2a4440c15391ca5796d5a8e88ce532c908"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: hack/tools/scripts/update_trusted_task_bundles.py, hack/tools/check-konflux-triggers/main.go, contrib/ci/gocacheprog/main.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"932f15baa394dc11d0f85f75efe45ac2ebe4d02df1f4016c3f9f755d70a34acd"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 18 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 (44 single-owned of 610 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; 610 of the 1148 production source files in this repository met that bar). They are anonymized user #3 (4 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (1 file(s)) (\u002B12 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: control-plane-operator/hostedclusterconfigoperator/controllers/usercabundle/usercabundle.go, control-plane-operator/controllers/hostedcontrolplane/pki/konnectivity.go, support/statuspatching/statuspatching.go, control-plane-operator/hostedclusterconfigoperator/controllers/usercabundle/setup.go, pkg/etcdcli/etcdcli.go, hack/verify-tekton-pipeline-pairs.py, control-plane-operator/hostedclusterconfigoperator/controllers/node/node.go, support/forwarder/forwarder.go (\u002B17 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(GCP): Revisit. GKE Warden blocks CSRs with system: prefix in CN \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/integration/control_plane_pki_operator.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"634c199daf0ba5d8970fd434f499b0a0ca0c42682c2b2e01e133d423db212a14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when/if we ever run all of these in parallel, this will collide with the hosted cluster sizing test on apply \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/integration/placeholder_test.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff5a64ceb5499a4e90a667855e80cf66f90a3929d4db234c2fa6f5e07625445"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: logs from the HostedCluster namespace - can we reuse e2e? \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/integration/framework/hosted-cluster.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b7bac8e60e4890b4e3b111e0aa7432a1874d163f7173b94e5a47d895ba01a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: logs from the HostedCluster namespace - can we reuse e2e? \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/integration/framework/hosted-cluster.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"74076c9863c3f4a60a45c22278128e48dc321997918a55d9f66d2814e460dc5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stream logs for all of the components into artifacts \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/integration/framework/options.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad3b9de0c83b9178a04c9aa364158fe5cfbb48e094da8eb53387a43b787b114"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: dump yamls into artifacts \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/integration/framework/options.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d0d697fffeb8872ca0324cf6932c09549102853e8199e3c4d853bd8cbee15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): have ability to label and get Nodes by NodePool. NodePool.Status.Nodes? \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/autoscaling_test.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb13f78bbf978341cd802c98cc82c990fb9a41bdafc04f4d8e399a53c077f957"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): have ability to label and get Nodes by NodePool. NodePool.Status.Nodes? \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/autoscaling_test.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c3bcd2c49d8e0f85babe9b5a1d7ab008a4c82d63a76c6e8a982583265bd47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): check autoscalingEnabled condition. \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/autoscaling_test.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c91dcbfbac3284362268ee4d8cc2aeba4976f1d77f9bc8464c46b791d8285"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): have ability for NodePool to label Nodes and let workload target specific Nodes. \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/autoscaling_test.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed40ff04e2a2eaf3d94131b6ad736cfba57780e65080c6ab6394368fd2ae877"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): have ability for NodePool to label Nodes and let workload target specific Nodes. \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/autoscaling_test.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"453f1b4c731d04c2dbf2b1b8aa92e5df5b0e69ad51a7ebd5923ccd1a62625bf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cewong): This should be reported in the HostedCluster as a condition \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/autoscaling_test.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6932aea3b397110f0c50c2b37f94a92e005a19fa3477993358ee71d1cb19d79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generics :-) \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/chaos_test.go"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"886e8d784aa3dc038991d7124046599cc166f6870192dbcb8061798a1ae1bab5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cewong): enable this test once the fix for KAS-\u003EKubelet communication has merged \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/control_plane_upgrade_test.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"962912192a0cbe26be5d064fc9e893b67faa4600422f24f730a4ff7bd21ee0ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): rename this e2e to drop TestCreateCluster prefix after merging https://github.com/openshift/release/pull/66655"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/create_cluster_test.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ff0f39854d720aa733d70f7c7865154783df20a2bcfbec146ec00e892381a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): have a global t.Run which runs all tests first then TestAlertSLOs. \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/e2e_test.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a2dd0da4c9aa21dd1cc28bb8808da1adfc0175ec80a7934866a70ead5d786f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(GCP): Revisit. Prometheus support is WIP for GCP. \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/e2e_test.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e832b1048857ff31b7adcad236cd3b10c64bd5d4d1cb17ad3d4671894bd6ed5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): We disable consolidation as a hack to prevent flakiness in this blocking test. \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/karpenter_control_plane_upgrade_test.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0b3c9905a5ba230b2e3c0b447ae8000a031e2d53648a8581ab73ff2dae4140"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bclement): Revert this change once the root cause is found and fixed: \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/nodepool_rolling_upgrade_test.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4fd02e653b228aa9d5111604f1d3a7cc16bf399c2165ea774b28d8fa0b3034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rely on Operator Framework managed package once released \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/olm_test.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5532721d98a3ec0a3eb55935ca69ef0f96bc504e366c433480a6324efb0ae025"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mgencur): Remove this condition once https://redhat.atlassian.net/browse/MGMT-23509 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/v2/tests/backup_restore_test.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e124c2af1b6dc4b0f0b38ce3dd235e0f583dfe77baeee320dc0c294e74461e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these exemptions once the tracked issues are resolved. \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/v2/tests/control_plane_infrastructure_test.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f373d8cbd65d5aa333bd5d67d98b6452acb430a2249aafa8cdbfa30da42a641a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement post-upgrade assertions for autoscaled NodePools. \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/v2/tests/control_plane_upgrade_test.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"da258faf58ccf903108b50baf54c5bce4ca28230b940892e77591724d4d72404"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out why Route kind does not exist when ingress-operator first starts \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719e38a9f3102670d109a3bac5a6f88a2bc44a372d0c78aefa34172995f47e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out why Route kind does not exist when ingress-operator first starts \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/util/util.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae477c386b0dfc9ac59449ce06087a541e5602027c616d2e92a473301f14959"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(GCP-447): Remove this toleration once token-minter is injected as a native sidecar init container."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"047c35f79e0323d9ccc1c901d4f4d52351b56ad09d902bf446456dd37375d01f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(GCP-447): Remove this toleration once token-minter is injected as a native sidecar init container."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/util.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bfaee20495eb7a312d8d1cd9f5aef11d0d9a07a58579de11fa36f0677fbc21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix these in their corresponding repositories \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da72a2c22276da760f41c383bf13f27d7834029e46d24ba02664796c5d406b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix these in their corresponding repositories \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"013149653dc4ea09127079521c1b9cf05e9a1cf1a5542e1e0acc7be9efe54b4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix these in their corresponding repositories \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf636e3537858d46c92b31562fe5cd7aec40c837f46d2f2a8dcb1b83a132ba2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix these in their corresponding repositories \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308a0c4030d8cdb3221332994414b69689077911ae0ffe2e2beb1ee20f54285"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix these in their corresponding repositories \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/v2/tests/control_plane_workloads_test.go"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf10420abb167e5c0f684823d5f065ab7ccc4e6738b138bf1a0b033f2681708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this skip once the default ingress endpoint is reachable \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/v2/tests/hosted_cluster_ingress_test.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bc38c8d3a169e42dac3df5dd6e01fed2bb6873a75ba19957fb3e0f9dd18495"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): Drift is only a failure while the NodeClass is gated from setting userData \u002B AMI. \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/v2/tests/karpenter_control_plane_upgrade_test.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9798145bdfa4c1c04c37b4738a8d4da495c5a7a4166fb4177e605e06e35072ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNoCrashingPods, EnsureAllContainersHavePullPolicyIfNotPresent, \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"74040081a6527ec63aaa640cd8f5940cecc9ad555f55c822355dec69eb3de8be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNoCrashingPods, EnsureAllContainersHavePullPolicyIfNotPresent, \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd00a228893697a692199db9fbfaa55d23a7e92b2d56a3f9eabfda975c10f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNoCrashingPods, EnsureAllContainersHavePullPolicyIfNotPresent, \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5321b7235cb80ba66e93f5831a086a2ff88133af10432026d5f1ae775c34a0a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNodesLabelsAndTaints, EnsureNodesRuntime require *testing.T \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"18aa013b63fdedb011c47139660f63b2b37265b5932fe21d008e594db487d969"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNodesLabelsAndTaints, EnsureNodesRuntime require *testing.T \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a042e5db986a05bdbdb770656d96e2d81c78d81e6605b631fb65e6679d526f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify machine specs (AWSMachineList / AzureMachineList) after upgrade. \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e7f72fd2505b48f6dc9e765c80f77af4c5cc77e360dfcd782a19eb79db66d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNodesLabelsAndTaints requires *testing.T \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a7bba57d27d99c35e4dffcfbe1ff7f4899f758e90ed67b88ba31e53f8b5cc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EnsureNodesLabelsAndTaints requires *testing.T \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e54f3963d80cf24b72c6dbe9ae8098d0f7591c4d2bd35b73f27220bba8ef0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify disk encryption is applied by checking AzureMachine specs \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/v2/tests/nodepool_lifecycle_test.go"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"439d2738a4e3b5c862d138386fb817992b555f95676efd1c6d66f13d908086cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CNTRLPLANE-3863): Replace this with OTE\u0027s built-in lifecycle JUnit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/v2/tests/suite_test.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d09ab3df64de4a7bb50d09a683d2bf952f69cc0f7fa478a17deb4df7fc47a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is currently just to satisfy an assumption made by EnsureInfrastructureResourceTagsTest \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/v2/lifecycle/aws.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2418202a26dfa2af9dacad14c4e1870057768fd6af5fcb8fba35f3b057f10c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It might be possible to decompose the karpenter upgrade test \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/v2/lifecycle/aws.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"47284a8e8e2d9142b7951bb8cf4c88b1a3fd7c7804b2821a3cea4bca9fe07360"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In a follow-up PR, move log interpretation into the etcd controller (CPOv2) \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/v2/backuprestore/etcd_snapshot.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f03ab1d1a06e72cdd8b383e1703d3aa892d8878b46ef840a059fe0c53d89350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Mutates the input, instead should use a copy of the input options \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/util/fixture.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb4fd5d388ad170b1ed6490d9ac86d6e3abe734053387af1a9800d7eacb034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this flexible for non-core resources with alternate naming rules. \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/util/generate.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"40529e68413140261285517eaf6c37e42ba66eadb8c4fc99f45830cf844ea796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahmed): when OCPBUGS-61291 is fixed, we should move this validation outside of this if block."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/hypershift_framework.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2039a4629076605a8401f24d23cf19581a8b1fac7d82723fdd21e18722ab0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): consider drop this gate when we fix OCPBUGS-61291."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/hypershift_framework.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cd821da344b802fb810a61f8c9243e0a893346c819d23cee3e9970d429c08a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Mulham): dumpCluster() uses testName to construct dumpDir, since we removed sub tests from this function \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/util/hypershift_framework.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"a303127714f7951940c03088be22b54fecc338af8d9fb29a4c96e78eafc1fba3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is actually basically a required field right now. Maybe the input \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/util/options.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9282515e812be9a91dc65b6f97ed7d23f1ec118478dfa45e1b37ce3d7f80c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:https://issues.redhat.com/browse/OCPBUGS-43824"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/util.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0287f0ef9b2c7b3fafc764743a2226efcff788113431ef9b9befd147ec9d1097"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Run also in private case. Today it results in a flake: \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/util/util.go"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf26273d8f4e16141cf144793e6b12de5af5f8e94483db31752fa5ab9de2d9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(stephenfin): investigate why this fails on OpenStack. DNS resolves \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/util/util.go"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e2466a020ff081a5ec3c2abb18ad7e6149ba5ff4bd16cf6f1beeba05ded2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jparrill): We need to separate the metrics.go from the main pkg in the hypershift-operator. \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/util/util.go"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f257c78a119a436eda06ff819e04acff6a69fba428ee9466785132a59132e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto) this test should pass in None. \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/util/util.go"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed5871bdd83809f333a058d1329fb626e7d6bedf09320d4714aedd6822fe442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TEMPORARY - Remove this once ControlPlaneConnectionAvailable condition is merged and stable. \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/util/util.go"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe87f32ca4b389384e95e0248f15ec975f2c5a007d2aa15830fdc89e620b32a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TEMPORARY - Remove this once ConfigOperatorReconciliationSucceeded condition is merged and stable. \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/util/util.go"},"region":{"startLine":3083}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42187f88eedd8c2ecd3a44ab655a3fbe730b57a0eee042c85b2e127b880849"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This should only fetch the default worker machinesets of a standalone cluster \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/util/reqserving/setup.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"684e27cd7f101a0a4fa1e05f7a49fae79ec3eccfa655ad1176e96e93df261cbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: For now, defer any validations of these configurations to the standard reconciliation loop. \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":"support/validations/authentication.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71978f9550963fc34239bf903f537f18522dddeb155231477fa1408da202836"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement logic for getting the current/desired version for the control plane and get the corresponding kube version based on 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":"support/validations/authentication.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cadaec8c0fee053c4883f7307850e6a49ee70c4417ea8a56b0eff39d31ee12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement logic for getting the current/desired version for the control plane and get the corresponding kube version based on 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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/auth.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efab0af368aa9113f176012ef40408f81993781489e927dc65f9572c24c8164"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(cewong): ensure we\u0027re not adding tags that are already in the map! \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":"support/releaseinfo/static_provider.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ad814925c32c40ddabe664c35dc55084e761443c60a677220541ea165e88a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for additional cloud providers. \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":"support/proxy/no_proxy.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a6c9b7efa02cf49cc52783a684bcffd435e5dbe3f81f7af92245c7615d9a07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cewong): determine where the ARMEndpoint is calculated \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":"support/proxy/no_proxy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5390650cf1c7c4de283b73907078113e928b2a4bec38ddb9ce99fbb02156c667"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (csrwng): replace with installconfig type if importing the type from the installer \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":"support/globalconfig/installconfig.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2413eea3ae21e44d791eb1da960c65b9250864081e06f15464e6f3974a7c9cdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (relyt0925): this is utilized by the machine config server and feeds into the user data setup to download \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":"support/globalconfig/proxy.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff17382bfd1c915be2ad6b63d6a613e3e6ca636fd325b00f0c1519f7f38e266"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a temporary solution, should be replaced by MonitorOperandsRolloutStatus() once we enforce a common label/annotation on all operands to provide more generic rollout check. \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":"support/controlplane-component/builder.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca8f496885b54f6d332ad5c72899d728b12dc0d94e647e210beacb0ae142598"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add unit test \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":"support/controlplane-component/controlplane-component.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd001f46f4b834cc1d03353b495c393320a7ff64aaafe06af6c4241454a4ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 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":"support/controlplane-component/cronjob.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37f48063e895de76d337fb35946d965371e1528f982e71e64e520640eb08d92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 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":"support/controlplane-component/cronjob.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8436b7b2167b19a7fc79cdd9b7b591aac5a8ebce35ea46463f37fecd11a2cd5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 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":"control-plane-operator/controllers/hostedcontrolplane/kas/auth_types.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e29d1d437139972ff81096df5adb5e152408b213051589638f7c4037f0cd94d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate why packageserver needs AutomountServiceAccountToken or set NeedsManagementKASAccess to true. \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":"support/controlplane-component/defaults.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed776ed30b5927963f86f13493b3c2dcd4b2c916d2d464be2c55c6f8ea2173a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we set any default strategy for statefulsets? \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":"support/controlplane-component/statefulset.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d235a44d2d8d33c8691080d71aa9981e16b2250a1f48a5b0f370850f208f1bff"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX unknown ciphers are filtered out \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":"support/config/cipher_test.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c60d4966934c497590ba0cf0422cdd9a438a37c11bf3bfa13e5efeb65b33f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): explore exposing multiple Azure frontend IPs on the load balancer. \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":"support/config/constants.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"130f40a5e2fd36c4248f3029c684da4bfa4f4d2f2a305e6a1e31c7935914d41a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): explore exposing multiple Azure frontend IPs on the load balancer. \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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5e4eea22b0f37413d2176382e67f6679cbfe4c33916432ffda27e2bc41136c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(https://github.com/openshift/enhancements/pull/1969#discussion_r3192690488):"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/config/kms.go"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdf991cc0c5b623b4d2a263299d3de6430842912e12ace727e9c62e3e27fbbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(https://github.com/openshift/enhancements/pull/1969#discussion_r3192690488):"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/config/kms.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcae9876666a0de35f30dcc3b384b05d64c86ca0f8c1948fa16da62cc94cd1a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: hyperv1.ValidOIDCConfiguration should really be platform-agnostic, but tooday it\u0027s not \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":"support/conditions/conditions.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8930d973a4ba5438193aa9e7999b99c2f41884e1428f36b33cd826ead33f5c7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO CNTRLPLANE-171: CPO, KMS, and NodePoolManagement will need new roles that do not exist today"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/azureutil/azureutil.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a7afa0050e8dc1b1e05325401830d4ec66ace65f86d3432b0b8604ee17031e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Even though an object typer is specified here, serialized objects \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":"support/api/scheme.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ec9b0423b005db96981478779175a9be44f7b7fb60043192fd8bf45f426c70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Even though an object typer is specified here, serialized objects \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":"control-plane-operator/hostedclusterconfigoperator/api/scheme.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7152de6b46604964ee18c2ea87d921a1df1e82f06db59c77e8673624bd706d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This will be set to hypershift.local by reconcileInternalRoute. We need to have another external route or get from the spec don\u0027t expose it at all. \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":"sharedingress-config-generator/config.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"019b5b99a301d66b865c680fd26e61bd8d8886ffdc763a8397309e7f9d4c64b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This will be set to hypershift.local by reconcileInternalRoute. We need to have another external route or get from the spec or don\u0027t expose it at all. \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":"sharedingress-config-generator/config.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b4ecc6454d23ee1f90a987c2d01a96a335113696269b256e499f5008f61ccb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thomas): this is a somewhat misplaced side-effect that is safe to call from multiple goroutines \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":"pkg/etcdcli/health.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e386081c84ebecb62bc833c6b7e57537237aae37cb28d311ace17d46d195e6c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForClusterInfrastructureReadyV1Beta2Reason = clusterv1beta1.WaitingForClusterInfrastructureReadyV1Beta2Reason. \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":"pkg/capi/ibmcloud/api/v1beta2/conditions_consts.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4eba8f245cc34d605e7b3974ca5aff8f551ea150fd93b38a011f200b872097"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForControlPlaneInitializedV1Beta2Reason = clusterv1beta1.WaitingForControlPlaneInitializedV1Beta2Reason. \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":"pkg/capi/ibmcloud/api/v1beta2/conditions_consts.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f30eb8898e1e23bc47090456931e1810c3953c0aace6c2e7459854961918d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForBootstrapDataV1Beta2Reason = clusterv1beta1.WaitingForBootstrapDataV1Beta2Reason. \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":"pkg/capi/ibmcloud/api/v1beta2/conditions_consts.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f459ea462ab06f8ae97594d10113bdcd14a8133542fd656b5bd18785ce28fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Actually zone is transparent to user. The field user can access is location. Example: Dallas 2 \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":"pkg/capi/ibmcloud/api/v1beta2/ibmvpcmachine_types.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54539b764bd6a3b2f0b2f53234bf31980159804e4c0ca8534bf12d94e0a974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Actually zone is transparent to user. The field user can access is location. Example: Dallas 2 \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":"pkg/capi/ibmcloud/api/v1beta1/ibmvpcmachine_types.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bc8f5df4c8dca80689bff6df96f373eb69fff636c50321bb3d91909f9b5dbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a reference link of profile \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":"pkg/capi/ibmcloud/api/v1beta2/ibmvpcmachine_types.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b82685cc96b4d0c85899915faa3b840861867c0a822b3f10b7bce7e35de19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a reference link of profile \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":"pkg/capi/ibmcloud/api/v1beta1/ibmvpcmachine_types.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c541d46cb53a10fdfca50a70ebe46dcded80722687eb5459e25a12c6663225a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mtulio): add future support of user-defined Elastic IP to allow users to assign BYO Public IP from \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":"pkg/capi/aws/api/v1beta2/network_types.go"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0010a8d49b98ef97801d52e257484d7e4a798b479ceb0404a49d4e121ed1b225"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(linkvt): Both the standalone operator and the adapter expose metrics on :8080, check if adapter metrics are needed \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":"karpenter-operator/main.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0997e3a89c8d974fa17d08cf0f98ca9c4378ee06702372108fe72203eef77fde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): if we ever support disablement, that may change \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":"karpenter-operator/controllers/karpenterignition/karpenterignition_controller.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2391f5a8a24ba72f3f14745fa785595099ae2650ac33222d200a9ea8f663739"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkyros): this includes nodeclaims where the nodeclaim is \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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa68828572c55367d5012948e067239fc56fd4a829d62b5a30c7eefb0505c2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): if supporting disablement, we don\u0027t want to force delete immediately. \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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce5d30b2edb4475502a1b515365decd958b53705d34e930c2a2553fe547203"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): upstream has a escape hatch to forcefully delete NodeClaims using this annotation \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":"karpenter-operator/controllers/karpenter/karpenter_controller.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0176d5eef8fc65b30c3fd585ab876a86f11ced6f45b055afc4e34d28c65dde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: include a creation time window for the nodeclaim, the instance and csr triplets and also ratelimit and short circuit approval based on the number of pending CSRs \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":"karpenter-operator/controllers/karpenter/machine_approver.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfad5b2497ba83a7e72577cc749f161facf0265e80fcb7235169d454921d8c99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(sdminonne): replace positional string parameters in GetPayload with a PayloadRequest \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":"ignition-server/controllers/tokensecret_controller.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"027709058b5b988f02e912d3efefa87f338fb0389435f9fe7fb73b5eb55633a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add an fsnotify watcher to cancel the context and trigger a restart \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":"ignition-server/cmd/start.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac0781ffce42f95ff08af34337fe3162b0b25fbaabbd4736bb60b67937b4ce2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): dropped in 4.14. \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":"hypershift-operator/main.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c0ad0608865b7c201f9670cb46ae0fabd4a7c07e9dfd535a7f2fb750009e5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bclement): Once all management clusters have completed the CAPI storage migration, \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":"hypershift-operator/main.go"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ba69019334cc04d0f91a0bf76ac5efa898a2c8711c63c109e846118c46a1d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once initial commit is merged. Not needed for \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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b5ebddea977352d23875b38e1a6562c8a93442dbbfbe5804e16067bde7c004"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should probably do some sort of automated acceptance check against the VPC ID in the HostedCluster \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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e27c6ab4ed72a5c4810eda3836e0cde9a6a4b0fc0960edaab38f5826530f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optional filter by regex on error msg (could be fragile) \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":"hypershift-operator/controllers/platform/aws/controller.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e882904354602c419d1cd6490cd85353f7b31a0cec16908c0948f1a06c7b775"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should the region be included in the NodePool platform information? \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":"hypershift-operator/controllers/nodepool/aws.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58c4d4bcf27ff9a7153877b9c7fa959fd0227ca65d5c7744b7fc28b67b7867"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): consider stronger decoupling from Token by making it an interface \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b80d665fe0241331b5d3cb5f9e1bcd9da8dc121f1ce06ed3aa4c73027f0390"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): deocuple all conditions handling from this file into nodepool_controller.go dedicated function. \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4619f6599b5b7b7cbe9b7b8b3bb02e6cbf26b6fd5d7cde70e89fbabcf5e7361c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): why do we need to fetch the object and check the DeletionTimestamp first? \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e89a540a87e4c35e2bc2836cb0974dcf9908a9f4538f451a19836f3bb5ed90b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): why do we need to fetch the object and check the DeletionTimestamp first? \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3bccec4f505b196f6070cd12fbf00b7ceb40f59e0553f753c031a56ef6ad86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): why do we need to fetch the object and check the DeletionTimestamp first? \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f9ddc556cb614e482ef20523647840d384003a47ae05ffcf8f61b48ee5fd0c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: In future we may want to use the spec field instead \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6c583729cdcb8597de906c04b75109b26a19310aa4db4c9dacb57a17057f84"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: In future we may want to use the spec field instead \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b344db6afe6b35dec0165435f7a05ce475685cc493abdaa4be2faf64b1736f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Also for paused to be complete we will need to pause all MHC if autorepair \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc50936248067f18cade24a37fa68da5967b47f5238e641a872f766e86ced8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Alberto): drop this and rely on core in-place propagation once CAPI 1.4.0 \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"083862a58721d6f426327ce4069f5649d4a9af2521cf9abb615f54be12dcf46c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): possibly expose this config at the nodePool API. \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f2808a69ed7eb1d4cc3c8d4da21660e21dd1b4ff9cc22ebfb1e9e988f122fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Consider signal in a condition. \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ace482ebf63a96f61c9c80f8968cb9659113371d8acf22819175fd24e89da1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto) drop this deterministic naming logic and get the name for child MachineDeployment from the status/annotation/label? \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b72060779900326cb17fdaeab7ec01551dbf062594f1accab104568ca04cec2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Let the all the deletion logic be a capi func. \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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afec99b9b0d84f91370c81847554849500742cfcb5e4ffb446b95c922ce68ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): reconcileMachineDeployment mutate the NodePool with this annotations and status.version. \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":"hypershift-operator/controllers/nodepool/capi_test.go"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb202b89574f53d88602148e9103b794ef29720b241dcc0cbb7d9e5310af085f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): work upstream towards consolidation and programmatic Reasons. \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4ca75f8fc7f174ea6cc7e135756687521ef51ef1e9f796f37f3b29e862cbb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor signature to be inline with the rest of condition setters, and move common conditions like NodePoolValidPlatformImageType to a separate function. \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b02a55fd39355ac0fade1cb729b72e76b0db01bd1640bc273dc449df73613d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): we should hide haproxy config generation within NewConfigGenerator and let the kubeconfig absence to be an error type. \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba9983b99b8ada8fd9ca6384fb055d32f9cc050c7b6e9a74a0240fdefef67d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CAPZ): Remove \u0022Failed\u0022 once CAPZ surfaces \u0022VMProvisionFailed\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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6f6fe7b33e786707082bdeb93d4a1e6a6b61c235ef2ed39d401961036afe0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // CAPZ: generic failure reason (see TODO above) \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691dca3ba898cc0c3a4db15bc68c38d681f1177f2245ba678b7f423517a0a14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add validation for other platforms \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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"924a0bd103e900ad4be00d5300619de1862392b87a4f5fc61f27ca96ee009c14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): consider let haproxyRawConfig be an implementation detail of ConfigGenerator. \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":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"286e0b080441e47e0de54685c46726306e72bfab156da72a3c4d918548006b3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): hash the struct directly instead of the string representation field by field. \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":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f3535942b031bc8d460f4222480a3f9961ed75e77eaa210b8f7e033d78451"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This was left inconsistent in https://github.com/openshift/hypershift/pull/3795/files. It should also contain cg.globalConfig."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4817efb4debc3bd233cf031c49abe227cd8868482c38109394970d04739bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This was left inconsistent in https://github.com/openshift/hypershift/pull/3795/files. It should also contain cg.globalConfig."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/config_test.go"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aabe5cc6e1fa132a0855be91871fbd6a48e97017816a1e044f5426cb093f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): consider moving the expectedCoreConfigResources check \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":"hypershift-operator/controllers/nodepool/config.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"54301516d24dc015f8d168719b3b92a8cf2fdf0ffe64014ede25dddf8b79fff8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): consider moving 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c189fdec05e7b231cd4094807248ba1aaecabf31130d3a65656709e32493f7d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): capture these in conditions. \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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39cf48f212dd96bb0de57f188b30c6338ac23196788f214e5df00d8d4f5e500"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO actually validate the inplace upgrade type \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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb109432a51a125d51ff13b6751a332a70d0fd205fbfe6af8b1b7b9c4d9acb5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CAPZ): Once a follow-up to CAPZ#6737 reorders the summary"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/nodepool_controller_test.go"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ff7076cb4da2b0f486ae0ce8b8b70291a7bf26822140899c5f58bc6b549109"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Alberto): remove the AWS guard when OCP \u003C 4.16 support is dropped. \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":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"969b53a41443379d34799ed57163de80e7575d4ada7185b5000342cc9bbd3716"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Alberto): remove the AWS guard when OCP \u003C 4.16 support is dropped. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4ac7d94708c9e3ab7e1d355ea1449a0dd51351f085cfe6cccb379f089202ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): we don\u0027t really support content inplace changes for fields like pull secret and AdditionalTrustBundle. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c5a319bc333aaad0a720ba384868e19d7a330a330f3571593535e650c4fc6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): tempReconciler is a NodePoolReconciler used temporarily until getPullSecretBytes and getAdditionalTrustBundle are factored. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"770de7a3139430d01e77c92cd5895fbd732a25986bd324d1947fcf819bd875a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This hash should be consolidated with configGenerator using globalConfigString as that is what configGenerator uses to create a configGenerator.Hash() and so what triggers a rollout. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e8e7cfd883eac4cb38672bae0da278bc69ba4b28e8758265ca9a9756b3c13a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Drop this after dropping \u003C 4.12 support. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"002ba41d39c31fa42472d798f1dd1fe0982f89a62bcc0832265a27785378790e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Only apply this on creation and change the hash generation to only use triggering upgrade fields. \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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c046027b77f690d2a7cf1201cc29b9ba9a4005a0238fa3e8043f4b387f744a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for BYO network/subnet \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":"hypershift-operator/controllers/nodepool/openstack/openstack.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"476d92a59630dcf2521463101ffbb47065555c85d445ed7e6968590fd3276b82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Technically this should call util.BindAPIPortWithDefaultFromHostedCluster and let 443 be an invalid value. \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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb77c3b5e8ff67a9b8b7d55f61107c1195d66a2b5d2a79ac4345af623a73090d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Technically anything should be calling util.BindAPIPortWithDefaultFromHostedCluster and let 443 be an invalid value. \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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b0261ff5867da31faf8d16a3582744ef59e38bdc3d0c9bd0cbd419e3bc07e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is really setting something that could be more granular like \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a112cf7c2edabacfcdf8baab2cf8bdde4bd3e380ca75750369ab77ca78b7c73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is really setting something that could be more granular like \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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e3a96c34ed546328e967de22e21b64c576305fe81b27b676d58ede9bd3a9b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (cewong) Remove this hack when we no longer need to support HostedControlPlanes that report \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58b86bcedf9a740096041a1ac2b52bab35dca4e0985fbb0f7edfdfd372f860"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (cewong) Remove this hack when we no longer need to support HostedControlPlanes that report \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":"hypershift-operator/controllers/hostedcluster/reconcile_legacy.go"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd78bfe94037e9dee6ba4b1d6f0410b0d8478a38d0d534a7443ac0160f5bf9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move RestoredFromBackup to Phase 4 \u2014 it\u0027s status/annotation propagation, not a sync operation. \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2fe93122223acdaeed108f09d84d2cc07cc7b9bcbf0977483e511701bc5c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once the input is in the HostedCluster AWS API. \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb71d10d431f5f2701700f4353582cbb58e2970d6a9721275708647a52b368a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this block after initial merge of this feature. It is not needed for latest CPO version \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1378bb226087440d60f244b75de1befb87492fb74c2cadb20c035293bce42caf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: leaky \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e665da04d260f0dbba8c42533e1b85f7d1bab879ab5badcb358878bec5117c6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a potentially weak check. Conditions checks don\u0027t seem \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3747}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1c7caecaeb91b9dbd272b4d0c5791a60d54492d98fc5037bbb4d5c532b4ec5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do a label association or something \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea746105354ece556d40e9854d88c4017ee880fa93177123ca668c3faf608456"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(IBM): Revisit after fleets no longer use conflicting network CIDRs \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a99b59f0f36e145005357866dbe6a7e774c2f6d374c857bee0da76918e79805"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when API CEL validation is enabled. \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4df4871d73903faa78e81b2f2822b9184d98ef3b2e4a6d65fd636cae267408c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\tThe KAS serviceType should be Route or Load balancer. TODO (alberto): remove Load balancer choice for private. \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9303c5b2518b2c47aab8de322c1da1e9b1f5230d3fb5232fa0bef3c66a203b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add validation for other OpenShift components (e.g. OAuth, Ingress, 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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4942}}}],"partialFingerprints":{"codehealthFindingId/v1":"01960bf8c7284ec399eb42754232cb04917cc644dfee98c1faaa059eefb4cfea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the spec/status comparison of control plane is a weak check; the \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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdc12cab85953755543c52bcc93883a111a2344ee3f23757ebcd3e6c94bcfc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Network policy code should move to the control plane operator. For now, \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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f6611a1685d49ef692973279137e63165c02c2376311ba459c53090fa9907"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Pass createOrUpdate construct instead of client. \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":"hypershift-operator/controllers/hostedcluster/internal/platform/platform.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0381f461f607526b916fb6004ffce39730112eb2e39b2d7d513d5b4613ce80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mkumatag): 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":"hypershift-operator/controllers/hostedcluster/internal/platform/powervs/powervs.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4f3430565313ed2735e487ef46b6fa96caba8eb85fba764a6189ffeef4b89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: will adjust reconcile for non-upi platforms when CAPI components ready \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":"hypershift-operator/controllers/hostedcluster/internal/platform/ibmcloud/ibmcloud.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"037dd551c812962b99bdee87c5ae2378707d0386f3659df2cd29222cf13fa1ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement GCP KMS secret encryption integration. \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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c85d75cc0329dcc9b16d757580599f78b415816f4af8037210a83d3823aede"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement GCP KMS secret encryption \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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27430abeb18b49176c169d639bc12c19d1dc4e035137340609c3e807cc05347"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement GCP workload identity credential cleanup. \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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fb3dead614bb03e0039397483eab93406bb9c9b6edb17c2c9925340fe67b9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement GCP credential cleanup \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":"hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"97377d76404f56e449e395b166951e6bbce679d6a59620451ec246364ffd3c78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): consider moving this reconciliation logic down to the CPO. \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":"hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b822927ef8af4b2fb8272b9c3efc89c5e750ae8d1eace9ae0acddf1522cca57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Pin to specific release \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":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c7d9af6d1db4486f2de4d7e1e1e647bbb92c8614a0ce2844b2753326db211"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CNTRLPLANE-3532): add the reflect.DeepEqual rule."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/hypershiftlinter/plugin.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf49c7d295d1f2769db9e931e798c943aa430a67df0ce7121807e434f49e80c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should bubble up to HCP condition errors. \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":"etcd-defrag/etcddefrag_controller.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4e506ae8ce02d8e2dd7d7e06d9c738f4685bb05df204f753c43d4f6e5c81b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we need some sort of time-based GC for completed CRRs \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97ffbc1a188d519f378e267fb62a1d543c694f745b97f4d04df4349e0576a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we *could* store the signer -\u003E signer class, trust bundle -\u003E certificate, and leaf -\u003E trunk associations \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb3518bcdeaaa2032483f2c7f27b50324e3ec3f6b568bb605cee35f6d39bef9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: using force on secrets \u0026 CM since we\u0027re a different field manager - maybe collapse? \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6268db9e772ee6ebf2a0fd1517e0cef1db8261f24da725fa30c007dc6009f02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: only need pkey for client \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":"control-plane-pki-operator/certificaterevocationcontroller/certificaterevocationcontroller_test.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8271577047f29f247652867337401ecff72bf0058f1f6923eccf0bdac211bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this when ROSA HCP stops setting the managementState to Removed to disable the Image Registry \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2b3355c64fef6bd476726e19d795bba1254396d42ca7fc8bee4f9b12b594ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dkokkino): Remove the manila-cloud-credentials secret from the openshift-cluster-csi-drivers namespace \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"af717950c2e6333e2f9edab21205e4ffd2d5ff12e86ea0c7e912c4c9e83e65d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dkokkino): Remove the manila-cloud-credentials secret from the openshift-manila-csi-driver namespace \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae9b551e46d88a117efa2f07dc8bcffdd823558e88a1e2d10426f811ef5c757"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jparrill): Include in the reconciliation the OperatorHub.Sources to disable only the selected sources. \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"020dc2955910992116f1b9082e9db9636dfb2aa8fb8fc59de73d8e5df99ce676"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO explore scoping down rbac to the running Node \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":3234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce44c1bc1917ebdc299d1cfcf781c7714259c9c3f2249719e2481e0704e0b04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): remove this when we fix this in karpenter-operator which will set the providerId instead \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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":3310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ccc6b155784cba0fa6b4c7a534a5408d2533478e036f480a0f13a7a44248af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(IBM): Revisit after bug is addressed, https://github.com/openshift/cluster-image-registry-operator/issues/835"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/registry/registry.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f1c46307a2ada249f603666709f9c3d3d3932102608f851f3ace5fbcae869a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): MachineSet CR annotations are used to communicate between the NodePool controller and the in-place upgrade controller. \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d162dd134c0abc71d001734f3433c92af50729cefb278081df43d53bd7660"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): add controller predicate to drop MachineSets owned by MachineDeployment. \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d25e848fb81cb7d3d0f29786d2adc1f312f3ee6d95351a4328ec5646fe329e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): Let controller watch token secrets? \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c6f31b41b9bf1ba465d2c3f1aa69419d8a9eb224a0024cab08d09f67abcbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): differentiate between NodePoolUpdatingVersionConditionType and NodePoolUpdatingConfigConditionType \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"298b4c92bec6dd25f8ce5b59a5bacde01b7a93d64df728f0359f77ec330c1685"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): maybe this can be a daemonset instead, since we are using a state machine MCD now \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa502b2125be0d9522c731ea85c051b21f37ec4ef713adf6c273589ea1631a09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): maybe add a tracker for pods, so we can also use it to sync status \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcd6ed7f6de2f67554034bfcb34fd1403766598975d4b527a4018cf41b16b0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): properly delete the other manifests. Right now we just delete the pods \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b9665d53b1658bb2c504c63a11cef03f7722fdf9fba6bc1dde23b240e02b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): consider what we want to do with node status 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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c922b4f1a477452c1c17f151574361cb9ff42bf3f0b65cfc12557c55717788f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jerzhang): do some ordering 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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39277404c67ffda9d2458a0ac4995d74733153c94bd813a6ec82f3bca44053"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Alberto): account for number of expected Nodes here otherwise a brand new NodePool which yet has no Nodes \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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31a57dbf323c07d57bfae9a5a3b43b4842a79bd2d37253277eca613bf06adfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): this may be redundant \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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbff9a7ab7732d752781d3a365195896eee9dc7ed6e3495d61fc366981af80e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): properly handle failure and error detection \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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b91a4a99c4048160f77f9c480c96f30506071feb7d2bfc689e862ea6e2df5ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jerzhang): properly handle logging here, although this seems to work \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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3241bc4425bb9a3f830dd882f6d762efbeeb61455cc4fd29efa48334eb3ea3b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: in the future this may move to cluster-config-operator. \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":"control-plane-operator/hostedclusterconfigoperator/configmetrics/configmetrics.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be8d72da9a7a6d67a1909bb5c6bb078cd3fdb04bd4ce21882687f1bb7d0b173"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: after informer synchronization send readiness signal to the main controller. \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":"control-plane-operator/controllers/openshiftmanager/input_resource_initializer.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"999cfec33f928ca634eee7ff0d1589c5c52173e13de208d568ab2b371128eef1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: in the future we need to extend to full list \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":"control-plane-operator/controllers/openshiftmanager/input_resource_initializer.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd26932b673562dbaa56e8f41d93204e86edb77adaabb22a83620827d93c375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: register informer event handlers \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":"control-plane-operator/controllers/openshiftmanager/input_resource_initializer.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a10634dcbdf6a443783bcf8e52acfe89a85e4e9eca7c4d122692773024331a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): remove this hack when having proper traffic management for Azure. \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd614bf2883ffd5cb443cae2a7eb2ddca5e5d27c3911ab3b71b7d67ff3df424"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmace): This seems a bit heavy handed vs. making more granular bits no-op if \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"499eb9afa42c71d034d954cb0e9e8e6ff5c4cdf3a131f6580916a395e9605a00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this up with the rest of conditions reconciliation logic? \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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a46abba057d65b1975fb51559aba62cd01fc37d640327f3a5c371a5a79a80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: introduce live reloading like in shared proxy so the router config \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":"control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e89fb897a7f448bb9ef2bee41f39a9dd65048af9b4a8f2f3fa157dc99bad273"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make impossible via validation and remove \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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ee265881aa8baf2a3ee55220783ca36a594d47a954610669621446c55fe433"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make impossible via validation and remove \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7ef24bad58e9336600cabb3e27d610dd6fcfc49ba3a89914148a8999953194"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): add some validation for DialContext. \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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert_test.go"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb84a8af30e0615648b45c982b2bc08169c90ae6e455cb9b58e132f4656045"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): add some validation for DialContext. \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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert_test.go"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b923d127a9b7d3be5a4388edae0377961e16c3e3ca3df1a9dab3a167cdf08655"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove in 4.16 once we\u0027re able to have different featuregates for hypershift \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbfb8bc79415ce592991db9663a080f636922a3578ca0effbaf2fc2ab1089ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is this expected? \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/config_test.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7404f81ae6b2813d2e55390696ab649c977bfc0c003c611e70528bd6572c5160"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also adjust LivenessProbe for azure/ibm kms? \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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc2be5384c52009106eeb5a9b27505b40f99cf0cbbaf8aa9f987bc2c40c89d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ingvagabund): crypto.DefaultTLSProfileType available in 4.23\u002B \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":"control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver_proxy/deployment.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e70cb21bc75c45bd419f0b7996fdbc848996d16c050a5e85146cecd3a067053"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(etcd-sharding): Backup support for shards is not yet implemented. \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":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/shard.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab3587aa91fdb8aecddf86c01dee09fe65b8cee0590b7418f1bfcdde6060152"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These manifests should eventually be removed from the CVO payload by annotating \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba9aea3122b00c64bddb04217bd8952c485d62a1d5ba3be613a6ab58b80888"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these when cluster profiles annotations are fixed \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eb246a1db534ef0f82b39c2c2c8013c76d841837516f70abd0ba19a07edf70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when cluster-csi-snapshot-controller-operator stops shipping \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c14cf3c32289816b66eb623cc39d4b1ef30a23486022ed6b1a064b410422a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jparrill): Add RBAC specific needs for Agent platform \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":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/role.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"282905363bb52a7e44ce06b77f64fe88ec180a82e53655031c1f2986cedd2464"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this configMap really needed? \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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/openstack/config.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dce35ad42805d13690f99883ba2bc03504ed92ed553d26fcc7d0085681c9c7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO HOSTEDCP-1542 - Bryan - drop client secret once we have WorkloadIdentity working"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/config.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496dc82328e920b93c2503c5b36b804b4026119da685ae5e16bc8d81b4d922b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: create a separate component for each platform? \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":"control-plane-operator/controllers/hostedcontrolplane/v2/capi_provider/deployment.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6644aaebec4b7992f872fb615a7401285417094546dc8005a59e7ff6414e7b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if the options for the cluster autoscaler continues to grow, we should take inspiration \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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/deployment.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4838c407da9c4f2d90d90f95f42f5544be36b8ee3030287441690cb05ca240"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: modify MCS so that it allows a named config pool to be rendered \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":"control-plane-operator/controllers/hostedcontrolplane/mcs/reconcile.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5490d68ae7ba9377c0f765b546be722fa0a9c81387079b5480575c749d98bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (alberto): if this port ever need to be configurable it should come from new field in the LB publishing strategy. \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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c634f8e8f980bd73b2650216b20906d7038c7a5efcf53b0c8d6dbedc8123d191"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stephenfin): Both csi-operator (for Manila and Cinder CSI) and \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":"control-plane-operator/controllers/hostedcontrolplane/cloud/openstack/providerconfig.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fccef1b801b0747919b931d608a69473b3623030fb3e180b727768bad42573"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stephenfin): Neither cinder nor manila CSI drivers (as deployed by \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":"control-plane-operator/controllers/hostedcontrolplane/cloud/openstack/providerconfig.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f020f10b961dcf6b5a2dd8fe727056453997778d4e2afd2521e7f6552b87a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CNTRLPLANE-2172): Consider implementing automatic retry with timeout and"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a4baa77cee0ba4ab783ec2a58cef919b0faacece1802c992bd7ae76c27303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add completion logic if needed \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/nodepool/gcp/create.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ac9f3e55548f3aa93dbb7464c5585638626db2012076520922d5cd72217dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: NEXT: incorporate into an fzf workflow \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/kubeconfig/create.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44451024e7625b89a061ba48194d3dcfbe734c39c97b9f41fbfe50f98aacc01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Would it make sense to deprecate this flag in favor of a new flag like \u0060--feature-set=TechPreviewNoUpgrade\u0060 \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/install/install.go"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6cf855cdc50de19442ec66a433db5de22a2d85828e390f17c569ce328b1f83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dharaneeshvrd): Currently, resource group provided will be considered only for VPC and PowerVS. Need to look at utilizing a common resource group in future for CIS service too and use it while filtering the list \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/infra/powervs/create.go"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30eaa93a8e414556baf01363d7f2e8c37ca64335fb9e7508864961a4aff9ba3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The policies and secrets for these roles can be extracted from the \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/infra/aws/iam.go"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7d63211269b350825386f5841ed7ae1faaf4825c6f03c3cc7f16cbe586edfc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: inspect the error for throttling details? \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/infra/aws/route53.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca4579e7d7dbf61c6e063d3bc66c0c66933bbac78e9ecd0b4cd205b92fb629e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stephenfin): This is unnecessary given the information should already be in clouds.yaml. We should deprecate and remove it. \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/cluster/openstack/create.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4874c8413b24ddda7911df33be536871c484128aa737d1fa4af3371ef60bbaa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a very weird way to pass input in, would be best to have it explicit \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/cluster/kubevirt/create.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceeb6eb380861e99f36a76c876d4f747b6b352582b8d319453cfbc9bc26d297"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Filter out when HostedCluster support capabilities \u0026\u0026 CSISnapshot capability is disabled in the guest cluster. \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/cluster/dump/dump.go"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"23137c6efba243049c317962af18f4e09bf103973ed8b9c25f20be41830ff1ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxcao13): move this to the management cluster dump once we do Karpenter API namespacing work. \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/cluster/dump/dump.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"07983bfbe1a80dae098f3bdd10eb40d413d3a8ac4787ffba5460f2b5d35ff557"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drop support for this flag, it\u0027s really muddying the waters for the CLI \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/cluster/aws/create.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7815855162a7351979ad2b52cba86a81fd6edea5ae00e128c7c217d2e3297205"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jparrill): Refactor this to use a \u0027forward\u0027 instead of a \u0027backward\u0027 logic flow \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/cluster/agent/create.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a0be9028b88a614a5b387307f8601c718052474c437019f5904f3fa70b8397"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dan): should this be named AWSNetworkConfig? \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":"api/hypershift/v1beta1/aws.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81413fa4763a7e30e0197174fae9f8f5060c6bedd6857f0195e99831cd4fdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What is the valid character set for this field? What about minimum and maximum lengths? \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":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21846631b6624abc65bd7d89fdeb3ee74e09559b4faa545603fbdc775c17a55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What is the valid character set for this field? What about minimum and maximum lengths? \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":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d816eed4bfafc5b564587577a20b2a8608a6ae45010a67cc872e8c26ce6bb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can we explain where a user might find this value, or provide an example of one they might want to use \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":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e9abd7240c0a7ad5d1bdaae514fd185da36d72d8b5a33267ac341490eb08d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What about length limits? \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":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf186c0e16f2f690427f4ae6ef0f9bc5d38b13ff1604f8d07c0c1ce9380f6ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Are there other encryption related options we may want to expose, should this be in a struct as well? \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":"api/hypershift/v1beta1/azure.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"76561f98a02d9aed757a6ae5661d67bc68a2a7006f402c22ab5b05c2a791474d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: key/value validations break cost budget for \u003C=4.17. We should figure why and enable it 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":"api/hypershift/v1beta1/hosted_controlplane.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da87a6630c2b74b82802b3707bcda46686e05da58910225493b51b918dcbfa7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: key/value validations break cost budget for \u003C=4.17. We should figure why and enable it 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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b8a7eca0d882ef7d69d81e3fa9a52aa07983f3e0578f335f38a941fe23cc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the validation that requires the Ingress capability to be disabled only when Console is also disabled, once OCPBUGS-58422 is resolved by the console team"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb7adeb654a3726a397ded178943a589c05f3c200cf75adc6fcccf963fea09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Consider the backend to use the default channel by default. Default channel will contain stable updates that are appropriate for production clusters. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"206a61dde0106758e0db09c17829a6efc1fee206960a884394e8b450540ac54a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): this breaks the cost budget for \u003C 4.17. We should figure why and enable it back. And If not fixable, consider imposing a minimum version on the management cluster. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"123ed4e9885cc8f574cc924d8b7d709ebd8d7e21bb3dce4bb8b6b28a3905022d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Signal this in a condition. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d78b0b0b9acdeef2f8df0524d3666d1685fdef864ae22d92cb0b74154a1be7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Signal this in a condition. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3382bfdfbbfadb77987d4bff86c221365830d699373dc46ff29ee4ec164425ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Signal this in a condition. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c78f19d8a4d30c68de874cd3d273df5cc2ed411ffd7f1163d24d9bc9c71c1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Signal this in a condition. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce38da98a20a88d88d80341a9ca4b0dd43b66e4ccd039ece03ea95e2b3c8f84c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): have our own local reference type to include our opinions and avoid transparent changes. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f489143c4b9d57ee4f0efa15f8bbbbcbd7b92598980342b560b2b3cfb96a44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): add additional validation for the map key/values. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0faefd6fbe0c27046840c5d95bec0170a0b180f1d240d092e7f48c0717074b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is available in vanilla kube from 1.31 API servers and in Openshift from 4.16. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"95524a2fe47319133034416c6459a7f560b19e7fedff2ee9023451875d587e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): Use CEL cidr library for all these validation when all management clusters are \u003E= 1.31. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fe46d34634f927aa4059efb5a3f1bb1504a8f16197e167a98687b4a46a5735"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alberto): This shouldn\u0027t really be a pointer. There\u0027s no real different semantic for nil and empty string. Revisit all pointer vs non-pointer choices. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"81939d32ee7c7e6cbc699d15c907979e87e018972fedc417dacbcfddaee8c9bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (csrwng): Add validation here to exclude changes that conflict with networking settings in the HostedCluster.Spec.Networking field. \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":"api/hypershift/v1beta1/hostedcluster_types.go"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e224537fa2b7c7b75265b3de36c5532052f71539317e953d2a0f901ffd3c1b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - for the next API bump; the case on these needs to be changed. \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":"api/hypershift/v1beta1/nodepool_types.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc94c91e3f17f08a308ceb886f740a5f987a43b93ca60c7a8d1eabd5f5892c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is set as optional to prevent validation from failing due to a limitation on client side validation with open API machinery: \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":"api/hypershift/v1beta1/nodepool_types.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eeeab51c539fb5ad558c1ae0061d4c690a2fb557bbe69aef2bf78c747a04de"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060ignition-server\u0060 is a command package (\u0060package main\u0060 in module \u0060github.com/openshift/hypershift\u0060) and neither \u0060ignition-server/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7deefc2ce5f39dd24efc89b612dece88eba48d3f21fcffaf51ea53a6f7666c3"}},{"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 17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DirectKubeApiServiceAccess\u0060 spells \u0060Api\u0060 where 178 names in the project spell it \u0060API\u0060: 178 of 181 names in project github.com/openshift/hypershift spell the token \u0060API\u0060 (178 of 181; unit: names in project github.com/openshift/hypershift containing \u0060API\u0060). Peers: availabilityprober.isAPIInAPIs (availability-prober/availability_prober.go:268); RawCreateOptions.SkipAPIBudgetVerification (cmd/cluster/core/create.go:234); RawCreateOptions.KubeAPIServerDNSName (cmd/cluster/core/create.go:242); core.GetAPIServerAddressByNode (cmd/cluster/core/create.go:779); core.isTransientAPIError (cmd/cluster/core/create.go:932). Rename to \u0060DirectKubeAPIServiceAccess\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1a265d3fc4247dd9f904bd03d9eb456a6c71b86273017bbd667301cc72513c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DrOidcIamOptions\u0060 spells \u0060Iam\u0060 where 44 names in the project spell it \u0060IAM\u0060: 44 of 46 names in project github.com/openshift/hypershift spell the token \u0060IAM\u0060 (44 of 46; unit: names in project github.com/openshift/hypershift containing \u0060IAM\u0060). Peers: aws.CreateIAMOptions (cmd/cluster/aws/create.go:609); AWSPlatformDestroyOptions.PreserveIAM (cmd/cluster/core/destroy.go:67); github.com/openshift/hypershift/cmd/infra/aws.CreateIAMOptions (cmd/infra/aws/create_iam.go:30); CreateIAMOptions.additionalIAMTags (cmd/infra/aws/create_iam.go:49); github.com/openshift/hypershift/cmd/infra/aws.CreateIAMOutput (cmd/infra/aws/create_iam.go:62). Rename to \u0060DrOidcIAMOptions\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a916269964e18872778a9c5c44cac55cce6d1e0bb4658830fc75dbbd9ceb83"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060NewDrOidcIamCommand\u0060 spells \u0060Iam\u0060 where 44 names in the project spell it \u0060IAM\u0060: 44 of 46 names in project github.com/openshift/hypershift spell the token \u0060IAM\u0060 (44 of 46; unit: names in project github.com/openshift/hypershift containing \u0060IAM\u0060). Peers: aws.CreateIAMOptions (cmd/cluster/aws/create.go:609); AWSPlatformDestroyOptions.PreserveIAM (cmd/cluster/core/destroy.go:67); github.com/openshift/hypershift/cmd/infra/aws.CreateIAMOptions (cmd/infra/aws/create_iam.go:30); CreateIAMOptions.additionalIAMTags (cmd/infra/aws/create_iam.go:49); github.com/openshift/hypershift/cmd/infra/aws.CreateIAMOutput (cmd/infra/aws/create_iam.go:62). Rename to \u0060NewDrOidcIAMCommand\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fix/dr_oidc_iam.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8d33821099e9e5210648daabf2a879b01be68ba439591f9919c7e3e14269fc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AccessKeyId\u0060 spells \u0060Id\u0060 where 425 names in the project spell it \u0060ID\u0060: 425 of 430 names in project github.com/openshift/hypershift spell the token \u0060ID\u0060 (425 of 430; unit: names in project github.com/openshift/hypershift containing \u0060ID\u0060). Peers: CreateBastionOpts.InfraID (cmd/bastion/aws/create.go:37); aws.ensureBastionSecurityGroup(infraID) (cmd/bastion/aws/create.go:213); aws.existingSecurityGroup(infraID) (cmd/bastion/aws/create.go:328); aws.existingVPC(infraID) (cmd/bastion/aws/create.go:351); aws.ensureBastionKeyPair(infraID) (cmd/bastion/aws/create.go:376). Rename to \u0060AccessKeyID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/util/sts.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aaea1b0e6407fca6110eceff4e8a69134fb50bfd051eb15b606075a6760d7e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060VPCCidr\u0060 spells \u0060Cidr\u0060 where 27 names in the project spell it \u0060CIDR\u0060: 27 of 28 names in project github.com/openshift/hypershift spell the token \u0060CIDR\u0060 (27 of 28; unit: names in project github.com/openshift/hypershift containing \u0060CIDR\u0060). Peers: RawCreateOptions.ServiceCIDR (cmd/cluster/core/create.go:222); RawCreateOptions.ClusterCIDR (cmd/cluster/core/create.go:223); RawCreateOptions.MachineCIDR (cmd/cluster/core/create.go:224); powervs.defaultCIDRBlock (cmd/cluster/powervs/create.go:26); CreateInfraOutput.MachineCIDR (cmd/infra/aws/create.go:70). Rename to \u0060VPCCIDR\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/gcp/create_infra.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae492e39860972522d35445b8a160a6f9f37ce101dd15c88368ccb671303b79"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060cloudApiKey\u0060 spells \u0060Api\u0060 where 178 names in the project spell it \u0060API\u0060: 178 of 181 names in project github.com/openshift/hypershift spell the token \u0060API\u0060 (178 of 181; unit: names in project github.com/openshift/hypershift containing \u0060API\u0060). Peers: availabilityprober.isAPIInAPIs (availability-prober/availability_prober.go:268); RawCreateOptions.SkipAPIBudgetVerification (cmd/cluster/core/create.go:234); RawCreateOptions.KubeAPIServerDNSName (cmd/cluster/core/create.go:242); core.GetAPIServerAddressByNode (cmd/cluster/core/create.go:779); core.isTransientAPIError (cmd/cluster/core/create.go:932). Rename to \u0060cloudAPIKey\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"166237425f5af2fd9adf7052125b5735a3c2da69064bdaf43c364d9c6e2266d2"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060resourceId\u0060 spells \u0060Id\u0060 where 425 names in the project spell it \u0060ID\u0060: 425 of 430 names in project github.com/openshift/hypershift spell the token \u0060ID\u0060 (425 of 430; unit: names in project github.com/openshift/hypershift containing \u0060ID\u0060). Peers: CreateBastionOpts.InfraID (cmd/bastion/aws/create.go:37); aws.ensureBastionSecurityGroup(infraID) (cmd/bastion/aws/create.go:213); aws.existingSecurityGroup(infraID) (cmd/bastion/aws/create.go:328); aws.existingVPC(infraID) (cmd/bastion/aws/create.go:351); aws.ensureBastionKeyPair(infraID) (cmd/bastion/aws/create.go:376). Rename to \u0060resourceID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc8593de126731349416b6db25283baee03912fdc159aef5529fd40d60e0ea"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060vpcLbNamePrefix\u0060 spells \u0060Lb\u0060 where 13 names in the project spell it \u0060LB\u0060: 13 of 14 names in project github.com/openshift/hypershift spell the token \u0060LB\u0060 (13 of 14; unit: names in project github.com/openshift/hypershift containing \u0060LB\u0060). Peers: CreateInfraOptions.createDNSAndLBResources (cmd/infra/azure/create.go:308); NetworkManager.CreatePublicIPAddressForLB (cmd/infra/azure/networking.go:765); powervs.destroyVpcLB (cmd/infra/powervs/destroy.go:609); resources.netLBFinalizerV2 (control-plane-operator/hostedclusterconfigoperator/controllers/resources/gcp_lb_service_annotations.go:21); resources.netLBFinalizerV3 (control-plane-operator/hostedclusterconfigoperator/controllers/resources/gcp_lb_service_annotations.go:22). Rename to \u0060vpcLBNamePrefix\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/destroy.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5153247290598bb1586dd63ffb217645d01123147dd1d8535883b60b9539659"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TxtOwnerId\u0060 spells \u0060Id\u0060 where 425 names in the project spell it \u0060ID\u0060: 425 of 430 names in project github.com/openshift/hypershift spell the token \u0060ID\u0060 (425 of 430; unit: names in project github.com/openshift/hypershift containing \u0060ID\u0060). Peers: CreateBastionOpts.InfraID (cmd/bastion/aws/create.go:37); aws.ensureBastionSecurityGroup(infraID) (cmd/bastion/aws/create.go:213); aws.existingSecurityGroup(infraID) (cmd/bastion/aws/create.go:328); aws.existingVPC(infraID) (cmd/bastion/aws/create.go:351); aws.ensureBastionKeyPair(infraID) (cmd/bastion/aws/create.go:376). Rename to \u0060TxtOwnerID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/assets/hypershift_operator.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a580ca124fff49b5a507e8e16ced2e5065d117e0a66ecfc6f573fbf868f79a9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ExternalDNSTxtOwnerId\u0060 spells \u0060Id\u0060 where 425 names in the project spell it \u0060ID\u0060: 425 of 430 names in project github.com/openshift/hypershift spell the token \u0060ID\u0060 (425 of 430; unit: names in project github.com/openshift/hypershift containing \u0060ID\u0060). Peers: CreateBastionOpts.InfraID (cmd/bastion/aws/create.go:37); aws.ensureBastionSecurityGroup(infraID) (cmd/bastion/aws/create.go:213); aws.existingSecurityGroup(infraID) (cmd/bastion/aws/create.go:328); aws.existingVPC(infraID) (cmd/bastion/aws/create.go:351); aws.ensureBastionKeyPair(infraID) (cmd/bastion/aws/create.go:376). Rename to \u0060ExternalDNSTxtOwnerID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6741e5533acd61a801d33241831373ecf1742b01e3cf8efc4e4538be82815e32"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SLOsAlerts\u0060 spells \u0060Os\u0060 where 12 names in the project spell it \u0060OS\u0060: 12 of 13 names in project github.com/openshift/hypershift spell the token \u0060OS\u0060 (12 of 13; unit: names in project github.com/openshift/hypershift containing \u0060OS\u0060). Peers: AzurePlatformCreateOptions.EnableEphemeralOSDisk (cmd/nodepool/azure/create.go:28); util.EnableEphemeralOSDiskDescription (cmd/util/azure_flag_descriptions.go:61); nodepool.validateOSImageStream (hypershift-operator/controllers/nodepool/osstream.go:118); nodepool.TokenSecretOSStreamKey (hypershift-operator/controllers/nodepool/token.go:48); nodepool.rhcosOSImageRe (hypershift-operator/controllers/nodepool/version.go:105). Rename to \u0060SLOSAlerts\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/install/install.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8bb71f802ff6e5d461dfbd4e05747d73891a1944c60f9139852339f9d70410"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060reconcileAROPrivateRouterService\u0060 spells \u0060ARO\u0060 where 12 names in the project spell it \u0060Aro\u0060: 12 of 13 names in project github.com/openshift/hypershift spell the token \u0060Aro\u0060 (12 of 13; unit: names in project github.com/openshift/hypershift containing \u0060Aro\u0060). Peers: azure.isAroHCP (control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/component.go:92); cno.isAroHCP (control-plane-operator/controllers/hostedcontrolplane/v2/cno/component.go:79); ingressoperator.isAroHCP (control-plane-operator/controllers/hostedcontrolplane/v2/ingressoperator/component.go:89); registryoperator.isAroHCP (control-plane-operator/controllers/hostedcontrolplane/v2/registryoperator/component.go:66); storage.isAroHCP (control-plane-operator/controllers/hostedcontrolplane/v2/storage/component.go:116). Rename to \u0060reconcileAroPrivateRouterService\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9dce0b9df566aff9c71162fd1b364fbfd4d11b013167ff0f9018acce53053e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isManagedETCD\u0060 spells \u0060ETCD\u0060 where 70 names in the project spell it \u0060Etcd\u0060: 70 of 72 names in project github.com/openshift/hypershift spell the token \u0060Etcd\u0060 (70 of 72; unit: names in project github.com/openshift/hypershift containing \u0060Etcd\u0060). Peers: core.applyEtcdConfig (cmd/cluster/core/create.go:488); core.defaultEtcdShardReplicas (cmd/cluster/core/etcd_shards.go:22); core.maxEtcdShardNameLength (cmd/cluster/core/etcd_shards.go:28); core.maxEtcdShardResources (cmd/cluster/core/etcd_shards.go:32); core.parseEtcdShards (cmd/cluster/core/etcd_shards.go:49). Rename to \u0060isManagedEtcd\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/etcd/component.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"402e7f53166ec15b09caa13e81ba4a4ac8a8581bd3705db18697523aa41e2d44"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ReconcileApiUsageRule\u0060 spells \u0060Api\u0060 where 178 names in the project spell it \u0060API\u0060: 178 of 181 names in project github.com/openshift/hypershift spell the token \u0060API\u0060 (178 of 181; unit: names in project github.com/openshift/hypershift containing \u0060API\u0060). Peers: availabilityprober.isAPIInAPIs (availability-prober/availability_prober.go:268); RawCreateOptions.SkipAPIBudgetVerification (cmd/cluster/core/create.go:234); RawCreateOptions.KubeAPIServerDNSName (cmd/cluster/core/create.go:242); core.GetAPIServerAddressByNode (cmd/cluster/core/create.go:779); core.isTransientAPIError (cmd/cluster/core/create.go:932). Rename to \u0060ReconcileAPIUsageRule\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/alerts/reconcile.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc4394d2c2fdd6d0bed22eae7ef6c3373de0d050857090d1fbf66d27dffcb65"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GlobalPullSecretDSName\u0060 spells \u0060DS\u0060 where 34 names in the project spell it \u0060Ds\u0060: 34 of 36 names in project github.com/openshift/hypershift spell the token \u0060Ds\u0060 (34 of 36; unit: names in project github.com/openshift/hypershift containing \u0060Ds\u0060). Peers: CreateInfraOptions.createProxyResources(publicSubnetIDs) (cmd/infra/aws/create.go:416); CreateInfraOptions.shareSubnets(publicSubnetIDs) (cmd/infra/aws/create.go:613); CreateInfraOptions.CreatePublicRouteTable(subnetIDs) (cmd/infra/aws/ec2.go:480); install.crdIncludeFilter(existingIPAMCRDs) (cmd/install/install.go:993); install.setupCRDs (cmd/install/install.go:1054). Rename to \u0060GlobalPullSecretDsName\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/manifests/pullsecret.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdfec6175c9cc2ee17cdb41676d63bb3f3005ad7f959a5f9c9373d84bf17399"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060reconcileETCDMemberRecovery\u0060 spells \u0060ETCD\u0060 where 70 names in the project spell it \u0060Etcd\u0060: 70 of 72 names in project github.com/openshift/hypershift spell the token \u0060Etcd\u0060 (70 of 72; unit: names in project github.com/openshift/hypershift containing \u0060Etcd\u0060). Peers: core.applyEtcdConfig (cmd/cluster/core/create.go:488); core.defaultEtcdShardReplicas (cmd/cluster/core/etcd_shards.go:22); core.maxEtcdShardNameLength (cmd/cluster/core/etcd_shards.go:28); core.maxEtcdShardResources (cmd/cluster/core/etcd_shards.go:32); core.parseEtcdShards (cmd/cluster/core/etcd_shards.go:49). Rename to \u0060reconcileEtcdMemberRecovery\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/etcd_recovery.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ede8c24aa8a0c8051424230d58bbef16001b162083f7b2de0d2a57de0ac9c8"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060newHttpDialer\u0060 spells \u0060Http\u0060 where 13 names in the project spell it \u0060HTTP\u0060: 13 of 14 names in project github.com/openshift/hypershift spell the token \u0060HTTP\u0060 (13 of 14; unit: names in project github.com/openshift/hypershift containing \u0060HTTP\u0060). Peers: DiagnosticsOptions.serialHTTPClient (cmd/consolelogs/azure/getlogs.go:70); oauth.externalHTTPRequestTimeout (control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go:46); oauth.externalHTTPRequestTimeout (control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go:46); resolverHandler.ServeHTTP (control-plane-operator/endpoint-resolver/server.go:45); ProxyHandler.ServeHTTP (control-plane-operator/metrics-proxy/proxy.go:36). Rename to \u0060newHTTPDialer\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20bf1484bfe562f0b729b957106349b1c5bef308de8696f61791e0e60357e53"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ClassicElbAttributes\u0060 spells \u0060Elb\u0060 where 21 names in the project spell it \u0060ELB\u0060: 21 of 22 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060ELB\u0060 (21 of 22; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060ELB\u0060). Peers: NetworkStatus.APIServerELB (pkg/capi/aws/api/v1beta1/network_types.go:31); sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta1.ClassicELBScheme (pkg/capi/aws/api/v1beta1/network_types.go:35); v1beta1.ClassicELBSchemeInternetFacing (pkg/capi/aws/api/v1beta1/network_types.go:40); v1beta1.ClassicELBSchemeInternal (pkg/capi/aws/api/v1beta1/network_types.go:44); v1beta1.ClassicELBSchemeIncorrectInternetFacing (pkg/capi/aws/api/v1beta1/network_types.go:47). Rename to \u0060ClassicELBAttributes\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta2/network_types.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca76d284d31c440c6a7f5ec0efa2c75cc317d4f2e3630a92b64b27b4985c2d18"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GlobalPullSecretDSName\u0060 spells \u0060DS\u0060 where 34 names in the project spell it \u0060Ds\u0060: 34 of 36 names in project github.com/openshift/hypershift spell the token \u0060Ds\u0060 (34 of 36; unit: names in project github.com/openshift/hypershift containing \u0060Ds\u0060). Peers: CreateInfraOptions.createProxyResources(publicSubnetIDs) (cmd/infra/aws/create.go:416); CreateInfraOptions.shareSubnets(publicSubnetIDs) (cmd/infra/aws/create.go:613); CreateInfraOptions.CreatePublicRouteTable(subnetIDs) (cmd/infra/aws/ec2.go:480); install.crdIncludeFilter(existingIPAMCRDs) (cmd/install/install.go:993); install.setupCRDs (cmd/install/install.go:1054). Rename to \u0060GlobalPullSecretDsName\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/manifests/hcco/pullsecret.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6506dcc32674d570a9eb3cddd4461816772ade34a91040deea6567d797003d1c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetSecurityGroupById\u0060 spells \u0060Id\u0060 where 425 names in the project spell it \u0060ID\u0060: 425 of 430 names in project github.com/openshift/hypershift spell the token \u0060ID\u0060 (425 of 430; unit: names in project github.com/openshift/hypershift containing \u0060ID\u0060). Peers: CreateBastionOpts.InfraID (cmd/bastion/aws/create.go:37); aws.ensureBastionSecurityGroup(infraID) (cmd/bastion/aws/create.go:213); aws.existingSecurityGroup(infraID) (cmd/bastion/aws/create.go:328); aws.existingVPC(infraID) (cmd/bastion/aws/create.go:351); aws.ensureBastionKeyPair(infraID) (cmd/bastion/aws/create.go:376). Rename to \u0060GetSecurityGroupByID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/sg.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9955e8da110c22e3e0afebbdcebe2c5b9c5ca2643fb0beacaa9b4a4b6c98da8d"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060CreateInfraOptions.Output\u0060 takes no context.Context; its 13 sibling operations take one: 13 of 14 fallible operations of \u0060CreateInfraOptions\u0060 take a \u0060ctx context.Context\u0060 (13 of 14). Siblings: CreateInfraOptions.Run (cmd/infra/aws/create.go:154); CreateInfraOptions.CreateInfra (cmd/infra/aws/create.go:193); CreateInfraOptions.CreateVPCS3Endpoint (cmd/infra/aws/ec2.go:126); CreateInfraOptions.CreateDHCPOptions (cmd/infra/aws/ec2.go:166); CreateInfraOptions.CreatePrivateSubnet (cmd/infra/aws/ec2.go:221). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"985a29b9a3db6867e6e5417793e2201552396bf5dc26f9e6d4ff9b6824d3e7b7"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060CreateIAMOptions.Output\u0060 takes no context.Context; its 9 sibling operations take one: 9 of 10 fallible operations of \u0060CreateIAMOptions\u0060 take a \u0060ctx context.Context\u0060 (9 of 10). Siblings: CreateIAMOptions.Run (cmd/infra/aws/create_iam.go:139); CreateIAMOptions.CreateIAM (cmd/infra/aws/create_iam.go:177); CreateIAMOptions.CreateOIDCResources (cmd/infra/aws/iam.go:859); CreateIAMOptions.CreateOIDCProvider (cmd/infra/aws/iam.go:981); CreateIAMOptions.CreateOIDCRole (cmd/infra/aws/iam.go:1026). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/create_iam.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb6364c33b9bc592f2436ad0aa1f337b2db18ff3d4ead0ea0d85560b7e7e293"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060util.DefaultGCPMachineType\u0060 signals absence with a bare \u0060T\u0060 (the zero value when absent) where its 4 sibling single-key reads use \u0060(T, error)\u0060 (an error when absent): 4 of 5 single-key reads of \u0060package util\u0060 return \u0060(T, error)\u0060 (an error when absent) (4 of 5). Siblings: util.ReadCredentials (cmd/util/azure.go:50); util.GetConfigWithKubeconfig (cmd/util/client.go:137); util.GetClientWithKubeconfig (cmd/util/client.go:158); util.GetKubernetesClientSetWithKubeconfig (cmd/util/client.go:174). Return \u0060(T, error)\u0060 (an error when absent) like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/gcp.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6917a5dfa3ae7b5797c69f23107d12408c1acba6a5709ff7ae9cc10f61886a"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060HostedControlPlaneReconciler.SetupWithManager\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060HostedControlPlaneReconciler\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: HostedControlPlaneReconciler.Reconcile (control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:741); HostedControlPlaneReconciler.LookupReleaseImage (control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:1307); HostedControlPlaneReconciler.GetGuestClusterClient (control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go:3902). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc26f4b3a40ed888da3f7eabe25bad07fea51b87d617cc2c83e0fa4e3553dc9f"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060nodepool.GetRHELStream\u0060 takes no context.Context; its 5 sibling operations take one: 5 of 6 fallible operations of \u0060package nodepool\u0060 take a \u0060ctx context.Context\u0060 (5 of 6). Siblings: nodepool.NewConfigGenerator (hypershift-operator/controllers/nodepool/config.go:104); nodepool.GetHostedClusterByName (hypershift-operator/controllers/nodepool/nodepool_controller.go:1084); nodepool.BuildMirrorConfigs (hypershift-operator/controllers/nodepool/nto.go:420); nodepool.GetRHELStreamForBootImage (hypershift-operator/controllers/nodepool/osstream.go:92); nodepool.NewToken (hypershift-operator/controllers/nodepool/token.go:100). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/stream.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1aad9252766bce6763489cca05fc7b6ce7ed870a02c035697fd00e39a34c5"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060webhookcerts.GenerateInitialWebhookCerts\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060package webhookcerts\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: webhookcerts.EnsureWebhookCerts (hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:350); webhookcerts.EnsureLegacyServiceCAMigration (hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:412); webhookcerts.EnsureCRDConversionWebhookCABundles (hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go:547). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"891602e4164582bf698ae58145a4bb786fc4022ff6fbacf34b1770267b0404e0"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Subnets.ToMap\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060Subnets\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: Subnets.IDs (pkg/capi/aws/api/v1beta2/network_types.go:759); Subnets.IDsWithEdge (pkg/capi/aws/api/v1beta2/network_types.go:775); Subnets.GetUniqueZones (pkg/capi/aws/api/v1beta2/network_types.go:863). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/capi/aws/api/v1beta2/network_types.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bb17ba7c44476c87b479ad1491b9c10c9d6abf6fd332ecee8fc16df2fe96bb"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060etcdcli.IsClusterHealthy\u0060 types \u0060memberHealth\u0060 as \u0060memberHealth\u0060 where 4 sibling members type it \u0060[]healthCheck\u0060: 4 of 5 members of \u0060package etcdcli\u0060 that take \u0060memberHealth\u0060 type it \u0060[]healthCheck\u0060 (4 of 5). Siblings: etcdcli.GetUnhealthyMemberNames (pkg/etcdcli/health.go:198); etcdcli.GetHealthyMemberNames (pkg/etcdcli/health.go:209); etcdcli.GetUnstartedMemberNames (pkg/etcdcli/health.go:220); etcdcli.IsQuorumFaultTolerant (pkg/etcdcli/health.go:237). Type \u0060memberHealth\u0060 as \u0060[]healthCheck\u0060. [rule A8]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/etcdcli/health.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f017ac53e70e2e51a0bb9fb21407a9c39a858ce62b14eab565bdcdd3b75630c"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060awsutil.EC2TagsToMap\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060package awsutil\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: awsutil.DefaultWorkerSGIngressRules (support/awsutil/sg.go:23); awsutil.VPCEndpointSecurityGroupRules (support/awsutil/sg.go:181); awsutil.MapToEC2Tags (support/awsutil/sg.go:264). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/awsutil/sg.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8784e363c51d95a97b98b51df1f072e50acffcbaca5057418b83222a0816194"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (153265 LoC, 947 module-visible types across 364 directories) overshoots its size bounds. 4 of 21 build unit(s) (Go, Python) overshoot their size bounds, lowering Project Cohesion to 6.2/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":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060api\u0060 (12181 LoC, 391 module-visible types across 13 directories) overshoots its size bounds. 4 of 21 build unit(s) (Go, Python) overshoot their size bounds, lowering Project Cohesion to 6.2/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":"api/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc719c61a533b85222c363c1cdcf5e4c272126c5aeb01b535e8fddfd075cc10b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060hack/tools\u0060 (6877 LoC, 25 module-visible types across 21 directories) overshoots its size bounds. 4 of 21 build unit(s) (Go, Python) overshoot their size bounds, lowering Project Cohesion to 6.2/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":"hack/tools/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e9474b0b049a7be8ee604a134eee69395274703ff79088594d163b5975d3d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060pkg/capi/aws\u0060 (6406 LoC, 240 module-visible types across 4 directories) overshoots its size bounds. 4 of 21 build unit(s) (Go, Python) overshoot their size bounds, lowering Project Cohesion to 6.2/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":"pkg/capi/aws/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e433b9b6a9e186258761e7dff388a663c921090f204f143a79229754825fe7"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c02615abbaf6160686531fba61a4fc679ea33f4c95b3bcd296f610b5006832b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8776b91a04e9eef51e0552592db8ca4dc8ade13405f7b79eb1e6f48020c9b590"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b29675f853745b90c844b98af17395501a66c7bd140482616a2993f30cec019d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6cbde0f559c23ebddf1438b8a1c7e9c3fa560619eb296ae4e4ca9af5a254773"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"c6cc5d60d446d03ce22e8449372019f0d52bf0f1fd121f6c6597ddc061740a25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6154e0e56fecc0e3928e4c641dd8911f30ae843e9e0b9305590df081cb69b393"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"c98c9faa9adb8b17561539d14bba0d6092f2cc03c17bd1e7269a1c9d1229e7e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7abadbfb46b7a6558fde0f8a668dd3a6ae6e1a0f31b6a35a63c0d7bef146a4a7"},"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":"7e9723ac364abfbd7c147272cce2cc6163c4ea9641b1890a893c11aa9f58f20f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fef7c6be2c13f789ecd4a991842f7054699be3ea13defc9cf39f021fca2cb4b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1da0b7a992b3a946602e3cf766a8f88560117dbfb9611337a11004ddba518235"},"taxa":[{"id":"CWE-807","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"}}]},{"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":"013080850636eb1c3c659283cf31bc15c6f42f756becb93f6ddf68e494118574"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"857960d2d50ac4f03fdeeb5ac542c65536e132c6101553dd426df94aa616750b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba4c191ae46aecea76b7aefa904e6a6a9697e0c47861674a106010fe0acce4e6"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"6bebbd9cadeb4d4b8fc6ebf1b622f270b92c796cb68336e67b01dd6110c4bc9b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8834de2190487b5938909afa1f16a568a97863a92f72bf83f2c4a89578e94029"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d9d1cabb5c545b7c72454a505ebf9385d3d24afa956ccc046f1eda26c90661e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29b9ce7ff4b40ed975f858f7c3e316c0490e6fe3bef475863dd79fab1d1250e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7370995910ed152342ee3e39f0f96a1fa4ea7f156ff590a6ad9d1100e236705"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"153598f06178b23291714511efc06b56de60eaedccb7dca7843fc0f39f15e05b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"725f708217703e9000464d4ce3a3ff72aafbecb71c85a5716181fe1a9069cb35"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c57e8d904dda2c164a216aae68371c4ae32046a8ef20b1663828fcff00eebc8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68ef8a59ab4255dc31945dc62ad664c2a5f2cf6cf8ce2ac16572413c1b433dd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbb82f75533ce7dffd7e3cadf495fbdcb3c181d2b168bb502f173ce5bb1da9aa"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36f7f34e785589bb92729f7d23826359e44439fdc905302e2ed756fe16adf6e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c2912d3b08d4c0b537bfba5b38a071a878c547d3ec6a4a03ce67ec6a0ceb97a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"e70199f399a3d8f4f0d7fb970874d6b52c9013903666c5b91e72595ab866ceb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b0ed750f8b5a0d2823695e22ec10ce958a9298dfb72f49704d110262909cba7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b7af342bea5bb2f18f5904cb35bdcec67b6b08b74c030e30f5a7c0281296583"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcd670c5a3ca06a80fbd66239fc6b6d036a213ab932ddef3f341b2fa378968b4"},"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":"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":"a89c3bfb47426773a7d8a9639a3f35976ee323fe628358083b17fd43c7c94692"},"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":"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":"92e879c7c5d38d4b68e517739d7612aab61bd58fbbdd03c8c4ad390523b93e3e"},"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":"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":"8750074d2e20406a4b90093c70a4940c4512a95b88c1d3eed37c4040efe3573d"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e6a2e5fb2e852182a9fcd6b6e3ac40ce37392955e2dca8728dca43a88ff88fb"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"1d0a114f835d2b914129c08a477c16861a15b4248f91d12288682735ae4bc960"},"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":"38e7096002581985a3266dc41e1bc71a08e6c8341c546dd471b2d8c9df11c338"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ffda00b90701e2e4e8ed19fec7946cb41f69c86fbe5b69c21f2555620909404f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3cf6cab4e442c8994a989b97dc75b69c6cb705e4f2485a607502469095abcdba"},"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":"710175c0334d7df2381e0b253e071c2c6f22304e57a958a4e7b26181e258110b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"6cf61788816efde0a2394e16536c783aa878c7dbe6a47ece39dd77dba43948d6"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"db2d83a7814865f18d1ba22399f108be3b79d9bc2e22ea967ede9d227311664b"},"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":"5fd5c0e013dbb3c106842bc4e38c2a88c377df03783e26d224a467e709e36444"},"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":"e58baed50a5cd9a9c0bc4aa015cfd8b0e8384b61e97239f51e9e1af30c9fca8c"},"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":"39e25ab851f943d0a8b96063911ad8830994555e35e38a19f748c68d3bcf747e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"3fd93cd917f216cb72d84fcc72a88328183731f2b71f053c1ad4d87f2a83f678"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"82c9cffa19df7152f2797f86e9ecc48b053ccfaa7c7bfc9bc3407e70560a033b"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"03b513187afa2e29c524cc4ca8d5beb518e36ab1a4024f613f40232d88dbe345"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e0603062ea1e2bbded0c8bd7f2a659a5cf3b98699f68b78f63ca396307a7ac4e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d3d307068bb7e57c0ac5a14c6c32b527c92919576a09e457e2476bdc52229a4a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"ccccbeac1d4fa1274c182b8220faadecb51fe0c02fbf41d8fb709f04f9df610f"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"cf7b3559f525c10c9cf37d4a52d579e8ac7fe46a7dee6f932b9fe6919e027bba"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"28e8140a59d91416090f80bea9e3925205f29d2b75ab3cd01416b90c93165b05"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"06a6e258ad8cb93ceea21b8c3677846b727bd62423de5f54e2fbc890897e275e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9d09b9673494f5341ba7a84e96377f5c40eb885fbf0ee355ebda069f0fa866dc"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"4557991b3c50a9590f92652e5cbd9b045a45f88e663d6d23fa82edeb47094787"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"94896fefb4075364edda5c951c1171e4d1b31eec7e3a330a3b43faebd30b1265"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"0b4af14da5ee46eeaa0d822ee19b0a46c2df64da5237fdda9e8cacd13ddd9e7e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"df05f61583ac65ed546656dac8eb9db7c57eee019573f3fbd7e74ec1be510d67"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"21b1e228c2631b234785479640377ff7148030d259d70e241309f2b4b34523d1"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"2292e1567ee4ed04f42362c33ab10935feceed0139dbd3af4058ab054e4997b6"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"8006870a047870b2d873dfa19adc6013f894dac95b56ecd7d7f2479751aa71cb"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"a08532e525413a5e843c9a9563152b0de43631b81d54d3e60460c903f25bea1a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"477760dc3f88a12a54c929ffffe1b41a5be63156d31949976ac81ca13de998a2"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"1d80ad604d22a04a0c2f6539bc3c2fe679563cb214583d45d939147ac0712133"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"5aee82b72773a614f6d80cb7e83bd5d06b543963c9911dd982b2adb614ab00c9"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"58a7d19d06434f6ebeed08505ace49fe53b6e4810d84ced9981a4bfbfce0d4ec"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d51c1c676cbbdf23eb44221213edca59d3549aec99911d58a3c216824fee5db4"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"51ed7db74af76be307d1c23bd67d76247a8e734c094b12e7f9cadfe1f70dae7a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"5bffc8f41a5a50575a58fcd44625016bd5ca708fa2ddc7914bc11ca5bb49ed27"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"7071fc9d4568abfffad705480cdf1c2a20f2aeeb3f7a4c4801864698f7ba825b"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"08c2a45809ee1615d49653aab2652e24e7edb4f25ad9fb3179fe26eac92dc0ca"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"f8e52d337943ae241ec02b1067887536ff046c7a7ef58663f726cd6f2737864b"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"1cbefe552a039a0d6e1bba3e4c55f3651e89f568b83563ee3e465d12f3dde1a8"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"c03046436672cd7bc8795588b01f04821548d20bf61994e3341cd5ddb148e41e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d5e1ea16eefdd59483a063348cea2fa13307d3849d8f308034f1bbe8f91c297f"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"071e35578f8fd1e7b9b728c1eb70ebf873000accd4c672530e9ccbe5554fe078"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d6d16b1fa31b4e16ad2bf13644d01fcd7e075b497d2ee49cb696e4d450b4ccbb"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"ea7afa2a2f82bfcc01d2f53fb133ec4958bc11d98db5f663a382726248f0b5de"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"b04d6eeb3a86d08c2468da25d3d69a8f065cde8dff0b1808e4c0a242a83c7843"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"01757501a81a329c5644d410666446ffd4408190fd77ed071fc92b882b81a569"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"948748ce65be7028b84340b24526f220f83d23e2408562d91fcdea16e38d3ab3"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"155b5f44a2366a3275c0896b51a8dd2e386559cee0e22670836695662d1106bd"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"b4edf3659fa65907fa6f5f7f6ac7a66c243b89917a356969e0d0e92358f144cc"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"cb625c9029c21704e898812a7b303cac0599e285218f721625dc288eb3481d81"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"4ecb300ea7467b1cfc2dbf68001d5e69239f39c640ecc743b11b388f81db89b2"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"c0b9067e6c76be9746e44f9376c6ff97f0b66c6969a92681924f9ed85aa199d8"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"7288970e7f596bea44aaa7faec357c9fe29f452f707d75a02b9e8fbfbc92c0bf"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"928b3d19392dbf212e395b36cf6f8307a5ae3ae7f706c53e11b59ca447c07747"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"75a592c9a8b274102ac9c5505458b87fecc78376d5365274edc280120d056e39"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"490778ba2cee6e1f05ff7d46bc78a6ee042bebdbf87f4d8ea5046159b1b4c378"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e918b4ab6bcb38c3fb6dc16cbed2bc06a0c6d7efb686165f78cdf6cce82ca220"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"20ae12da3cc2998189275d5d08ee0fe053df2f31d7742d48f102e6cf12b0a503"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d5186a3c35302f35b786c2171b9b978fe3a010053ab2fd0cb44920f198a9fd5a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e58de4b92f4f15652f2137c11ac9163979234dd3c217eae4fec7a1e74051d50c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9696fcec86e516fa43837222d3388829bd398ccf449994249b490d5da28c2e4e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"571a1c8a7e71f71a65ab5901158b977e96317017c9b9e947bd222b5853505319"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"227e5eaa2f9ded980dc0b6af969c4a2966ef8ec2b708c477861442f52be315c4"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"b4907ffb2200cb3f3c7d58d0515d9e0a7cf17b17c477a355f0f1ca9574efb41d"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d4cd2602ab872fba90e60f29475a2816f94e89fceda3ade67c94dde150f8b752"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"aa11b0ce4f87ca8d6092c302a5d717997687a079a55e853a0d4bd99ebc459bab"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"3a4896dc6561291218a7d0b4ee49a925ebd7a8b6a6cac6d9b93b719d7c15eb27"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e68e44c6e2315d93c6d120c2acf9f2bf988e758581225d0a4d46f3bc9a039226"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"faa07deda5afc262a433f20db25d9f8861631dc5e307a2b88d16c8c61a0d4227"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"4ede566ca7cb25c6069a5c6c4ef60342d2cf41868e25c9e9029f91fdbeb9bd50"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"88aff950ccdc04a61863add09098d3bb11512e385d4bba0c07edbdd472e0312f"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"dea01287250f23b60f9cd5a31e3e63eefea74f0a5cce47236cb46544cd4c9871"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"93aabbf92ed967002344be296c9c596e0734b673b1f5c0b58ed31cddf598af39"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"dcbe009daf74a993f3a137e30aced400029aa2d2a01308890580e4d8aa93df53"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"c238157d81c0aaf8b546ecd51ce2402b69e83f6226ac5ce88b344ad0d57d31f7"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9585864c103a331e8b8a9cafe1eb8383a6c42864ecbfb13bbead1874bcf341c3"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"45ebbbe44bdd5f2ef97feecc8ac941d5c2a158fdb427f6a57ed816ccc32bd3b7"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9f56f23cfab9242e360d5af410439f4fbcab0846d7ad45e8d75d5a5430d84949"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"6c8de1de464b723547f9fa76d037dd05941faec3c96c0894caac886465901d7c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"35e95575557a0b8f5277026230eb6d77e9bab6d1c7c1165e10fadc1c2ff1fc3a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"79d13e4a80e19c21108cbe81499c35a8b016c1a105bb320956203336e3f18efc"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"ed16684e62400d58f5eb1162d55a7d706eaf28e9069a30c01bc1a48e735926e1"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e700cbe54ba34a246fc56d7ff6a642af37ed6f2d4d8ca7321cbf26f7a8239337"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"fe916c7bc6b362195c640bf75d4b348e39fbeb8829010d4cbdeb54ac187b7a0d"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"7415983ee5092938a924fce8bdc7979e276c7d2f913b93d93dae6d0690623efb"},"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":"e0e663ebbe474a731fb64b8c41863b199fb1738495bac925cdb80ee74d512c37"},"taxa":[{"id":"CWE-330","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":"a280a0ac113e8018c773bf91a951cfd2fb908def91b009c119044131ccd2a1ba"},"taxa":[{"id":"CWE-330","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":"423aa8e23937dc5bc9061de75bc4c0581872549866269f920aaeda0cab8950e9"},"taxa":[{"id":"CWE-330","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":"19cfd0d8805fe255c51ec3374d3fae298aa82b4308af53244fd6291fa8804cf9"},"taxa":[{"id":"CWE-330","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":"dc6ff6cb4b9fdc1659019f928f6cff34980d3828c08fcdeb1568b1a2d99f537a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"bfbcbb08414fa7f463ea588c9e3ba3f7e61f15daef3898b71395a5a1cde78cf3"},"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":"0d048f84c80da8cf7d28ebc91765256813f2fa92dba3fd75042e9b04bdb17bad"},"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":"85fffdf1343ea96856fd000a91b8d9c4cc01ab459f862f878b60bddf167ba3dd"},"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":"4174b3f05540c31ce15025a6865291e7183e2fc6c17f15d1170ebbbd85104720"},"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":"e13d18d2c3e15e99c8d0c45f75c31a77f118c0133a956ed311eb94a4d99f0a0b"},"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":"56e3c648c24427f10d3c3b00a02c34639e4ab99ee6429e337a14667bbc7ec97b"},"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":"b86f7cc5709b86aa31e92c366bc4dad1374395e066395542cbdec3c46198cd8f"},"taxa":[{"id":"CWE-319","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":"b4e4aac66f62ce07cb0d9bd77c754741c95abcd1910cd10617e4652f2baf7f71"},"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":"96fd060e7fdb5591166a062a303787b6eae048d50c48e2d37e7b99fe5341f291"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"c5ca60a814f0b6466380c662bd2425212de90c09fca56a26682d44a1ea3da63b"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9e30a1c9f4789419acb807778216e77f0d8260f889e50a68851488606f23907f"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"aeb69c8a6bb1b5da89f344baec35748a76589814ef3764989ca32053adc5f98d"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"beb9830566df8a2674647e90933542ca1cdf9320a6835ee2ddf2542b3ecefa50"},"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":"6b0038873f73b79d224fbd0ee4d71bf8ab55ae49fba00a04b6578b75bcb4ca95"},"taxa":[{"id":"CWE-322","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":"9ddc250205710cc7f1c0f240ca5076c04d0c049dce1bef8645980a423afe8efe"},"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":"d3e5e0674ef9aae1cf0608609418d53a0a779cd17d9f24c60914197ccc194826"},"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":"c2c5c6c46d9abe8257bd6a9cf9ab842a6fdaacf4d514dfb582a30083e152db7c"},"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":"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":"d6fe0c47176811fe05c22c8bda59ae302db2378a75d00635696e0f65293f7d02"},"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":"ec5c09c34ff4612471fb1b23b1580bbb471d335b9e49f7cc3cee137766399954"},"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":"738746e17448f0ff50836db31b194641ffc3a4b78c41f9d5aedc0257a4fd94d9"},"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":"92e0103149dfd71892c5743a90f8634a1c2bd307adc4eaefbfae8d33bf86a1e6"},"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":"422121dcba1a96353fb414387bd5b8f7ff63e30d88fd243296d26588be4d1659"},"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":"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":"40c88c69e570810b32c5216fb7b4080562db7f73be216564e2e1cbfe1c16bf20"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.51.0","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]","[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]","[GHSA redacted]","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"critical","fixedVersion":"0.52.0","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":"286538e74952839f8cc803db02699866685f63af826a4e7837b3cd776e088524"},"properties":{"dependency":{"package":"certifi","version":"2026.7.22","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"severity":"critical","fixedVersion":"2026.10.18","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":"eacd212f0f73ed34ee9ea6f3f9689a042df405dac487450bc973b8722417c832"},"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":"support/oidc/oidc.go","line":15}}}},{"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":"34522ff1f9b6518ffa5c397f18e2e9b0dc12b89ad8b34e4bed60f366c0837b0e"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.18.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-5841","GO-2026-6865"],"severity":"high","fixedVersion":"1.18.7","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":"b02b896bbc1073cd30067c65713f0d5b7faf8769f858869969533950dc8142c1"},"properties":{"dependency":{"package":"github.com/go-git/go-git/v5","version":"5.19.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-6213","GO-2026-6214"],"severity":"high","fixedVersion":"5.19.2","relation":"direct","declaredRange":"5.19.1","reachability":{"kind":"production","file":"hack/tools/crd-schema-check/main.go","line":11}}}},{"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":"86b30795dae988547eb14330cb4884b67d0dc8d395622cabf56bd2dd1669ecf0"},"properties":{"dependency":{"package":"oauthlib","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"severity":"high","fixedVersion":"4.0.1","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":"6318c5c0ecfd8b321ddc2e26ec56d8e8dd527491d0f0dccf585feb47132e2b1e"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.6.5","relation":"transitive","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":"34fe4998f49bdb6bc6f1331852a59e8dc8c4f5ac9220057aa6bd849063f6bb3e"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"api/util/ipnet/ipnet.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":"9dcda5f2c95fca00b3f35b9c48a8b59e8deb6ed86db0bb4ff4ad45f6e94558af"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.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":"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":"d5493abf6f4be17942c6757d4c61ef0db34b0d2fc2f99247f7fa950ec73f48c3"},"properties":{"dependency":{"package":"stdlib","version":"1.25.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.25","reachability":{"kind":"production","file":"contrib/ci/gocacheprog/main.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":"e4c58cff08409a21d39001d1e65e2c638defa8b71c4b0c90df1ab89633283c40"},"properties":{"dependency":{"package":"stdlib","version":"1.24.0","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.24.0","reachability":{"kind":"production","file":"contrib/gomaxprocs-webhook/cmd/root.go","line":5}}}},{"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":"d83337e1cc65fb49d4ff7465183b76a69579ebcf008a1178f85f98a102bc8819"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.38.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4440","GO-2026-4441","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"d9ee670ea435be3a781abeb9bd13510df1698897ab4ea43ebad3ecde2979728a"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.31.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.44.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":"3710d9b150b81e67dc53e4944101166d2a4ac01fbeb1f363ec3ae9374c0070d7"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.23.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"5ba6208a44c105cd4a886bb09f856659cd53d60df9088048042ba9f42dd20229"},"properties":{"dependency":{"package":"pytest","version":"8.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"severity":"medium","fixedVersion":"9.0.3","relation":"separate-copy","declaredRange":"7.0.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":"18b2bbd077d39905782d88b5e6cb2c545cc34334544c302a3698beced6f79202"},"properties":{"dependency":{"package":"stdlib","version":"1.26.3","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.3","reachability":{"kind":"production","file":"availability-prober/availability_prober.go","line":121,"symbol":"http.NewRequestWithContext"}}}},{"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":"ea44013abc6ea445ddd8ee912c42d8b1bb8a5862c60722a3e575ee0909504899"},"properties":{"dependency":{"package":"github.com/docker/distribution","version":"2.8.3\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["BIT-distribution-2026-85747","[CVE redacted]","GO-2026-6778"],"severity":"medium","relation":"direct","declaredRange":"2.8.3\u002Bincompatible","reachability":{"kind":"production","file":"support/imageregistry/imagemapping.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.56.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","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":"d03f2a180b6c44b09157108557612e48c9e72436d9219e099dc51e18f53d4553"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.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.58.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":"fe34912cc1022f16defa9aa7f34d659541f4568862a4f10eaff5ff953cbf17be"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.19.2","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.20.2","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":"54a6e8c46cc40c16a4db28ace71087568139f16b2a87a98fc94e559e2970b3f3"},"properties":{"dependency":{"package":"github.com/moby/sys/user","version":"0.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-6686"],"severity":"medium","fixedVersion":"0.4.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":"95998711a399c430bec7ede6f7dd252868c0d6096bb8765469b2614646410db3"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.45.0","reachability":{"kind":"production","file":"support/tracing/tracing.go","line":17}}}},{"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":"a33518237c273d6339417711b2c3d4ecb9b886eccf9d5217d0925435a9bf1996"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.45.0","reachability":{"kind":"production","file":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go","line":129}}}},{"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.39.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":"6593239adfd8d5c9e2a2157f40b8cb9f9f0ea25f792be40fe3a12b4fe4a9cb3c"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"6e848dc298e0b3ea0c17f569f42ad6a4adc1c80ac6b4881ec6eea89c6426ec94"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"1ceeb2a0db590c4dc6b508ebefc5fb1e9afdb00abe3ecb6f1c8cbf4794226075"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"878328b26e7d1dbb3a4a148903fae941ad58e46e47ad12208fd9942946e2cb36"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"6956c932b53f9d69dee1bd00d72c90a8ae393081ed89f30de0c32130b224ad47"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel","version":"1.43.0","advisory":"GO-2026-5158","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.44.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":"0b002d7d9b710203a1dce2c2f396cba992c79c5909854fe44e9e38ff26b1dc9a"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.43.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.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":"9f2ed7c3257d4b5416e27e960e84d30279e2ef8fcaa198d5a4e15f5b7e6238ba"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.57.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":"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":"f5ad757986717ca8ab42071313facd0d6d29477a7ccabba6b63b3119eed69bf8"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.40.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":"577d1051fadef2a3fbbb4ffb684bda2c634ecc2936ffee19522e1a2a788fcd88"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.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":"74ff6599927d01cd3b787ee6c90ad9633bd43b49c7fe4e9f4865f00511d03151"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.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":"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":"9fa6ad327e7dca1b082ce3b1bef13677be972ba9379841b0b5ce90cb689e37de"},"properties":{"dependency":{"package":"stdlib","version":"1.25.8","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.25.8","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":"abe6e53b12ebcb8a458e1f763940c7e1a03db64a63a8c7513178755d1a3e3939"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.57.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":"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":"56c4ab82318d69bf56a0af28069d2099676af6890f7f6eaf0d74ea776c08d764"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.40.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":"79f3df9aa881231dc33aa4e92c204c0a369d6c76ad0a5f7af5759e0c39b83ebf"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"fa0d968c0ab827847cd0c14a0ca86bcdfa5d59849eb1da02a06739cef0b1b58b"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"09990cb49388966f67798003da3cd0f9566e664e50760845f9c62a3d4f347c05"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"6a6aaa5e6fc5e1215cd8f9f8fab4c071f57334ef6f88a4ca1f28cf3727941a8b"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.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":"5931609a3b2f15febdffff5a1580732b5f313f1b64a88e4bee43d571fab6a281"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.55.0","advisory":"GO-2026-5942","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.56.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":"201ce248cdada08e9b53181f5bf42adecb7e06203a1480db0ee0a2f24f6abd21"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.38.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"bdea13adacd50aa24f968bc197565a4d6775b6fac27fe6a75c6381edb5720c93"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.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":"351d359eed406e8499e8934b4b8f5810fd01a608e6fd24774d9043da606ab329"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.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":"b8c0918ddde9adad4b886f1132b414cbe267fbe0aa60de30983dc102a78ab40f"},"properties":{"dependency":{"package":"stdlib","version":"1.26.3","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.3","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":"100505bb44871be1744c0a7da82cd186d7d868dde783473f2ddd4a127b616219"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","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]","[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-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","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.5","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"hack/tools/release/notes.go","line":135,"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":"62e8d92b6a8ea52cc6c290f683ec1432eec965fd08ab7809e7be4e2eaf2964ba"},"properties":{"dependency":{"package":"github.com/google/cel-go","version":"0.26.0","advisory":"[GHSA redacted]","aliases":["GO-2026-6094"],"severity":"medium","fixedVersion":"0.29.0","relation":"direct","declaredRange":"0.26.1","reachability":{"kind":"production","file":"hack/tools/check-konflux-triggers/main.go","line":11}}}},{"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":"fea25a27f764156c294e6615b7c87d6c09b6b91c4f126efa8afcef966ca16ae3"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.38.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":"direct","declaredRange":"0.38.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":"31deffa7439e39cf34fe7487104baafb49d6f88304e050d1539b26763b55c81b"},"properties":{"dependency":{"package":"go.etcd.io/etcd/client/pkg/v3","version":"3.6.8","advisory":"GO-2026-6107","aliases":["BIT-etcd-2026-73500","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.6.14","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":"1b3c19156af1decdcc5f38e0caaed473ef2e5cd0baed24eacdccf4a616600e91"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.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":"ddff0afbc119f21e7241fca7568ecd055b97dd3544b14b02040b6fa9ae3441f8"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.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":"026855fc180e7eee724c42ae1ef0ab66283b046c1dde6b2a4d05d53c478260a2"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.55.0","advisory":"GO-2026-5932","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6354","GO-2026-6355"],"severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","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":"5fdd757f6236cf48160c0d4a944aafafd6f29302a08264e9b2e56ec736599bab"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.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":"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":"ff6e95e277e3538905f742022293a5386c269bc70d73956904c0957f51817319"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.2","relation":"transitive","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":"55073528937f2733665ac3c02c8b92e937b6664f23ebf2f0a90034963b7241d5"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"82b4222041c0efe593c25f723dd06c42401be0646203b653cdb1784f869cb2d5"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"335703ad7cd49a459eb7ddee8389f877d19776deb2933abdc8c794dcbbc855b7"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"139619d6506b1e1d1c86259f7362082a5620fe826de88934949603ce19d8823f"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"0acdda225e97b86e3d15dddff7eb49a6d8586db29baa6b8acf76e318b46fa21d"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"d1bfe7784e8ec53f9353da6da1aafe84a731ad9e47d603c2f1c967804d260e96"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"8c03cb663035e796d490c9b82afa893aac5306f8fef344752d0b4637d91287da"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"ad25aae84d1f8c512e43237f1d37eaee519854ab0b3dd11e4212916f9c2e172e"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"50cba7e4ea49ba9cc3971ea49e85c6685adcc8b86f8f18b0bd7a2066dc9b8cd2"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"7b92e5a455fdc1fe26ee42d640102e1ea06c8ed10afb38a781f12e4d46ca3de5"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"fd2702d1c97cb750c237475b5e8c54d108fbbe9dc18ceecc52176f2314b9d3df"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"43297353f18cee62533e9df8b337e822175c131d499509126361ae72ad9d7448"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"1f0604ccf9395133c306c817c8afd47c7be0746cfd2d9c063b4ed6cd286bda9d"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"5c9508c5862474774eed07ff7539e00e516cee0d1ba434d4efecb29648ffe8f6"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"ba788b73ff5e3f600cb4e5801911b7c8c99333460fec208a112074ab8e6cbed4"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"d605a0f90b6bbbe8305d9f6862453425b27b9528a2029d898c84772a244436cd"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"8c4db914591c1b79527c5a257511c61cda67bd45a24f580d0376bc4766c723b9"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"83ff51de2282523dc4d03a3ff35cb293f5adc2cf5132298c0f3f34cfab08b4ad"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.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":"c5c416fe8441e7a162e5472c2c5c4ef03f7ea948ed24d5d598d607b4c723ddf4"},"properties":{"dependency":{"package":"stdlib","version":"1.25.7","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.25.7","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":"033ecc66ac65ac93dd2fdff6448d5b8ea01204139dfa5aff0886dd7fc9a79e47"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.54.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-46600","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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.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":"92a7c85528e8fad9d3e621ff99e98e6286d19c5ad3bc2e3a43b5d64e3e45212c"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.37.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd6d3d30c24c5f73a165beef5fa8abec541c45b54f0bcd06a1470e5658f7e37"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/powervs/destroy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5828c700f4045c2c8066d1bf8e4f5b86eb9ca27cadeb6134289a4d1c5410c407"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 48 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: cmd/cluster/powervs/create.go, availability-prober/availability_prober.go, control-plane-pki-operator/certificatesigningcontroller/certificatesigningcontroller.go, control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go, pkg/etcdcli/health.go, api/scheduling/v1alpha1/clustersizingconfiguration_types.go, cmd/nodepool/openstack/create.go, pkg/etcdcli/etcdcli_pool.go (and 40 more) (50 orphaned of 613 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; 613 of the 1148 production source files in this repository met that bar). 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":"cmd/cluster/powervs/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1489bd58cd1878cb943408d6e91547f78758547bdff8a50628f188de62f08be1"}},{"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":"api/scheduling/v1alpha1/clustersizingconfiguration_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f340a6e483316bb46fd62ffaf96cb37f843ab541918274c57a323788ec0ebc6"}},{"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":"hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31353933ccdf625c7c60ef651eb8044c9da63f7ac33a49d8adac47ede6b99d6d"}},{"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":"availability-prober/availability_prober.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46df89d31fe44338354dc7b0fe393fa4b1a883072c72857954b045ecf0237bfa"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/autoscaler/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3b9406add8b0f01740192dea1239b9626b61ddfd8379d491deea27d6ba4f0f"}},{"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":"control-plane-pki-operator/certificatesigningcontroller/certificatesigningcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be9097febc9e06aec61fbd169c9079645767bd6b69b6f225eb707a733cc1ab1"}},{"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":"control-plane-pki-operator/certrotationcontroller/certrotationcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b70ad9314a5147438a4c96bb34f4860bfac76e22a28da6a16e6efdd3f97ca25"}},{"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":"pkg/etcdcli/health.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdef34278e4b54ead04a502d18ef6e643918a90f7e9803fc68464966130e6f0"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/kas_pki_setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a78af78a696c3790a879263848f72285ac0cdd3e05d49dc0626552733258cc4"}},{"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":"cmd/infra/powervs/service_id.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78c5fd4f6d3e2890fe4c86644f6357693f2fbc2ce38042b2bb2ea65f80ec64"}},{"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":"hypershift-operator/controllers/hostedclustersizing/setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2998e7a28d75f6fbe605130f5be20a4285a739137c6558182322f65b76feca91"}},{"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":"cmd/infra/powervs/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184c50d601cb937b25714e60bdd6ede573c30604b80e0f97adf6aeb4ef4ef2b6"}},{"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":"cmd/nodepool/openstack/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"855bbf8383bd2bcad83486e7f4f5f8d3ab1a1940bc39b503b0b34e0b826e8b4c"}},{"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":"pkg/etcdcli/etcdcli_pool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"131baebaad80a4231406fed098ebf69745ac443880428cfcbd0efde4501bde4b"}},{"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":"control-plane-operator/hostedclusterconfigoperator/controllers/drainer/drainer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cddf2b14c9a601f8964d32d2eb41f6dce39f7de7c3d85f9b0705d5febc34db9"}},{"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":"pkg/capi/ibmcloud/api/v1beta1/ibmvpcmachine_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bc709855bca9b55f265f314397ffd8972cfc9a207522794b9b2d08118fb0a1"}},{"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":"control-plane-pki-operator/certificatesigningrequestapprovalcontroller/certificatesigningrequestapprovalcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f50be568c836eda21084c5fc2b9a8c3e5ef4a4dfdba733e11e6d5125ec7deb"}},{"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":"pkg/capi/agent/v1alpha1/agentmachine_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e2cb122fe845a765f6588724e51d33ec9369d82eaf3be4dc92e71dc5f042b"}},{"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":"control-plane-pki-operator/targetconfigcontroller/targetconfigcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6368721ecdbd3016924992c05946a9ec305b982fd1a363159282b5a61105f24"}},{"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":"control-plane-pki-operator/operator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9511faa65a2e146f8d7d39916c53ad083a26006ac9633ff7b5c7f5aaa846fd5b"}},{"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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/registry/admissionpolicies.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ca6902036474859208b2699989adb1869ec0875b422003cfd8732ef48fe2f3"}},{"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":"support/testutil/testutil.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7802166540c91726910ef3bb8cfff13ac91835b4002fe4863a91f82a3a2ce8ea"}},{"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":"ignition-server/controllers/image_file_cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a5a0a808593b86a08fabe5866dc11358ff19e01f10d3404a77967853180575"}},{"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":"control-plane-operator/hostedclusterconfigoperator/configmetrics/configmetrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daf8b988dc1bd68676ad68bedb70f517639c997ef3542c26c209734f51e0613"}},{"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":"hypershift-operator/init.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a849cdbb4ad6808f557d5cb95bd2c3491fbbb95f76c883609ec86781654ed2"}},{"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":"control-plane-operator/controllers/openshiftmanager/input_resource_initializer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1625c9ff477255c910e9cdab6449c4f36687af8478f38fa24f2cfc5e926763b"}},{"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":"hypershift-operator/controllers/nodepool/instancetype/aws/provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d00dabe4f9e7a9cbfee9353f9f1f092fc976a5d26fad5dfda327e58d8451537"}},{"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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_validation_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f96ef4099ceefea8bfb8c0f423c64ddd7b732615ce68381f18740510cc9201"}},{"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":"control-plane-pki-operator/certificates/validation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0308e7038a3af31f95e73005e754671970b8c8565d97e951d16b5ac4bde3f8"}},{"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":"cmd/cluster/none/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ba14c714695906b604ff0397a5a38421ca9c5f87931ef64402716915604d0"}},{"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":"hypershift-operator/controllers/scheduler/azure/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e55765331ce810abd45b9281e852cba899da599bb20dcad1570eedab8a68ec1"}},{"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":"pkg/capi/ibmcloud/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2730a9aeb8609f60f7cd1a8bc068244edeb0e51394e69242618f1dd22d4146e2"}},{"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":"pkg/capi/agent/v1alpha1/agentcluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e2131096e9800362f2643547afa37c94dc5476bdea6ce24731a3870d831230"}},{"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":"control-plane-pki-operator/clienthelpers/conditions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12681f77ee19fb92cccdebeac38eae1d3a2c4e39174055a413e218194109b2f1"}},{"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":"kubernetes-default-proxy/kubernetes_default_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dac556234bca8e3902790515fd14b3f2771138faab766a077914f6576da196"}},{"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":"hypershift-operator/controllers/manifests/networkpolicy/manifests.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa844f2041d56a9172a00aab2659814c36357f0fb0178a57a22d0a5cbe54899e"}},{"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":"hypershift-operator/controllers/proxy/reconciler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c26aac1064f3d6ae336b69919a0328cf67ae2c8b8660d8e42f095e1300bae8"}},{"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":"api/certificates/v1alpha1/certificaterevocationrequest_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c148659317d7bde8bbeb21e7941f00e24bfa2bfe58e12ccb775621bbb5ff77"}},{"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":"control-plane-pki-operator/certificatesigningcontroller/certificateloadingcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ac3ac62f8b4a240c867a0ae5869cb08e3a1c106a65449865dd68a50aa82168"}},{"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":"support/upsert/loopdetector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b036d0fdcbd3ec575261d7d34b7257a2e56d61fc3de4ffd48868bd055fd0ee"}},{"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":"etcd-defrag/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6c2717bf4bd0fed897645ddfd06c6688e9e202df9f5acee55a082e3b351376"}},{"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":"control-plane-pki-operator/certificates/usages.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1ec14c8a82cc6944d00736613f2ad89f4cb1f37bb659bb5d4856fe8f6856be"}},{"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":"konnectivity-socks5-proxy/http_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa7c84ed7c90ca3f257a26d48a40fabe3e52faf7b9af573d97686768f83d2ae"}},{"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":"cmd/infra/aws/util/sts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298e00bbaf9859378f3a30e7f88b04055af1e6abc5287c3db5aab91dd18f7616"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/manifests/kubevirt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d2f2e77607d3bd4ef1b28993e9ef452c114ee40cabdf00c6e185680498b98"}},{"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":"pkg/etcdcli/interfaces.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b1d871798349e9f6a8fa6d47ec7d07bf17df8df557b45bcb5762153cc53b0"}},{"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":"pkg/capi/ibmcloud/api/v1beta1/ibmpowervsmachinetemplate_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd885be299be167e7f102fe8021b02c0e404dbbd69dab3d29dfd79052507a9d"}},{"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":"hypershift-operator/controllers/manifests/controlplanepkioperator/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab6a9fe4bf5df0ce2d2e210b9b52ba88f1c4bea51d97675aaa15a1c225b17c7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: hostedcontrolplane_controller.go \u2192 providerconfig.go, providerconfig.go, reconcile.go, deployment.go: \u0060control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go\u0060 changes together with 4 other files \u2014 \u0060control-plane-operator/controllers/hostedcontrolplane/cloud/azure/providerconfig.go\u0060, \u0060control-plane-operator/controllers/hostedcontrolplane/cloud/openstack/providerconfig.go\u0060, \u0060control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go\u0060, \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/deployment.go\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff8289e3f7b8754581781960cbc47d2c3c1db7d352e8410605c2c3672258374"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: deployment.go \u2194 params.go: \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/deployment.go\u0060 and \u0060control-plane-operator/controllers/hostedcontrolplane/oauth/params.go\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006003cc4b66\u0060 Remove unused oauth code; \u0060da86b6b9\u0060 Add HTTP konnectivity proxy to OAuth server; \u0060612fc127\u0060 enable audit log for oauth-openshift \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/oauth/deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a60c76c30eb35961e76679086e932cd928c27a694a41fe6896bfca2b94417f"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"contrib/admission-tracer/manifests/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032fb41f6a23e7d86882ada2bc4af68ad255619734e981fcca4eace38beb855"}},{"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":"contrib/ci/Azure/Create Azure OpenShift Cluster/hypershift-install-azure.yaml"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2195de9ae6664691daffcaa78584cb273e826b96208d9892b13f43557545fa78"}},{"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":"contrib/ci/hypershift-ci-2.yaml"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daee76338dc0d039739edc3f0adcfe6707ee7ce65b0c278bc1f1616281d3c95"}},{"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":"contrib/gomaxprocs-webhook/manifests/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc81d886051fc8a613be10720a053c5e359ea6ce0b9fbe171186509217dc8ff"}},{"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":"contrib/kubelet-config-daemonset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"31be3a2f7e5a2c1d0333f6f19c1eee5a8c4c57e80e5e3d5970618e0bd88869a5"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/files/controller.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cc4598939a30626aeff627ca15eb99d7d1b658e24ecb061b7339ec2e934a61"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/files/daemonset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b7ab3949911ee5eb424fbb83a686150e37f4a7abf8d7e33b9b12834b399019"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/aws-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"48719bcd316517ce0677decd7e649a4a4ebdf6ef8b0aaaaf6cc1f05809eb4bfb"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/aws-node-termination-handler/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e14be903dfebc7eb0e038570ea1f10a4168c70411d560ce351737ef534e66b"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/azure-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc373e5266ff290b6917e74e33500e7a1f4c948b9b2ed11fdef50c180f0bf54"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/catalog-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"20210200fb825af5d5bed5950eef168dc1d0f4ec72a0042a4a852ebc3e210dcf"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/certified-operators-catalog/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a958c7229f8acbee65403a725b3c0a0de81cd468e3b94dbc76113f38f720e813"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cloud-credential-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcea1003ea8ca8964b31caa55e6dfe06eda785cbef9cead2e69a3e510938f00"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-api/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"36680e52fc0dc7cc3807b280628c47e4741f110959fec2377c7f6b4ced6bdfa3"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-autoscaler/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"187edb5329a6f66349d051675d5994c80c06e53902aa610d20031fb58df6c97e"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-image-registry-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96de1c5262c5353436a869aa59e32d07b2e501e34451a52afd455d1094758a20"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-network-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"befbbc073a1c5a4a228b35720d55e56c68793388ba97928b672ed84fdfc4e19c"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-node-tuning-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4f9ba1732509970aa9eef18c5efe66392ddfe17d16631adb2186a461a00d3c"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-policy-controller/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54d39dde96da3cfed160031ee3d884b9cb3d7659ef7d53da496d39b9c1d78b"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/cluster-version-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96855372b7f5191c7d64a518f2e621e7e784b397818d2a2e0e25c04e3bd8725e"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/community-operators-catalog/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"101c24ad41c5fc429095e542d90d85c66ff1b36da351f3474aef5ab979c20318"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/control-plane-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8292ab254c77c606b1b2655f8ba67ea28bd808caf003de0dcd9a1ab20c59621"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/control-plane-pki-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d7bd598cb460322e2d0690e3d81dbfe232db03ff8fd37125aca012a4b1c1d0"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/dns-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f174bafcbe6a920b9e2741ef41b40ff4eb2e36e0cbedb99234cccd7090c6d731"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/endpoint-resolver/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"457708937e9078b5f1f03767edf92a8be51d16773898cea41a1035ddc882158e"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/etcd/statefulset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9b0fc5f3d589f91908a6c2b8e4d7f226e76c49dd8a7a56172efb9a6b40e9f1"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/external-oidc-webhook/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9146f4c54de7415e4e587c5c6cc509bbb9c680daf9b107cfc42281dc0fab064f"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/featuregate-generator/job.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa32f25218955f5df0daf3d1463e4fe10bdbefe88af666649104b04fdb19f28a"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/gcp-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5591876ce98529214c1b8c6845bacd69823c2aac5ca50d98272937c96bed9267"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/hosted-cluster-config-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb416230a8946db048d588d7d23165c920d2d94deb08a3e6906b5a997842264e"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/ignition-server-proxy/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e598dd005c7ce162d10725429e7c2dfaf7cfcdbbe67cd3b2925d3cf5547a4507"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/ignition-server/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71d062210963f23b6f756cf9fc62caa2c8320c00f7a63c887d9c8fb857a8ea"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/ingress-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a0fc83adb1daba399bed9e6d0536cda879e79b49032779fe691a0f7428554c"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/karpenter-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d4e0c668c284742c9bcfbb3bd1ad3da49d60d41c17ea193152eb97e5b70576"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/karpenter/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0af4400861d707cfb1f87908530509c1e1fc2f564e747ead547de5a025f08"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/konnectivity-agent/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4725a1d85b9e7086f43df67104e9fa6adbaee33d34fd500733490639fe8d5b8b"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/kube-apiserver/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e12a60ba936a8accee5e1a910eda9604f0ee1891c5f11c69ffc90687ff2143"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/kube-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"44996a7db2c6696da6976f03b3ea6c8584cc6fd0523806f914b4833313f654a9"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/kube-scheduler/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec9acaf0f4d2b5577226b9bf0d3ca648d9872d1295d385a52ca08451b979a4c"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/kubevirt-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d8897c6c399a9af07f262cc4a173f81e97fed1cfa137150d2bf5f49024d1b0"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/kubevirt-csi-controller/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b91769fc6048eb8f7659f6b29d8610a465459c1c0492b3dbaa21e3e54d6e1a4"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/machine-approver/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"42517ce59acf984e03a1d01450d6c5520b2cdc1f953a787e3dddb349420f089f"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/metrics-proxy/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"360bbefb0dad743548e9b1f377e7e7cd960331d3a2c7088f79d792db4c6a2160"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/oauth-openshift/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f3f5200896d90c5874969be80669d41ce3d4365c38968020114dbd49ab2fd3"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/olm-collect-profiles/cronjob.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2425e44458de9e5b0258f51f099a6773fbf7cea9e97b40acf6988d73bb5b029f"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/olm-operator/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e399498f24f8226cb5784043087ed97248f9a60d31ae70be8bf5e0f2a6eaf0ec"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/openshift-apiserver/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"df64788bf1b06f96019c286dd31d15afdf088095fade820c0ee364ae5f1c3e43"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/openshift-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb39533774469642c11e09300cddb55352c773533e95ef2a3bd5cb244db614"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/openshift-oauth-apiserver/deployment.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6271bf45b911f7fbdc9cd6d8586036efa3b76a0fc02bde73722a866850e838"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/openshift-route-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54f62f2d8f43edc299b8ffa6f64e0296de8a9ba8c4871a0d8a0599002868b7f"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/openstack-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f160f07e7d5f417425af8a822c4d8ae81187f3ccaf0b518c995133023d5a23"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/packageserver/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d1ec712e65ee304b89f0787aaf92cbdd79e9b80ad8a96a4efc937d2ef4cb26"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/powervs-cloud-controller-manager/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22f410748d1356b4d5b82bfc24e95fc80da349dddb6698b4cee0a6cba5b4818"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/redhat-operators-catalog/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90e62d2748fa7e20ec0cedb822c1f70ff0281263a20fa80b7e674759435e95f"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/assets/router/deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2badcc5c18e3ccd802e74f4a402176fe4c820288420367fec1b861abc06dcd7a"}},{"ruleId":"D42","level":"note","message":{"text":"No runtime threat detection: No runtime threat-detection engine (Tetragon TracingPolicy / Falco) is committed. These observe process, file and network activity in-kernel and can alert or kill on malicious behaviour a static scan cannot catch."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aade9827a37dfc7ee064f80a997f47b5d11e31bc09704e26b9252bef00aa0c58"}},{"ruleId":"D42","level":"note","message":{"text":"No admission-control policy: No policy-enforcement gate (Kyverno / OPA Gatekeeper / PodSecurity admission) is committed. Admission control keeps workloads that violate your security baseline from ever reaching the cluster."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57f2e92ed1519af6e21f44cce82a94119700b7d516006ea2955d969d5328b76b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Positive tabindex (1): A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex=\u00220\u0022 (or restructure the DOM)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/templates/login.html"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8094105c5373c92d37a09809ca1235157660293dea679b4fe5cada2a1de19b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Positive tabindex (2): A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex=\u00220\u0022 (or restructure the DOM)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/templates/login.html"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"69714b6b8014f0b8c52287474a23029e5bf930dc5cd20abc5e1bbf12bc2b02fa"}},{"ruleId":"AC4","level":"warning","message":{"text":"Positive tabindex (3): A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex=\u00220\u0022 (or restructure the DOM)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/templates/login.html"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d6dddc90d5b04d1a80c9a90b92ebb9e02ced2511316388551a7ac22f30bc1"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 61 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/content/reference/cluster-teardown-roadmap.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060create\u0060, \u0060kubeconfig\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/content/reference/cluster-teardown-roadmap.md"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87cdb0ab4512408e35185f3ce105ad7ebf625d0e8ea0cae4f9ca65006864729"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/content/reference/controller-architecture.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060destroy\u0060, \u0060iam\u0060, \u0060kubeconfig\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/content/reference/controller-architecture.md"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b884d869aa06959d57d5b38de1a10d7d1fd900a2701f2e45ab2de0193124e5"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/content/getting-started/onboarding/lifecycle.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060create\u0060, \u0060destroy\u0060, \u0060iam\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/content/getting-started/onboarding/lifecycle.md"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9846c8a0afd57edfa0f9fc301e2d5f86c7326e7278a57feab208293c2315c6"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/content/images/cluster-lifecycle/startup-debugging-decision-tree.mmd\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060cluster\u0060, \u0060destroy\u0060, \u0060iam\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/content/images/cluster-lifecycle/startup-debugging-decision-tree.mmd"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f689d6ad894a6a059df2b1604ff6064c983d3715517282d4ab0a091b6d9b2"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/content/images/cluster-lifecycle/startup-dependency-graph.mmd\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060create\u0060, \u0060destroy\u0060, \u0060iam\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/content/images/cluster-lifecycle/startup-dependency-graph.mmd"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c910a72e4a80f95944651b7c4cfe50217cb2810a9de4d31d3cb34ec3860bc8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/content/getting-started/quick-setup.md names Go 1.19, but contrib/gomaxprocs-webhook/go.mod:3 requires \u0060go 1.24\u0060 (the lowest of 21 declarations): the code does not build on Go 1.19. 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":"docs/content/getting-started/quick-setup.md"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaefb0324c79b7533f010281dcb777360b661c3ca100bf490e13bdd8344c59ee"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060contrib/repo_metrics\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"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":"cmd/infra/powervs/destroy.go"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf814c53a048c1f4287d29f6eb7bb043b22653e30ba384aa306d7bc0eba0ab3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2990be1b7c6dc4cd228ffbb7683a1b5452036a49fe19dd100ee7c38a849ec93"}},{"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":"hack/tools/release/notes.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0534fe805a559d5285576f70294566aae5e6f8c98cd9087eb3b02d4c8cf435"}},{"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":"support/forwarder/forwarder.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dee5d0c4e093e95881d1efeba976dc29b4f0fb779069dd73fe2a7dfeea3dca"}},{"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":"support/util/util.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"897ad457353dfb600a2b3f4dbcc5bdb0f25203036e1185d24cbd7b1da60e40f4"}},{"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":"hack/tools/hypershiftlinter/analyzers/testfuncstructure/testdata/src/a/good/production_test.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b072634196736022ad776be4e14d160998f066bb055630b1869851812db93e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_fetch_json\u0060 is async and calls requests.post, requests.get, time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1c467d6dfba70c8963f29d74ba02ca95743ffa912754042c57ba37b7c25e06"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_github_graphql_request\u0060 is async and calls requests.post, time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48891110fc994bad40447c45d9e2a45c6e7f8c6b71df89654ca7e60559e97a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fetch_repository_contributors\u0060 is async and calls requests.get \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dd1a7fb2b28d76fe0cf0a02ab5ffe9ce9526e4d0d46af0eaacacee62665b98"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fetch_release_prs_graphql\u0060 is async and calls requests.get \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b27dab28199319188c1bb413629de3a65ba91d334a545470ac6794d5d5dd91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!apierrors.IsNotFound(err) \u0026\u0026 !meta.IsNoMatchError(err)\u0060 appears character-identically in 2 files \u2014 cmd/cluster/core/destroy.go, support/controlplane-component/generic-adapter.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":"cmd/cluster/core/destroy.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea2ee0bcb49fc4fe50c5151b6f9aec4d736263a2e986160c5a03659f792ed7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!exists || len(konnectivityClientCert) == 0\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"345b8d502cdc9af22e505fd539eb12029a3ba71b4e5fae2b9ba18bf4f7fbe246"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!exists || len(konnectivityClientCertKey) == 0\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037c8fbe24b7e2c641202a7bf80fa314fdf6ee4942d3edab46ef2a088855384"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apiStrategy != nil \u0026\u0026 apiStrategy.Type == hyperv1.Route \u0026\u0026 apiStrategy.Route != nil \u0026\u0026 apiStrategy.Route.Hostname != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go, control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"710c3a4fd88b493c8cd88e24a267a026c1001a47c7287247ea25560f1c734123"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apierrors.IsNotFound(err) || meta.IsNoMatchError(err)\u0060 appears character-identically in 3 files \u2014 cmd/cluster/core/destroy.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, support/k8sutil/object.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":"cmd/cluster/core/destroy.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6c82777954f574748949bde6f910f27b98abcb62812d21244a7e4fa65f6e2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apierrors.IsTimeout(err) || apierrors.IsServerTimeout(err) || apierrors.IsInternalError(err) || apierrors.IsTooManyRequests(err) || apierror\u2026\u0060 appears character-identically in 2 files \u2014 cmd/cluster/core/create.go, karpenter-operator/crd_wait.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":"cmd/cluster/core/create.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"92384dfcad3c84a8d4ee9bb8321ca79a35b6891e4ed49e5d08bf6ebb145a90e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availableCondition != nil \u0026\u0026 availableCondition.Status == metav1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, support/controlplane-component/status.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d981c067d393fdae0d7fff47e4e17ceba769b39538f61507d3d0d94f5cf440"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availableCondition.Status == metav1.ConditionTrue \u0026\u0026 !isHasBeenAvailableAnnotationSet\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea80744b4b18de6949f46f43b780d6026187f67c2e095a02d484acbb0b72c83a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.DisableIngressRules \u0026\u0026 len(b.AllowedCIDRBlocks) \u003E 0\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/api/v1beta1/bastion.go, pkg/capi/aws/api/v1beta2/bastion.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":"pkg/capi/aws/api/v1beta1/bastion.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd5cb0e123d5d1b279fb2a34afde5292b687e66f6c8b343e995d3518d7d0446"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.Name != \u0022\u0022 \u0026\u0026 !Tags(b.Tags).HasOwned(clusterName)\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/api/v1beta1/network_types.go, pkg/capi/aws/api/v1beta2/network_types.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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2093cb3e8860ac1d3a6f53301aa8bc4e092dbc3f281a7976cedbc2a631cb93d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.lastCollectTime.Before(t) \u0026\u0026 (t.Before(currentCollectTime) || t.Equal(currentCollectTime))\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/metrics/metrics.go, hypershift-operator/controllers/nodepool/metrics/metrics.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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e9a339914a24bffb42303425594056b19d815562461232b95fd2e501685f8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cond.Type == appsv1.DeploymentAvailable \u0026\u0026 cond.Status == corev1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597893a783ea05925c3cfc160222611c9cc36d9d7e4d1102c0e09f7c2b0db8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cond.Type == corev1.DisruptionTarget \u0026\u0026 cond.Status == corev1.ConditionTrue \u0026\u0026 cond.Reason == \u0022DeletionByTaintManager\u0022\u0060 appears character-identically in 2 files \u2014 etcd-recovery/etcdrecovery.go, hypershift-operator/controllers/hostedcluster/etcd_recovery.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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ac686df9c7b7eb8eacdebf8a60576587e6f5b67005852e97329d28a5c83cd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060condition != nil \u0026\u0026 condition.Status == metav1.ConditionTrue\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, hypershift-operator/controllers/hostedcluster/metrics/metrics.go, hypershift-operator/controllers/nodepool/version.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c512b33a50242ac56f0f2f6c1d969ed9850584351fce5ac8b0671dff670f80c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060condition == nil || condition.ObservedGeneration != hcluster.Generation || condition.Status != metav1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e1fd9a2b262749f4262f7e799e33276535ca2fb63b1f00df42051b882d4ab8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060condition == nil || condition.Status != metav1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/metrics/metrics.go, support/controlplane-component/status.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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21b7d6c92d58f20523c164a97541bc86a1846defbfb3ddae3109252868de2b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060condition.Type == schedulingv1alpha1.ClusterSizingConfigurationValidType \u0026\u0026 condition.Status == metav1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go, hypershift-operator/controllers/scheduler/aws/placeholders.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":"hypershift-operator/controllers/hostedclustersizing/hostedclustersizing_controller.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a15563b8338383a7b10056383ea60f783c0a17fd958c3fac248cc0b271cc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configOverride != nil \u0026\u0026 configOverride.Challenge != nil\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1afbccaa7f5ccd643b38a4416289b90f87fa7d0dfdd3da9569483fe5b305b0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration != nil \u0026\u0026 configuration.Image != nil\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go, control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.go, control-plane-operator/controllers/hostedcontrolplane/v2/ocm/config.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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfc9ad1365db2d5ac9176c4eb6da392e64c4d86bcfa26c83d4e484c578f617d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration != nil \u0026\u0026 configuration.Network != nil \u0026\u0026 len(configuration.Network.ServiceNodePortRange) \u003E 0\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go, control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663be8fe4a30299296abfe38a22c85e100e6d874ab63f3409875641dd4df377"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration != nil \u0026\u0026 configuration.OAuth != nil\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/oauth/config.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/config.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29141f9d619e73552a276f9a3349c95365e7f7f4dc4717a533fa2272f3fc708"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cpContext.HCP.Spec.AuditWebhook != nil \u0026\u0026 len(cpContext.HCP.Spec.AuditWebhook.Name) \u003E 0\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth_apiserver/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/oapi/deployment.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf9a584be0115f8f02005987c83d2aefb047d2c04dd38eb535430d6d410362d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060encStatus == nil || encStatus.ActiveKey.Provider == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms.go, control-plane-operator/controllers/hostedcontrolplane/v2/kas/secretencryption.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":"control-plane-operator/controllers/hostedcontrolplane/v2/kas/kms.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43765f95b3b2ec3952f591c63e36598ce703bec55a3989ca9125ad2b50ff9ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !apierrors.IsNotFound(err)\u0060 appears character-identically in 9 files \u2014 availability-prober/availability_prober.go, control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go, control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.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":"availability-prober/availability_prober.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8663373b878c8c1baf915e27d1504ed06700bdf7e2958a0c5cd788fbad553a4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !coreerrors.Is(err, io.EOF)\u0060 appears character-identically in 4 files \u2014 hypershift-operator/controllers/ignitionpayload/config.go, hypershift-operator/controllers/nodepool/config.go, hypershift-operator/controllers/nodepool/nto.go, hypershift-operator/controllers/nodepool/osstream.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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e00999bdca2d2f82bee195c939513d171352518e9678924bbb02bd92dc678c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || len(sgResult.SecurityGroups) == 0\u0060 appears character-identically in 2 files \u2014 cmd/bastion/aws/create.go, cmd/infra/aws/create.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":"cmd/bastion/aws/create.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc23398555de1da5f5fd2194bc3963e8c5299ee757ef9db9bffda25cea2ab1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || result == controllerutil.OperationResultNone\u0060 appears character-identically in 2 files \u2014 support/upsert/apply.go, support/upsert/upsert.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":"support/upsert/apply.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf624d8f375b30b4194e07778f62609b60fd01512eee30ea39201a171c05ffb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil \u0026\u0026 serviceFirstNodePortAvailable(ignitionService)\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a275815ea187f922c283130415ce5458811bb2df0980678d5646b96e071f9172"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f == nil || (len(f.Tags) == 0 \u0026\u0026 len(f.TagsAny) == 0 \u0026\u0026 len(f.NotTags) == 0 \u0026\u0026 len(f.NotTagsAny) == 0)\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"714ff17dcc7f8f88e0c3f9d0822610fb3bcdcdd43de7a4b3056a66f4ffdc6fbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.Name == \u0022\u0022 \u0026\u0026 f.Description == \u0022\u0022 \u0026\u0026 f.ProjectID == \u0022\u0022 \u0026\u0026 f.FilterByNeutronTags.IsZero()\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54f762ec242d043ac841bc21c3366b8b317cbb65bfcd69430a89d8823a5aad6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcCVOCondition.Type == string(hyperv1.ClusterVersionRetrievedUpdates) \u0026\u0026 hcCVOCondition.Reason == hyperv1.StatusUnknownReason\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d02398f3386b3459bcaad2ab9b885cc0313fc798602524408969e6c166550ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.AuditWebhook != nil \u0026\u0026 len(hcluster.Spec.AuditWebhook.Name) \u003E 0\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b3147a2fe4249c0769f008a24d10d970e4225bb659be8e1f06adafb2d380c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.Configuration != nil \u0026\u0026 hcluster.Spec.Configuration.OAuth != nil\u0060 appears character-identically in 3 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/metrics/metrics.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"364326fab0321600a841a8e0c5c839c9dbb2aa028e03453c25841c115961e9ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.Configuration != nil \u0026\u0026 hcluster.Spec.Configuration.Proxy != nil \u0026\u0026 hcluster.Spec.Configuration.Proxy.TrustedCA.Name != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1007899352ba23c2e4c8d2384805eee4e86f83a3b925ddaf41b0e5fd23a8beb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.Platform.Kubevirt != nil \u0026\u0026 hcluster.Spec.Platform.Kubevirt.Credentials != nil\u0060 appears character-identically in 4 files \u2014 hypershift-operator/controllers/hostedcluster/network_policies.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.go, hypershift-operator/controllers/nodepool/kubevirt.go, hypershift-operator/controllers/nodepool/kubevirt/kubevirt.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":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31a5f8e3bad42eb58aa48f8578459d0e8df07cf863a56a3aa849d0139979b1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.Platform.Kubevirt != nil \u0026\u0026 hcluster.Spec.Platform.Kubevirt.Credentials != nil \u0026\u0026 len(hcluster.Spec.Platform.Kubevirt.Credenti\u2026\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/nodepool/kubevirt.go, hypershift-operator/controllers/nodepool/kubevirt/kubevirt.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":"hypershift-operator/controllers/nodepool/kubevirt.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb6b5d538fb7b306c853a23141b9bf8735a2744f23491eabaab8630d7957f85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.Platform.Type == hyperv1.AzurePlatform \u0026\u0026 !netutil.UseSwiftNetworkingHC(hcluster)\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e918e405f4f1fcd0e60ff6fa59319d9f94cb727c1bb79f33fc604675a4f428f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.SecretEncryption != nil \u0026\u0026 hcluster.Spec.SecretEncryption.KMS != nil\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28c4bba2c7f3e5bd4fc5491264ce107b4b82c48b941b0deb03aae0a2e8e64ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.SecretEncryption != nil \u0026\u0026 hcluster.Spec.SecretEncryption.KMS != nil \u0026\u0026 hcluster.Spec.SecretEncryption.KMS.AWS != nil\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1c3f17cd7a50e6e403c3224af9c8818c8426f70478dd856a6961216968236c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.SecretEncryption.AESCBC == nil || len(hcluster.Spec.SecretEncryption.AESCBC.ActiveKey.Name) == 0\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0658fb023daace85d51ec216582b86259dde0553ab7de3ce9b67bb4b5a49cea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.SecretEncryption.AESCBC.BackupKey != nil \u0026\u0026 len(hcluster.Spec.SecretEncryption.AESCBC.BackupKey.Name) \u003E 0\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a73e9d109457406f6ae7149963c350fd43fd41fb38245a327aec45f3a6bece"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcluster.Spec.ServiceAccountSigningKey != nil \u0026\u0026 hcluster.Spec.ServiceAccountSigningKey.Name != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/gcp_oidc.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.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":"hypershift-operator/controllers/hostedcluster/gcp_oidc.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfba74ac16b583b55f47da208025dd971d1316ca4224bb2062a5bb06d1b4077"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp != nil \u0026\u0026 !hcp.DeletionTimestamp.IsZero()\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"df45332916111b7f1a2c8699c680bd9f0c59514dfc497aacb9fb82a67ab088ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp != nil \u0026\u0026 a.payloadVersion != nil \u0026\u0026 (a.payloadVersion.Major \u003E= 5 || (a.payloadVersion.Major == 4 \u0026\u0026 a.payloadVersion.Minor \u003E= 23))\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go, hypershift-operator/controllers/hostedcluster/internal/platform/openstack/openstack.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":"hypershift-operator/controllers/hostedcluster/internal/platform/azure/azure.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"395eb7f51d319131c2f994d0a2c8a40a409f4fd6f48daea1148e937782841a55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp != nil \u0026\u0026 hcpCVOConditions[conditionType] != nil\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"348d6f8fd0f8dd8a8948f03d1f13863317b29ca7c6b8d3198284bf1a77f4a793"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp != nil \u0026\u0026 p.payloadVersion != nil \u0026\u0026 (p.payloadVersion.Major \u003E= 5 || (p.payloadVersion.Major == 4 \u0026\u0026 p.payloadVersion.Minor \u003E= 23))\u0060 appears character-identically in 5 files \u2014 hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go, hypershift-operator/controllers/hostedcluster/internal/platform/aws/aws.go, hypershift-operator/controllers/hostedcluster/internal/platform/gcp/gcp.go, hypershift-operator/controllers/hostedcluster/internal/platform/kubevirt/kubevirt.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":"hypershift-operator/controllers/hostedcluster/internal/platform/agent/agent.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8c6a8df5b1ddf93b3ea6cd7b1e84e073b9e5c604998b7a99645ebe8307c94f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.AuditWebhook != nil \u0026\u0026 len(hcp.Spec.AuditWebhook.Name) \u003E 0\u0060 appears character-identically in 4 files \u2014 control-plane-operator/controllers/hostedcontrolplane/oauth/params.go, control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/kas/params.go, control-plane-operator/controllers/hostedcontrolplane/v2/oapi/config.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":"control-plane-operator/controllers/hostedcontrolplane/oauth/params.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f0765b5e69fe7d3581c5be87ed4805dcaa167ebab2c477b89f31b6a6a5b193"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.Configuration != nil \u0026\u0026 hcp.Spec.Configuration.FeatureGate != nil\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go, control-plane-operator/controllers/hostedcontrolplane/v2/ignitionserver/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/fg/job.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c038945ed66d74176114dfa82c314714ed65f5f5939b125cb9305f0e19738c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.Platform.AWS != nil \u0026\u0026 hcp.Spec.Platform.AWS.ManagedDNS.IngressDomainPrefix != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 support/globalconfig/dns.go, support/globalconfig/ingress.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":"support/globalconfig/dns.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c02f357e4c9b0fd7bcb0826d3a41eb52b9ac06e40ca4dfff4b893fb5502737"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.Platform.AWS != nil \u0026\u0026 hcp.Spec.Platform.AWS.SharedVPC != nil\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go, support/globalconfig/dns.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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46959cd0a7525c1a198b27d960912e88bb85d405654834edb1fc4b17601413"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.Platform.Kubevirt != nil \u0026\u0026 hcp.Spec.Platform.Kubevirt.Credentials != nil \u0026\u0026 hcp.Spec.Platform.Kubevirt.Credentials.InfraKubeConfig\u2026\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/configoperator/deployment.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f335df11b69a4d102019289cbfa840712b93a49f3bf3643dc54ab02d5f62090b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.Platform.Kubevirt != nil \u0026\u0026 hcp.Spec.Platform.Kubevirt.StorageDriver != nil \u0026\u0026 hcp.Spec.Platform.Kubevirt.StorageDriver.Type != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go, control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/component.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":"control-plane-operator/controllers/hostedcontrolplane/csi/kubevirt/kubevirt.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cf5201ce0897ce93514a9d759edb49c82ec0e8a8eeb5d6c0d10f066393d640"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Spec.SecretEncryption == nil || hcp.Spec.SecretEncryption.KMS == nil || hcp.Spec.SecretEncryption.KMS.Azure == nil\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, control-plane-operator/hostedclusterconfigoperator/controllers/reencryption/reencryption.go, support/azureutil/azureutil.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":3774}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab386fc246e9bb393f892e9b074157ab4d02f5316081f15274953ab3d2d35e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hcp.Status.Platform == nil || hcp.Status.Platform.AWS == nil\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go, support/globalconfig/dns.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":"control-plane-operator/controllers/hostedcontrolplane/aws_ingress_dns.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9facef9bde42c3571e7ddb47268484fb39683cb101c30f41ba0757bd55d0082"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostedClusterDestroyedCondition == nil || hostedClusterDestroyedCondition.Status != metav1.ConditionTrue\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"83357f71a5fde0046d5a5b54a7cd273dae30ce388e2b0631f9596f38fe65f828"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.Description != o.Description || i.Protocol != o.Protocol\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/api/v1beta1/network_types.go, pkg/capi/aws/api/v1beta2/network_types.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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5fd577fad4fe4c63c5391c024586e55230a617423de4210a896cf60317053"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.FromPort == o.FromPort \u0026\u0026 i.ToPort == o.ToPort\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/api/v1beta1/network_types.go, pkg/capi/aws/api/v1beta2/network_types.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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b01a8eeffc327ff737d2cf9a67aa903c913768051c25704bf4bfe5c656a30e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isKnownCondition \u0026\u0026 condition.Status != expectedStatus\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/metrics/metrics.go, hypershift-operator/controllers/nodepool/metrics/metrics.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":"hypershift-operator/controllers/hostedcluster/metrics/metrics.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"309a41baf03f0d0dc190245555bf68a15df6ec93b99f053f43841a65231c1cea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060labels != nil \u0026\u0026 labels[karpenterutil.ManagedByKarpenterLabel] == \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/nodepool/secret_janitor.go, karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.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":"hypershift-operator/controllers/nodepool/secret_janitor.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7891db9cd8e0d617e85681d75f81e83919428ee1b47219b3925ad3f313edc01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(manifestRaw) != 0 \u0026\u0026 strings.TrimSpace(string(manifestRaw)) != \u0022\u0022\u0060 appears character-identically in 3 files \u2014 hypershift-operator/controllers/ignitionpayload/config.go, hypershift-operator/controllers/nodepool/config.go, hypershift-operator/controllers/nodepool/nto.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":"hypershift-operator/controllers/ignitionpayload/config.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3581ede81170038fb1f4692e4e384fbfab90741771bbc5fd1cd1d99469299498"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(o.InfraID) == 0 || len(o.Region) == 0\u0060 appears character-identically in 2 files \u2014 cmd/bastion/aws/create.go, cmd/bastion/aws/destroy.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":"cmd/bastion/aws/create.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0acc9267f9957f85ac199d70896315e2def1ec08a83a88e404efe8aea930d85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(parts) != 2 || parts[0] == \u0022\u0022 || parts[1] == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 support/azureutil/azureutil.go, support/k8sutil/annotations.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":"support/azureutil/azureutil.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"da79220d2f72b90746eb42db0e0ec8d896c2068b498639b5d934b2e1ac8a883f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(route.Status.Ingress) \u003E 0 \u0026\u0026 len(route.Status.Ingress[0].Conditions) \u003E 0\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/ingress/router.go, hypershift-operator/controllers/sharedingress/sharedingress_controller.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":"control-plane-operator/controllers/hostedcontrolplane/ingress/router.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a071f9e1d0f5fdc3968dc4baac1216d109699cd7e756929ae117705ba5b704d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode == loadBalancerHealthProbeModeShared || mode == loadBalancerHealthProbeModeServiceNodePort\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/config.go, control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/azure/config.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":"control-plane-operator/controllers/hostedcontrolplane/v2/cloud_controller_manager/aws/config.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3e711f45bab465a63e6293f2b6e0851971c7b788b871e4cf84a992b18a9b5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060networkFilter.Name == \u0022\u0022 \u0026\u0026 networkFilter.Description == \u0022\u0022 \u0026\u0026 networkFilter.ProjectID == \u0022\u0022 \u0026\u0026 networkFilter.FilterByNeutronTags.IsZero()\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c6907c7a0058f6199173638dea4cd18edfdf0937c5522d3ab940dee933c4e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodePool.Spec.Platform.AWS != nil \u0026\u0026 nodePool.Spec.Platform.AWS.Placement != nil \u0026\u0026 nodePool.Spec.Platform.AWS.Placement.MarketType == hyper\u2026\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/nodepool/aws.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ae2c8d9aab19b0c2c0913a34536fc9122b3e8b0efc40bc0eb7b18d6ac5048"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ns.Labels == nil || ns.Labels[controlPlaneNamespaceLabel] != \u0022true\u0022\u0060 appears character-identically in 4 files \u2014 contrib/gomaxprocs-webhook/internal/webhook/pod/handler.go, hypershift-operator/controllers/auditlogpersistence/configmap_webhook.go, hypershift-operator/controllers/auditlogpersistence/pod_webhook.go, hypershift-operator/controllers/auditlogpersistence/snapshot_controller.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":"contrib/gomaxprocs-webhook/internal/webhook/pod/handler.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0600cb59a69b2528ecafd965d286adeb3f434a900d9c8e43282e77525acf8ec4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.ClientProvider == nil || o.ClientProvider.ControllerRuntimeClient == nil\u0060 appears character-identically in 3 files \u2014 cmd/oadp/backup.go, cmd/oadp/restore.go, cmd/oadp/schedule.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":"cmd/oadp/backup.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"830136af8b66f986d445751d86fcf63b4bffb6e71082f73c59937f2bd749f497"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.CredentialsFile == \u0022\u0022 \u0026\u0026 o.Credentials == nil\u0060 appears character-identically in 3 files \u2014 cmd/infra/azure/create_iam.go, cmd/infra/azure/destroy.go, cmd/infra/azure/destroy_iam.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":"cmd/infra/azure/create_iam.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0580e60dd25c69f0bbe812f30c7c52604abea4f1d5d8cbbbdef67e1018d61faf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.DiagnosticsStorageAccountType == hyperv1.AzureDiagnosticsStorageAccountTypeUserManaged \u0026\u0026 o.DiagnosticsStorageAccountURI != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 cmd/cluster/azure/create.go, cmd/nodepool/azure/create.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":"cmd/cluster/azure/create.go"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cfa1bb56b884ca7ba90750f07312867f3306051ce3d55ee050cd99f6a15952"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.GetNamespace() == namespace \u0026\u0026 o.GetName() == name\u0060 appears character-identically in 2 files \u2014 control-plane-operator/hostedclusterconfigoperator/controllers/globalps/setup.go, control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.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":"control-plane-operator/hostedclusterconfigoperator/controllers/globalps/setup.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19da13e60ebd24f5a4d579f3248f30de81a0fc097496013b427b5af158dcfb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oauthStrategy != nil \u0026\u0026 oauthStrategy.Type == hyperv1.Route \u0026\u0026 oauthStrategy.Route != nil \u0026\u0026 oauthStrategy.Route.Hostname != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go, control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.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":"control-plane-operator/controllers/awsprivatelink/awsprivatelink_controller.go"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59e650cb8473c4323c4c72f21b82b2b9a194ec54426f1ae89ab7821dd4221fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ok \u0026\u0026 ResourceLifecycle(value) == ResourceLifecycleOwned\u0060 appears character-identically in 4 files \u2014 pkg/capi/aws/api/v1beta1/tags.go, pkg/capi/aws/api/v1beta2/tags.go, pkg/capi/azure/api/v1beta1/tags.go, pkg/capi/gcp/api/v1beta1/labels.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":"pkg/capi/aws/api/v1beta1/tags.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8a3ca7e4d376ded975a2e1ad8ddb4f82daabefd873c7d4e4f2d3cc4b4d70be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldCondition != nil \u0026\u0026 freshCondition.Status == metav1.ConditionUnknown\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"a244a8be3ad559fe7754b4e5bc3105d8129609a02065180da8b294b8149b3043"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldCondition == nil || oldCondition.Message != freshCondition.Message\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0062f7d75349ac61241340f86c61f5bfea73cf4728ef0ad5deb80fd49a6a8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldCondition == nil || oldCondition.Status != freshCondition.Status\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6c4c22d6c0c315fec94e736116c9f2e42d71cc4d2f6e7968832c048e638b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.Getenv(rhobsmonitoring.EnvironmentVariable) == \u00221\u0022 \u0026\u0026 awsutil.IsROSAHCP(cpContext.HCP)\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/role.go, control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/controlplaneoperator/role.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c60b5b816c7009e6177684c8e55408953a3edf0a5b66e06320cd8070f78d355"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ownerRef.Kind == \u0022HostedControlPlane\u0022 \u0026\u0026 ownerRef.APIVersion == hyperv1.GroupVersion.String()\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/azureprivatelinkservice/controller.go, control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go, support/k8sutil/service.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":"control-plane-operator/controllers/azureprivatelinkservice/controller.go"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efbeebfa3a67416827f408d6ea0e9e5f179f8eca46eb921e35cfb7516b5f014"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060portSpec.NodePort == 0 \u0026\u0026 strategy.NodePort != nil\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/kas/service.go, control-plane-operator/controllers/hostedcontrolplane/oauth/service.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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eae38554d7ab3e929fcc47f6bc20221b90c98ecbd0bca8ed1a3e3f1cbe7ac0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.EnableEtcdRecovery \u0026\u0026 hcluster.Spec.Etcd.ManagementType == hyperv1.Managed \u0026\u0026 hcluster.Spec.ControllerAvailabilityPolicy == hyperv1.Highly\u2026\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfb74556eb4feab1a8cc516bc78397dc5e68e4cb3e1a1a13bfa186f2a0efff9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.operateOnReleaseImage != \u0022\u0022 \u0026\u0026 r.operateOnReleaseImage != hcp.Spec.ReleaseImage\u0060 appears character-identically in 2 files \u2014 control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go, control-plane-operator/hostedclusterconfigoperator/controllers/usercabundle/usercabundle.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":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f3786460cb05e670fcff94f4ac9688c757a2ac7edf81c54869626f9d0512eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.Kind.Group != \u0022\u0022 || req.Kind.Kind != \u0022Pod\u0022\u0060 appears character-identically in 2 files \u2014 contrib/gomaxprocs-webhook/internal/webhook/pod/handler.go, hypershift-operator/controllers/auditlogpersistence/pod_webhook.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":"contrib/gomaxprocs-webhook/internal/webhook/pod/handler.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2b4c5c27ed39aea31eea056a2ca4042348f1aa064d228530b8a07fe1d616da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.RequeueAfter == 0 || autoNodeRequeue \u003C result.RequeueAfter\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3777d3e5889a7dc4aeaa2617683cb9eb0b2b8436e9cbae4c075341f5db38f38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s != nil \u0026\u0026 (s.Enabled == nil || *s.Enabled)\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be7c1d3b65436bb93d010c7f464a425b22db9bc0dcef196a0f67896d2149a18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s == nil || ((s.Enabled == nil || !*s.Enabled) \u0026\u0026 len(s.AdditionalPorts) == 0 \u0026\u0026 len(s.AllowedCIDRs) == 0 \u0026\u0026 ptr.Deref(s.Provider, \u0022\u0022) == \u0022\u0022\u2026\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e97fea25914e791690641bfe0097f522cf42e271461f4b04dbb0fd3bdad254a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serviceStrategy.Route != nil \u0026\u0026 serviceStrategy.Route.Hostname != \u0022\u0022\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/infra/infra.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"control-plane-operator/controllers/hostedcontrolplane/infra/infra.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e2d4fad7a271b8705666a184ed1add131831312974f5da339da9572b686bc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strategy.LoadBalancer != nil \u0026\u0026 strategy.LoadBalancer.Hostname != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/kas/service.go, control-plane-operator/controllers/hostedcontrolplane/oauth/service.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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95452894522ae55b62d61a3b2509b485ad5471c500586d7d519653a53948673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strategy.Route != nil \u0026\u0026 strategy.Route.Hostname != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/kas/service.go, control-plane-operator/controllers/hostedcontrolplane/oauth/service.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":"control-plane-operator/controllers/hostedcontrolplane/kas/service.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665725000f0ec28f33cda50caee76eac94cf177586b07c7f55777531d85d7aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subnetFilter.Name == \u0022\u0022 \u0026\u0026 subnetFilter.Description == \u0022\u0022 \u0026\u0026 subnetFilter.ProjectID == \u0022\u0022 \u0026\u0026 subnetFilter.IPVersion == 0 \u0026\u0026 subnetFilter.Gat\u2026\u0060 appears character-identically in 2 files \u2014 pkg/capi/openstack/api/v1beta1/types.go, pkg/capi/openstack/api/v1beta2/types.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":"pkg/capi/openstack/api/v1beta1/types.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10cbd26dc8c9e9051a097483fb88d3489d6f780ab30aaef66c7594366f21406"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportedHostedCluster != nil \u0026\u0026 supportedHostedCluster.Status == metav1.ConditionFalse\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a073028d641d752e87dcfc2053c7745f61274d2ba1c74ccd25049bdaf38c15b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060svc.Spec.ClusterIP == \u0022\u0022 || svc.Spec.ClusterIP == \u0022None\u0022\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.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":"control-plane-operator/controllers/hostedcontrolplane/v2/router/component.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bdbddf01c27d7a278014a4558a73201e509746dab3569177e8132068d5db2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060svc.Type == hyperv1.Route \u0026\u0026 !r.ManagementClusterCapabilities.Has(capabilities.CapabilityRoute)\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"539a54b3b4093963450b7ee232c8ab5402199e422dea22931cf5fdf17f2146d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t.Effect == other.Effect \u0026\u0026 t.Key == other.Key \u0026\u0026 t.Value == other.Value\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/exp/api/v1beta1/types.go, pkg/capi/aws/exp/api/v1beta2/types.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":"pkg/capi/aws/exp/api/v1beta1/types.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce949e490fefabf70f650bf9d14dbe806a5b8604dbef98dac10f61ce89860e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060u.Scheme == \u0022https\u0022 \u0026\u0026 len(u.Host) \u003E 0 \u0026\u0026 len(u.Fragment) == 0\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go, control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c40dfaf910f069b3be1d5aedd469df44531662d19e7a2b16adee18bfaac24b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.ID != \u0022\u0022 \u0026\u0026 !v.Tags.HasOwned(clusterName)\u0060 appears character-identically in 2 files \u2014 pkg/capi/aws/api/v1beta1/network_types.go, pkg/capi/aws/api/v1beta2/network_types.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":"pkg/capi/aws/api/v1beta1/network_types.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21fe9d2a89c98c556c862a25193a1181ad08dcdce26384aa0d3841ac4b4761a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validConfig != nil \u0026\u0026 validConfig.Status == metav1.ConditionFalse\u0060 appears character-identically in 3 files \u2014 control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go, hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c01d5486030f148f6d8712902397a6181c6a00ca4bb9722cf2c363a750fc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validReleaseImage != nil \u0026\u0026 validReleaseImage.Status == metav1.ConditionFalse\u0060 appears character-identically in 2 files \u2014 hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go, hypershift-operator/controllers/hostedcluster/reconcile_legacy.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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a8667ea5ab0e224df0db513157b6bae2fc0acea552bb5f837b6c986077f03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060version.Major \u003E= 5 || (version.Major == 4 \u0026\u0026 version.Minor \u003E= 23)\u0060 appears character-identically in 2 files \u2014 control-plane-operator/controllers/hostedcontrolplane/v2/capi_manager/deployment.go, control-plane-operator/controllers/hostedcontrolplane/v2/cloud_credential_operator/deployment.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":"control-plane-operator/controllers/hostedcontrolplane/v2/capi_manager/deployment.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"41179fbdfae4e7ca185a8628cb471acabf5e8d2e770ae6919b12668628e09aed"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 22/23 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: makeRequest: \u0060makeRequest\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release/notes.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6052659fb162190bbdfdce5dc8abf5f431023108d7c886eda92edae20f72f0"}},{"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":"support/upsert/apply.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fd2c6dfcaee097f6f2a93b526d4d1977498187776a74df8fc478801de1c439"}},{"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":"support/upsert/apply.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a05e156ccf09e804beb4bfb256a3ad2e77af21b994b22ca16e8491a3a608d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.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":"support/releaseinfo/cincinnati_version_resolver.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02385766ce9b5298d20e475526d32a977e8fa386c1f5e3a4f627bbdeba10101"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := client.Get(ctx, types.NamespacedName{Namespace: hc.Namespace, Name: hc.Spec.PullSecret.Name}, \u0026pullSecret); 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":"support/releaseinfo/fake/fake.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db64b06ef1949fb4799e56d0501508192a5b9660fb874ca981431129879f654"}},{"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":"support/releaseinfo/fake/fake.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e219c7586f06b43c54da56150284a69d0ddf878e295ec21efbe814a4a6391d2"}},{"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":"support/reconcilerpolicy/pausereconcile.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"530887bf23c662bd2a3234a26420e7d701944e0dd361c78069797f2b151d5b5c"}},{"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":"support/reconcilerpolicy/scoping.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"be89b27f52fd7845190e8a63ef66ab9c2c4b312196fb4c6872d71c9529017d2c"}},{"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":"support/reconcilerpolicy/scoping.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4c3c3113bd4c20bad3aec888a8f54ffb4ed30055d470217aff454cc7f553f9"}},{"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":"support/config/ownerref.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58947094067622d4fdf6fcb81f1f7c057efb1bf45e8a5f64a5883000ac4ae7"}},{"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":"support/conditions/gcp.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f24c10a7e3fd8c25d55ad3fc1678244c3649470fc4345573ef5d150f2465aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := sigyaml.Unmarshal(manifest, \u0026meta); 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":"support/backwardcompat/backwardcompat.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d371b3c72b79855f93f61a08e1cf83e3b55bc639673910d2d8a624cc34b9ff"}},{"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":"support/awsutil/route53.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"271d0064d9dc99df9c22d69ad4b55f84012172c6153a91d213cee5daa61aec8c"}},{"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":"karpenter-operator/controllers/nodeclass/karpenter_util.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"61247b1c131a08119dbca4bcbc0f62e77fb17bb8174407448b089534157f79b8"}},{"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":"ignition-server/cmd/run_local_ignitionprovider.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7a22e155cf3731bc8b8914380c780abd4a7ff93f097f130e9848197e38b8db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := c.Get(ctx, client.ObjectKey{Namespace: namespace, Name: CASecretName}, ca); 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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9932ebc6e5fa41b51348d51a7e96ac2fa4b583f2f94f544ce0e91e7e63da458"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := c.Get(ctx, client.ObjectKey{Namespace: namespace, Name: ServingCertSecretName}, serving); 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":"hypershift-operator/controllers/webhookcerts/webhookcerts_controller.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e05ca33794637101011910f9fb4d42d9fa60b3836a9531eb000825254b6dc6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, hostedClusters); 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":"hypershift-operator/controllers/scheduler/azure/controller.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d4c4126959a0b9241e948e809a2f3a63e77ad71d660cf013d7a891089d0068"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, hostedClusters); 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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aa18344107489b974f59f739bae914607bf21bd4b58b799187fad1447eb1ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, otherReqServingNodes, client.MatchingLabels{pkgscheduler.OSDFleetManagerPairedNodesLabel: pairLabel}); 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":"hypershift-operator/controllers/scheduler/aws/dedicated_request_serving_nodes.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dbcb151f69bf6f6a8de25d0e0960a2a1b067e4a190c9da5ca3b1391def8e1e"}},{"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":"hypershift-operator/controllers/resourcebasedcpautoscaler/machine_sizes_cache.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9123aca90792e7fcb330ef571be1c253b1d88a8d2e84ac484ba019ee00633"}},{"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":"hypershift-operator/controllers/resourcebasedcpautoscaler/machine_sizes_cache.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"54223493c555364239d70fa4986f7976ddaab12d72b19bf32b0b5520016a68cc"}},{"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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed2a13374e8fa4088078525c586c615411ed5309b55de417cb5c031f56d4a35"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, candidateCIDR, _ := net.ParseCIDR(candidate)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060candidateCIDR\u0060 as if the call succeeded. When \u0060net.ParseCIDR\u0060 fails, \u0060candidateCIDR\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 \u0060candidateCIDR\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":"hypershift-operator/controllers/platform/azure/controller.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4582fe0ea4f87e7717825318d23f9c9a866464c076b673c45280abd5f4c466"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if 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":"hypershift-operator/controllers/nodepool/capi.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1987a068ceb738013c17f4d059308a9996c359fbac68706c54a4a0114e5287"}},{"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":"hypershift-operator/controllers/nodepool/conditions.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"263fe71ed1d0ec199295a797e01273d71ba4f0eb0cb29ae5492ebc9d1be8643e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, nodePoolList, client.InNamespace(cm.Namespace)); 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b39e3b290829852a0aeea1ad4ab3f7db1629f48579ada3723a2cb96954d7f7c"}},{"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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a68996323390c35d71ca5de9c5fc1e8195518d3e317a59784eafde0d77cdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, nodePoolList, client.InNamespace(hc.Namespace)); 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":"hypershift-operator/controllers/nodepool/nodepool_controller.go"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4f2c73e9f650f9b57e28af472100c706d752b1ad3681cb31e67dcc7ea93e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if 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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f1d414bbb916c5f571022f323e4d37b7c91c81b9a39a790b7e93b276eb092d"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if 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":"hypershift-operator/controllers/nodepool/token.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65c7e6adc98f16bcdd8b01d0693f88acac5b61c2f6c2f4ce8473393344ea14e"}},{"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":"hypershift-operator/controllers/nodepool/instancetype/azure/provider.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"049ee7eefffc9f3e92d4824ba9950791d23696978353556dc7a7e6ec624a7096"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if 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":"hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd72fad625ef4e26f677c771c6b2a5155334fca4f15982d4af1beb3d6eed01"}},{"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":"hypershift-operator/controllers/ignitionpayload/controller.go"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"3641707e90ebb5e7f7eb621eb6b625d3a2a6c9c2b98ba6164829755e0cde2db1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, list, client.InNamespace(namespace)); 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":"hypershift-operator/controllers/ignitionpayload/watches.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4d9073fbafd7d51a4bb5684eca16bb436ecc31b7233bcd40d71b9589788da9"}},{"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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e80390ddecf88b0fd8071c389924284468e8a521a8e0a73f0021b8ce2a5601"}},{"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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4655}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f88460a28c4cbc44d07134023e1eb0dc010d2448a85ac956c7c71f63ba248"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060isTrue, _ := strconv.ParseBool(val)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060isTrue\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060isTrue\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 \u0060isTrue\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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":4773}}}],"partialFingerprints":{"codehealthFindingId/v1":"034304e0ebab78c900f35af2ba2adecfe6516b5a74856d00be067d0e53059b2e"}},{"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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":5283}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec45f1f4484c8656b487ccaf29d92f862116c422d2285e328dc15c11e380123"}},{"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":"hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go"},"region":{"startLine":6438}}}],"partialFingerprints":{"codehealthFindingId/v1":"025aa8bc52f4cf28f5cac8373a37d9d5d64015b2409d8a9bec32f6040e225cc7"}},{"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":"hypershift-operator/controllers/hostedcluster/security_context_uid.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"08196ee26da7fb0464a06e0986ce9065bb276128a00cfd6ae1d97b2c10774513"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.List(ctx, backupList); 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":"hypershift-operator/controllers/etcdbackup/reconciler.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"98889bf460648b1ed681d3f7896a1ef6572b5918497728200845ad553e1064f5"}},{"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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbea80f3c9646d73c701c820d6c042d08c70fee51e1584fa4057777feeba0ac"}},{"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":"hack/tools/hypershiftlinter/analyzers/vacuouspass/vacuouspass.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75c2bd758dec98e67fafc9c19d45ac1faec6348d27575fee748d092152d4f80"}},{"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":"hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"50290f96ba40eff26398ee69ccba057f7b5966a7dcdc92c88293772aaa39435f"}},{"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":"hack/tools/hypershiftlinter/analyzers/testcasename/testcasename.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8266e0c43d0b94bbf7467a133cf5ca2077b8da8a8dbabc5981f590f390953aa"}},{"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":"hack/tools/hypershiftlinter/analyzers/sippyannotation/sippyannotation.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df2d0b0f925699ecccecbff5defcf2b3861167177636b4e3d8b3c441c09841a"}},{"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":"hack/tools/hypershiftlinter/analyzers/ipv6url/ipv6url.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775156f9964b7ddba21e84aac1e97cb4bbd57110d2a76a4a06c3f66cc8e4bbc"}},{"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":"hack/tools/hypershiftlinter/analyzers/guestcluster/guestcluster.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a61684a6062e4589832011242576129da7e7993c4fcd9a03170a68ecfb21af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := kyaml.Unmarshal(data, obj); 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":"hack/tools/crd-schema-check/main.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f0868ad7ae4d82a651eb25952471f65777c8e411c9dd005ea6bc1b86e89657"}},{"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":"hack/tools/check-konflux-triggers/main.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4409a684b0b65a45d60a97b55088bd7d4b3100aab87b09e759212eff955b95"}},{"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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddae1574b3e5eb91a97cd1472d0473cf1bbc0bdce865d2a74e41867ff09e3a30"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.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":"control-plane-operator/metrics-proxy/scraper.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd9fb8aaa9ab2af7bbc3acbd0297bfedd03ad20fafc597ae45b9a74177570a"}},{"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":"control-plane-operator/metrics-proxy/tls_util.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"071437e64caf1994c48c362470ef45a79efe3643b05556d979ed8f315a7bbbec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.client.Get(ctx, client.ObjectKeyFromObject(machine), machine); 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":"control-plane-operator/hostedclusterconfigoperator/controllers/inplaceupgrader/inplaceupgrader.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ce2ce54881c06cdb1e06e231b36ed3836616f6b19f11cfe899f8e30b66f8c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, volumeMountInfo, _ := ConvertIdentityProviders(cpContext, identityProviders, providerOverrides(cpContext.HCP), cpContext.Client, deployment.Namespace)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060volumeMountInfo\u0060 as if the call succeeded. When \u0060ConvertIdentityProviders\u0060 fails, \u0060volumeMountInfo\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 \u0060volumeMountInfo\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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/deployment.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ec283c01ba9ce51a47593f47b77d6329d395748dc943393b493047e071226"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/idp_convert.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c6cca5d22864e969776921809189d036359c2a67210f35b624a8541bf16f61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, _, err := api.YamlSerializer.Decode(value, nil, sessionSecrets); 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":"control-plane-operator/controllers/hostedcontrolplane/v2/oauth/sessionsecrets.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"423885eb5c4637592ef3a09effed7dd7fe41f6cc8f98900d7fab2a8ebd4c14d6"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbaf474878b9c301f4c0db3dd8da5c51373b0fda3526cc4511f0c428ad0c5e7"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/pki/ca.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4890717612c7e0e41d7108fe31db8d0024498105d71a8f3ccd6c935a877705e4"}},{"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":"control-plane-operator/controllers/hostedcontrolplane/oauth/idp_convert.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb931965c2f280e24730b9fddcf248e16debc6f4e362d98647e302e17faef959"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(firewall.Description), \u0026marker); 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":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/firewall.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"038f177213f5042b0ce0488376629bc492dbda49ac68cf7e3e0109fa8ea6435e"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if 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":"control-plane-operator/controllers/gcpprivateserviceconnect/psc_endpoint_controller.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6348d9aa41c37272aef5c7cc59c42383b2065f59c99a12dd9b05559aafe2025a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"contrib/repo_metrics/weekly_pr_report.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf8a5f1c4119ce938a447ba29de91b415695304c8c0f9a8aca8d65989c15566"}},{"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/infra/powervs/create.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"be30a720adb6e0a73f61a65c47a45124f710e8b56bb70715362b1ff23a9c121d"}},{"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/infra/powervs/create.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"94001cf1c77e16a2dda4281f25999ad3781ac41ca2875e44999c93293c1ce752"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.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":"cmd/infra/azure/rbac.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfb2272ab107b86379e51ccac528f7d3ca1c100ce413ca96a260cc0201bdcc6"}},{"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/infra/aws/route53.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2b36e8ab91cc6a91547b2090b37d62e6d1299f5a585aa26c8f606717f725f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cfg, _ := config.LoadDefaultConfig(ctx, configOpts...)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cfg\u0060 as if the call succeeded. When \u0060config.LoadDefaultConfig\u0060 fails, \u0060cfg\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 \u0060cfg\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/infra/aws/util/util.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e51f246033065b0c6e26233077b34560b6297cc13cdd74cdab3d2a991156b"}},{"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/fix/dr_oidc_iam.go"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8edd59a0c849eedbd9124389f4c4313972e0be20e1e2b391f5024185e0c3cb"}},{"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/fix/dr_oidc_iam.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db9f009edc26b6a7f28575ff0ca833b15495766b1882ef8e569a17695cb2c71"}},{"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/consolelogs/azure/journals.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc8601824bf7031e12951cd6c3d43f56d6f461b473352f6847473d840ba9251"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 240 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync-global-pullsecret/sync-global-pullsecret.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1cec33c05cc1a0f2f624880df0c9789ad615d53166c0df2a8edb544d45fa54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 398 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65bcc8289cf261e437a4fe6bd6b9f2714cd31a05ff18f158acfc7871ab8e740"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 409 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ea9cb1ffd9b33ddb9e925dc823862278ae38771bdc6b37e46719fe2a869b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 429 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/releaseinfo/registryclient/client.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a9f022e83c2732592cf8289e493d7af9f77225029bd524039de7d86808e5cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 555 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/imageregistry/imagemetadata.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cfa2db8aa7e04a1f75c1930c6b53c51b7a32da9fbe2f270ec55e9a3c0ee7d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 351 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"765cc843e4f29cf062afe5d872bade3afe5c070da096a78031e11c25eb769017"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 403 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/capi-crdmigrator/crd_migrator.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8f42932d8acdd710ee89cea0d9afd9087f7146d6cee988693bd536241a0209"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 290 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63abbc3c04817857559e17e66386f3eeb9f16c83cd684e4e07a7c0bacf6a9f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 301 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1bb738c12011da9607ddcfdc2224acbf18430b9bea4eb12ae74ea5aed75310"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 412 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3b4cf94953abcceb7b0c340892c8a42d427fd1d596bb246f86d2c74a4774b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 423 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"624e85f9eb6211440ef7528b3efc86b69b83225d0f41a002c1bc3985d6dffc94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 458 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ignition-server/controllers/local_ignitionprovider.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ea6dd7a1036b7a4b9feeeb15891ddf2adefaa5514f02bd53d5b10f27e08012"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 200 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/nodepool/kubevirt/imagecacher.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efbff8c844fe25a79a7b7cfce76546311a43d2b0071277143b63a834138bed6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 823 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hypershift-operator/controllers/hostedcluster/network_policies.go"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f7c5202415e2d51ccaf84681e9672f6a7c9ada69fa5b642186bb0a439391e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 469 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850ac0c09d6e522a0e74e6ab482023cead525a2386a0622763f05305c999043"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 476 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2247801482d4f6bbd25e3c24e97ec4ff3c9f203836339db33293bee9f1a937"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 483 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe247b3740281c8a3c5a9dbd10c998c686b1f95e9a1362c7572e29f44d3b3661"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 490 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/main.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a6f473dac2f045c8b1d79fc40ce488769bff40eaba6287fda471cb6e0e0ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 55 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/usercabundle/usercabundle.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17af593d5504a5f9e1de7e093f3b2a668da88910a12f67a9630939527553eed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 378 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c589cdaa2bd3f3c45a53ceb20b6700eee4afd611ec5738e3fe42e4d7c2581b18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 1439 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8ae6786730338d00ebe6a7b07812e57b4cd25ac41bf342c4a60d8e6f1322b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 3143 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"526825b3b88579ed8ec5507dbc9c30493113fe7309cebda5a2c66ce0cda9eeec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 168 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0515434d84e46913a84935665d8804bb448712cde33e0f56cb221151568c43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 223 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/hostedclusterconfigoperator/controllers/machine/machine.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125ded87145602b8ba56e8ad4ca872fbf802052368aa67f25f077a35c863cd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 389 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b996d8a637ca9d08b3b0f79f813168d5d36de8df11aef1a71d69f4866b75dc10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 769 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a390a75739c674f1665c9092af38899aa9fb54210fbfa38a6e9ca11f980bd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 28 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d16d5b69a964b864490b6ef0d447f4bd8c284f71a9009db6f5e3611fe0a25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 32 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4d37ba2941b68852aa7fa6440107226a0f261141abc3c1587bba620f4cfad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 36 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e49b36052ce6a36387f3e346337adedf3e5fd4bb47e72c83fa7d843937985f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 41 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd994d3fdab859ab67118c392869b032e10ae32edec9d14000c6cd1ea2af51a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 51 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aa5b52fdb7888920264b3ce7314429717add08dff8a1ef192b2409697bac96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 55 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f736b1248cffc3fff32b2363539fed9e036442de87664f3c34236de8a91207a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 85 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/errors.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bf42b208dd0883db164f393780b90782178460be43adeb12b733960c419814"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 209 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d78dfca6fa35b09b83b5ea005c90a9ecb022b4686a3eed68bda01e3acfedf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 242 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f0772a0862cd1eaf21e7ad00d50b503d95e8e6d4b544f253339b503e273725"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 249 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd073c9ec18382e506f555a4113219c959089f290a2ab59ae2d85920c38ccc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 344 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af87501c270dfc7bf632394ed41c1710928720a134e0109cbea1c49a758cf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 383 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"522457117fce5e000c284ac2f77e2f851b08750d7f000f31d3ec94b6363d4fc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 390 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"control-plane-operator/controllers/hostedcontrolplane/cloud/gcp/manager.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370cc9bb81fa5922ced949cb779ac7bf06d17ce061442e837b24604065920a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 174 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/infra/aws/destroy.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1254d10ac035306fcf00a4247def6a01e18ade2f37d00a2818f57ccb175ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 566 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba179f64dc5c72522edd79c0cb941bb9628a310b878a54e75a6e7cc85ba620f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 690 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe9fbe0b20ac8a237b4ac99039725394a8dc43aa322f393ce990c67105b2510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 715 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"b657443f6554209db464b2a09b7f6e1f218c6cc3d49e7ca5ed674b98c41a197f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 721 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd07cf2ef4f9ea81fc7227f43b0b6e9a920314b89deb4b15dd4fc4c2e38ebcf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 729 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b630f4e6488da642091a94847452c2db90a87762b26ba7666bc0db03da1b6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 767 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc16c5e36a02de4275d5f0b220a77c7b0872f0dd4d7c14a2fa9591b85a176ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 771 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/dump/dump.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c7ebb60a89a34876f72950654d7d012eee5af54f09b23eac2a9c3be2d0b30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 810 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cluster/core/create.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea16cc57a1fa146d0347a39f15edb36123644132d8e41e3ddc9c721cc5795c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 68 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"availability-prober/availability_prober.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e430bd57111aaa73c7c8cae0b270f849f458c16a680abcb8f7e904631492df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 176 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"availability-prober/availability_prober.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"820599b4300d9202d4c4e2de52b9931aa20746952cfec4ab779402d97ca4e51f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 184 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"availability-prober/availability_prober.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b4d8afe0e02af30dca806dc2a93983bdd035858f0be6b73bdde1110e713b17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 196 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"availability-prober/availability_prober.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1428366519c144c1c4f48c125d81ba0282d6692a2e01b885ee93600cf867b796"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060normalizedProviderID\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":"cmd/consolelogs/azure/journals.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfec2356a3135df4498d6335e5ab4740e8768f652c06114e427aa27640c3a62"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060memberName\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":"etcd-recovery/etcdrecovery.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3249a12c4ccc5366cfb311d176d4fe8b76fb38f15c58d4bd20726f8dd71f5508"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060computeDesiredHash\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":"support/upsert/apply.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8555e072a8ead66eb64e1b06920fd42802beb415af21ac207fc2557186e0a836"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-322","guid":"f9bcce90-227a-d056-9902-7b1c2f9f299c","name":"Key Exchange without Entity Authentication","shortDescription":{"text":"Key Exchange without Entity Authentication"},"helpUri":"https://cwe.mitre.org/data/definitions/322.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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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-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-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-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-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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-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-807","guid":"7b9d7bab-2171-935b-9279-889089164770","name":"Reliance on Untrusted Inputs in a Security Decision","shortDescription":{"text":"Reliance on Untrusted Inputs in a Security Decision"},"helpUri":"https://cwe.mitre.org/data/definitions/807.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-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-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":230,"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."]}]}