{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"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":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"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":"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":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"appStateManager.CompareAppState (cyclomatic 94): appStateManager.CompareAppState has cyclomatic complexity 94 (threshold 15). Of this number, 93 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":"controller/state.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171b5af8c2a1db6a06e5a2ad6916a21bf6a07e96ea916e0d53f76a5415d5581"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationSyncCommand (cyclomatic 69): commands.NewApplicationSyncCommand has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 1 of the 69 points is its own statement and the rest belongs to one function literal inside it that branches (line 1775). 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/argocd/commands/app.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4079001ca310a72fd03a4aa289634347b116ebe445fa3203beaebc139ba63eda"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.NewImportCommand (cyclomatic 65): admin.NewImportCommand has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to one function literal inside it that branches (line 177). 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/argocd/commands/admin/backup.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4d664cfc2a4ed38cfb1b2f4880a09c0d4f18a9ba261b9e7dac34ed08ac1005"}},{"ruleId":"D1","level":"warning","message":{"text":"kustomize.Build (cyclomatic 62): kustomize.Build has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/kustomize/kustomize.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240797dc82fd346c44fdadc6098b8cc70c087f343e8e774e2e8402135ed3e84"}},{"ruleId":"D1","level":"warning","message":{"text":"syncContext.Sync (cyclomatic 60): syncContext.Sync has cyclomatic complexity 60 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 16 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607e1a07977d6d4802e6a4dc9e7e20b105b29566ed90a461fb4e7e1e0482cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"util.ConstructSource (cyclomatic 56): util.ConstructSource has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 1 of the 56 points is its own statement and the rest belongs to one function literal inside it that branches (line 708). 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/util/app.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6973fd031aead57d15cba49cfa1b3524b2f5a78cabc75bda9ed3aebd3585fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"appStateManager.SyncAppState (cyclomatic 52): appStateManager.SyncAppState has cyclomatic complexity 52 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 7 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":"controller/sync.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9dccf2b3721cdc1b1a4e994fb63926ef07527649499d6ff5b90447bdda8183"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ServeHTTP (cyclomatic 52): Handler.ServeHTTP has cyclomatic complexity 52 (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":"server/badge/badge.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d936ca868ab2bcb0f9ead152dd4a8eee83b94688eb16f81aa9c2927e2c7c20a"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationSetReconciler.Reconcile (cyclomatic 51): ApplicationSetReconciler.Reconcile has cyclomatic complexity 51 (threshold 15). Of this number, 49 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5d1c604f560eb5e7734f8bf136c4029ec9b21e16fb1dda2faadce349c6efe3"}},{"ruleId":"D1","level":"warning","message":{"text":"util.SetAppSpecOptions (cyclomatic 49): util.SetAppSpecOptions has cyclomatic complexity 49 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 24 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/util/app.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da48424e01c4aa84309acdedc90b146f8ae1720c8e39f7373753b99c2dc51b"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ServerSideDiff (cyclomatic 48): Server.ServerSideDiff 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":"server/application/application.go"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e0d48edd8c2ac508951337dde130800f472786f2f7b387b5efc42966ae2db"}},{"ruleId":"D1","level":"warning","message":{"text":"syncContext.getSyncTasks (cyclomatic 47): syncContext.getSyncTasks has cyclomatic complexity 47 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 4 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7ec130382f307ede140b281989d056cceb29353d6c2180524bf3cd78026efc"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.populatePodInfo (cyclomatic 46): cache.populatePodInfo has cyclomatic complexity 46 (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":"controller/cache/info.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"828ed8c00f191d1addf0cf8d708725b6efc789eee39d1a6794af841d48b863c4"}},{"ruleId":"D1","level":"warning","message":{"text":"apiclient.NewClientWithContext (cyclomatic 45): apiclient.NewClientWithContext has cyclomatic complexity 45 (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":"pkg/apiclient/apiclient.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32b3b3eb9a5c22d1e090e2907fa21f62bebab17c29d4fa26b29774f3b228619"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.unset (cyclomatic 44): commands.unset has cyclomatic complexity 44 (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/argocd/commands/app.go"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e511f218224dd2b3dc2bb3ba4bd549b437ad0d3415596d98e3571f87f3b6d96"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.finalizeApplicationDeletion (cyclomatic 44): ApplicationController.finalizeApplicationDeletion has cyclomatic complexity 44 (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":"controller/appcontroller.go"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0678dbb689516dc7c07de789b6ef34bf40b4cac85dec508eebacffa042ed6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.processRequestedAppOperation (cyclomatic 44): ApplicationController.processRequestedAppOperation has cyclomatic complexity 44 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 15 belong to 4 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":"controller/appcontroller.go"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea74968964323ff2532d4ae79b4e3ccfd174369d29e195d3f5a505cfd804220"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewProjectSourceIntegrityGitPoliciesUpdateCommand (cyclomatic 42): commands.NewProjectSourceIntegrityGitPoliciesUpdateCommand has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to one function literal inside it that branches (line 379). 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e551340bb7121556a49dc3ed4d43177a77411522f930d044eb72a9cbc705952"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.runRepoOperation (cyclomatic 42): Service.runRepoOperation has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 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":"reposerver/repository/repository.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6ea098786742ec16d89a76bf065fb337714e6f8ec078fe302a21bf3c4f013"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.processAppRefreshQueueItem (cyclomatic 41): ApplicationController.processAppRefreshQueueItem has cyclomatic complexity 41 (threshold 15). Of this number, 38 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":"controller/appcontroller.go"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6d3d96aa8080892f4408b77a919a4cfff36f5ec0ea508c2b0cb7f7facfafbe"}},{"ruleId":"D1","level":"warning","message":{"text":"dex.GenerateDexConfigYAML (cyclomatic 41): dex.GenerateDexConfigYAML 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":"util/dex/config.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefa38a596aa817d93cc88a9c25290973d0db3244bca42b4d52fbdabe8ed410a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppProject.ValidateProject (cyclomatic 39): AppProject.ValidateProject has cyclomatic complexity 39 (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":"pkg/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb96ef10bfbf042dc1904821dc78a342023c0ae836b0c42145321b837fb27f71"}},{"ruleId":"D1","level":"warning","message":{"text":"db.CreateRepoCertificate (cyclomatic 39): db.CreateRepoCertificate has cyclomatic complexity 39 (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":"util/db/certificate.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b9b0ad76bc2e3472cec9f36cbabe0429379542c0b0220f0a3c24d6fa8d15ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Render.deeplyReplaceWithFilter (cyclomatic 38): Render.deeplyReplaceWithFilter has cyclomatic complexity 38 (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":"applicationset/utils/utils.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21362b067d74910f6030f195b681c7137eaee981b8c94a9629136bdba2bcaa15"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.waitOnApplicationStatus (cyclomatic 38): commands.waitOnApplicationStatus has cyclomatic complexity 38 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 13 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":"cmd/argocd/commands/app.go"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9be7692f8bb8157e80ddd1775d51bfb3e11b3fae33bdc21706ae2da6628b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.populateIngressInfo (cyclomatic 38): cache.populateIngressInfo has cyclomatic complexity 38 (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":"controller/cache/info.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02cc9327471343cc8346394548d71f282d32670eb6f3aa66123bda321e05250"}},{"ruleId":"D1","level":"warning","message":{"text":"WebhookHandler.shouldRefreshMatrixGenerator (cyclomatic 37): WebhookHandler.shouldRefreshMatrixGenerator has cyclomatic complexity 37 (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":"applicationset/webhook/webhook.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb591296377099359b4c4554e7c81f620f8e073d6e4e3ba47d1c89982b66e1d"}},{"ruleId":"D1","level":"warning","message":{"text":"appStateManager.GetRepoObjs (cyclomatic 37): appStateManager.GetRepoObjs has cyclomatic complexity 37 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 11 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":"controller/state.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"55348340e9884c01950d5aa76006c12660a0fa1e7ec53bb8de49010265e1c741"}},{"ruleId":"D1","level":"warning","message":{"text":"SCMProviderGenerator.GenerateParams (cyclomatic 35): SCMProviderGenerator.GenerateParams has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/scm_provider.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98be48d7fc06cb890b48422fbad0a5f4d4622e64095218d3386af8c2ad84c53"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.runManifestGenAsync (cyclomatic 34): Service.runManifestGenAsync has cyclomatic complexity 34 (threshold 15). Of this number, 33 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":"reposerver/repository/repository.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"933797eaca511a87289b7335d07e5d3b3d1c92b58958c2070aa80f9c0fde0c70"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.PodLogs (cyclomatic 34): Server.PodLogs has cyclomatic complexity 34 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 14 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":"server/application/application.go"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4538384858c1982b98d9e303475b3b5a181b5a525ecf4f454b445c5ce1547"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.GetManifests (cyclomatic 33): Server.GetManifests has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 519). 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":"server/application/application.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c0303975b32540ec0319e9a98a93b3aa220991829c2ed288d7a136a90b5bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ArgoCDWebhookHandler.HandleEvent (cyclomatic 33): ArgoCDWebhookHandler.HandleEvent has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/webhook/webhook.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb8f1f85c65ba7e1418c459d99ee6faeec4c29492008e49c0deb1ae7a97c08c"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.setApplicationHealth (cyclomatic 32): controller.setApplicationHealth has cyclomatic complexity 32 (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":"controller/health.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef26ba3867ab1d20dab5f2668198293f615bf1eeeb0f558014e248764a397639"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.hideSecretData (cyclomatic 32): ApplicationController.hideSecretData has cyclomatic complexity 32 (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":"controller/appcontroller.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81c00822486603ea3bd17127d17202bd12b03f29c980f83032aeec1e56380b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.executeHooks (cyclomatic 32): ApplicationController.executeHooks has cyclomatic complexity 32 (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":"controller/hook.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aa5273c8266a047877fc32a0935d7386fcad4667a2d9ad10ba1c89a4628f01"}},{"ruleId":"D1","level":"warning","message":{"text":"repository.helmTemplate (cyclomatic 32): repository.helmTemplate has cyclomatic complexity 32 (threshold 15). 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, 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":"reposerver/repository/repository.go"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"53358867702a344e01fb9e783baee99ff519856cfa7828be462af4ba15fbb37b"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Sync (cyclomatic 32): Server.Sync has cyclomatic complexity 32 (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":"server/application/application.go"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6277b95ace3fa18f4ebb5942a31e6990a47d00fa8d6a7a2b2a61a5ba22f4483d"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationDiffCommand (cyclomatic 31): commands.NewApplicationDiffCommand has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to one function literal inside it that branches (line 649). 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/argocd/commands/app_diff.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e5613a149e193fb4da52054eb2ec4d1024088b3d893e6ff0f01671f77eb760"}},{"ruleId":"D1","level":"warning","message":{"text":"health.getCorev1PodHealth (cyclomatic 30): health.getCorev1PodHealth has cyclomatic complexity 30 (threshold 15). Of this number, 26 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":"gitops-engine/pkg/health/health_pod.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f69000f5206f1ad015de741c3f41c434608ef6bafc082f5e9e38b7453659b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.autoSync (cyclomatic 30): ApplicationController.autoSync 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":"controller/appcontroller.go"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9dce2c2516795f3b709ba0c42ccce2f9ef12ba62a9f7d815b799b815eb1620"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.UpdateRevisionForPaths (cyclomatic 30): Service.UpdateRevisionForPaths 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":"reposerver/repository/repository.go"},"region":{"startLine":3582}}}],"partialFingerprints":{"codehealthFindingId/v1":"345505c2b407602dbe80a91e88794423c909f5b99fd6ce69f27a26984ed22cfc"}},{"ruleId":"D1","level":"warning","message":{"text":"terminalHandler.ServeHTTP (cyclomatic 30): terminalHandler.ServeHTTP has cyclomatic complexity 30 (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":"server/application/terminal.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3782982e5ed2d7cad2f7414edf26d8fc9c825fb7b88456542706f052812153"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.UpdateApplicationSetApplicationStatus (cyclomatic 29): Manager.UpdateApplicationSetApplicationStatus 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"67723380bcb4a9592594c55cebdd7b27f4a75d0fef7662ba483e2d5d0e132c11"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.getAppHosts (cyclomatic 29): ApplicationController.getAppHosts has cyclomatic complexity 29 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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":"controller/appcontroller.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a93f059d1aa363d75c7f34cb7da1f0aebcd1c0631fdb604586f665046da4bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.persistAppStatus (cyclomatic 29): ApplicationController.persistAppStatus has cyclomatic complexity 29 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 5 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":"controller/appcontroller.go"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248efbaca1f853471af0d14b028b958d88ade8c77d7ad1e27e5b43e5ed3c818"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.populateGatewayAPIRouteInfo (cyclomatic 29): cache.populateGatewayAPIRouteInfo 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":"controller/cache/info.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"714d651a82d8ef34fe85963bcf16ca97971663d230f80639451024690f1adb2e"}},{"ruleId":"D1","level":"warning","message":{"text":"application.mergeLogStreams (cyclomatic 29): application.mergeLogStreams has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 107, 81, 168, \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":"server/application/logs.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e021041a1b25a8444d3337db5ab9718b76ef5bbc107aa305e61d10e9b5a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Update (cyclomatic 29): Server.Update 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":"server/project/project.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb30c817e74c7ed55afb98b3b4288ab66688854b757d53cb872c5675e7553fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"store.GetManagedLiveObjs (cyclomatic 28): store.GetManagedLiveObjs has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"509c3ae1851b1ba616b6f9ff06546fbc236e235d01be6c922013e99c18e7012c"}},{"ruleId":"D1","level":"warning","message":{"text":"syncContext.runTasks (cyclomatic 28): syncContext.runTasks has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 4 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da63313d55760236377a08e00cf03e728e070bb8b8e4ce0d2c0c14dc1e0dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.applicationEventHandlerFuncs (cyclomatic 28): ApplicationController.applicationEventHandlerFuncs has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 3431, 3479, 3417). 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":"controller/appcontroller.go"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"365ab571b6322001a9ad09920f75d0f738bbaad7df1f18c9394ea026e0548dd9"}},{"ruleId":"D1","level":"warning","message":{"text":"liveStateCache.getCluster (cyclomatic 27): liveStateCache.getCluster has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 609, 567). 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":"controller/cache/cache.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b2483a8a525b746c867297a23ed5f6ed58a39796726e0aca3f8745df982e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncWindows.Matches (cyclomatic 27): SyncWindows.Matches 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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"120874fa812e5d17739bfacd7494a75985ddcf837abe8bacdf5f2a5949ab6aac"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.populateHelmAppDetails (cyclomatic 27): Service.populateHelmAppDetails 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":"reposerver/repository/repository.go"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8f9e2fea1ca0d91e166f870eabdb5c055501398d942bdcd1a8102122d1addb"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.printAppSummaryTable (cyclomatic 26): commands.printAppSummaryTable 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":"cmd/argocd/commands/app.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d156d2946418bba1580b5dd823577577b385ed9d4c661ff489ad933caff85cb"}},{"ruleId":"D1","level":"warning","message":{"text":"headless.MaybeStartLocalServer (cyclomatic 26): headless.MaybeStartLocalServer has cyclomatic complexity 26 (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/argocd/commands/headless/headless.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"db56ed737152a8f3651dda977a5e56655e4c71db4436fde250a4acddd14fc6b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.handleCommitRequest (cyclomatic 26): Service.handleCommitRequest has cyclomatic complexity 26 (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":"commitserver/commit/commit.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"33004ffea4aa4f18c3db6e59b866a469e5ea94405042bfed925388ece0162796"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.generateGatewayURLs (cyclomatic 26): cache.generateGatewayURLs 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":"controller/cache/info.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8190f8c874fa02e4b150930257c9c45ece68b18ce97e68c64134a0ee3113a073"}},{"ruleId":"D1","level":"warning","message":{"text":"application.init (cyclomatic 26): application.init has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 337, 286, 330). 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a9f6d6c8b22a3c06090cf6417d818a562b567a58fd1ad533554ccab644cac"}},{"ruleId":"D1","level":"warning","message":{"text":"repository.GenerateManifests (cyclomatic 26): repository.GenerateManifests 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":"reposerver/repository/repository.go"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3a22f475d6e8fc9849ad59845b719ea0f63d649624af4f0b8f1d540ff394ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ArgoCDServer.Run (cyclomatic 26): ArgoCDServer.Run has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 8 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":"server/server.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"48941d4855413490a4f9bde7d2d41da04f2e233042da6d1f56394c1eac37f970"}},{"ruleId":"D1","level":"warning","message":{"text":"files.untar (cyclomatic 26): files.untar 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":"util/io/files/tar.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d727f952b915f7e18f0c4542b0f6f5a63fbb120ee0a39951cd463342ea8b1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationSetReconciler.setApplicationSetStatusCondition (cyclomatic 25): ApplicationSetReconciler.setApplicationSetStatusCondition has cyclomatic complexity 25 (threshold 15). Of this number, 22 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"0016e9bb5676e51c9c41bfd511b2379b141cd023301407d370667768aee15f49"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.getResourceTree (cyclomatic 25): ApplicationController.getResourceTree has cyclomatic complexity 25 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 8 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":"controller/appcontroller.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5febf49aa228e786216e36ec3e895c596a3e11f6f742dd35e93f3072d71c5d2"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.populateNodeInfo (cyclomatic 25): cache.populateNodeInfo 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":"controller/cache/info.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68d91bed83974555ae32dfe7b32eeb16afa97cf954cad38690b5b8b10e89a4"}},{"ruleId":"D1","level":"warning","message":{"text":"diff.HideSecretData (cyclomatic 24): diff.HideSecretData 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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ed14a87b96466fbd424166849c57945fda1f8c6caf6217e2efc7be5cc4a07d"}},{"ruleId":"D1","level":"warning","message":{"text":"DuckTypeGenerator.GenerateParams (cyclomatic 24): DuckTypeGenerator.GenerateParams 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":"applicationset/generators/duck_type.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea63dd0433dd2ce97990ac4a16a73a847f3844685f92751a810a4cf0facac0"}},{"ruleId":"D1","level":"warning","message":{"text":"PullRequestGenerator.selectServiceProvider (cyclomatic 24): PullRequestGenerator.selectServiceProvider 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":"applicationset/generators/pull_request.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b2bf96b3817e02fe09ae9f00c43e4f9883317234e5d1d131d8554b18b73c9d"}},{"ruleId":"D1","level":"warning","message":{"text":"command.NewCommand (cyclomatic 24): command.NewCommand has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 101). 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/argocd-applicationset-controller/commands/applicationset_controller.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b38aed980904ed4e4d2e047eb185a2745085bc1ad8b79ceb90ec1a22078970f"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewLoginCommand (cyclomatic 24): commands.NewLoginCommand has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 78). 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/argocd/commands/login.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba74e233bf2c55c996dcdd2b403012665387cb2d3217ef1a2fff0eac00179a"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.GetManifestsWithFiles (cyclomatic 24): Server.GetManifestsWithFiles has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 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":"server/application/application.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7c4e3c831f8b41e30e224ba17711f35b5d1aa9921b13e7d83973f2362790f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ArgoCDServer.watchSettings (cyclomatic 24): ArgoCDServer.watchSettings 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":"server/server.go"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8355738f84ca9cc5759fa2432a90d040e1c0589250c225496695f8dc6d0e3c9"}},{"ruleId":"D1","level":"warning","message":{"text":"tgz.tgzFile (cyclomatic 24): tgz.tgzFile has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"util/io/files/tar.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc4689dd94e2f36fbc97512d8c760fb0d6230ea8c9f1146a76644c020d66732"}},{"ruleId":"D1","level":"warning","message":{"text":"syncContext.applyObject (cyclomatic 23): syncContext.applyObject 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e360325f3e774614d06f276e32606e43856e1fdff7357a204f37286fba5aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.resolveSourceRevisions (cyclomatic 23): Server.resolveSourceRevisions 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":"server/application/application.go"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c52a16b53aa8c05e3bdbf810467a14ccf2852a1ec666ccb0f63d367dbcdb2f1"}},{"ruleId":"D1","level":"warning","message":{"text":"exec.RunCommandExt (cyclomatic 23): exec.RunCommandExt 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":"util/exec/exec.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e410fcfc7607b27b929524ac3b45afb0c8d3026a382286654ed3eaae85b839e"}},{"ruleId":"D1","level":"warning","message":{"text":"nativeHelmChart.ExtractChart (cyclomatic 23): nativeHelmChart.ExtractChart 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":"util/helm/client.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd7becc7db416e9f349eccdb9088f1c1b0cf86e9693c40c1f628bcaf026acd1"}},{"ruleId":"D1","level":"warning","message":{"text":"health.GetHealthCheckFunc (cyclomatic 22): health.GetHealthCheckFunc has cyclomatic complexity 22 (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":"gitops-engine/pkg/health/health.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e8785b32f90172a3a74a8d45c7ae30bdac791a96fd26473dc038beba118cd4"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationSetReconciler.createOrUpdateInCluster (cyclomatic 22): ApplicationSetReconciler.createOrUpdateInCluster has cyclomatic complexity 22 (threshold 15). 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 746). 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4913a22681dd269e5b12452ea43f426c42fe399d088650101076a9efdf9fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationGetCommand (cyclomatic 22): commands.NewApplicationGetCommand has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 385). 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/argocd/commands/app.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7f1eedf26d69dae9c8fef5e61802f5c2653861cc68a845431fca2ab112f95"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationManifestsCommand (cyclomatic 22): commands.NewApplicationManifestsCommand has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 2915). 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/argocd/commands/app.go"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a2e333093ed12fd42832bd6634f205706e07ae463c3dccb1946b7dd5038001"}},{"ruleId":"D1","level":"warning","message":{"text":"util.setHelmOpt (cyclomatic 22): util.setHelmOpt 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":"cmd/util/app.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2682a2d7a7aa1b500a89da237aa5f7a5bf9f26ccd025f2efe0546ff34a90925d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppProject.isDestinationMatched (cyclomatic 22): AppProject.isDestinationMatched has cyclomatic complexity 22 (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":"pkg/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"97861e9eb8a0f60b660f90336c26ff8f66a7f406d61f4349c27f77c2aaffae2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Cluster.rawRestConfig (cyclomatic 22): Cluster.rawRestConfig 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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":4394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f1e8627446597034f8d6174460a4a6da45085d3c248a020c50f45572dbdeac"}},{"ruleId":"D1","level":"warning","message":{"text":"repository.getResolvedValueFiles (cyclomatic 22): repository.getResolvedValueFiles has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"reposerver/repository/repository.go"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d19ef6226561dd98ea54bab2a4ea0b165927c1fc955dec7a2c6e9fed455bea5"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Get (cyclomatic 22): Server.Get has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"server/application/application.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af53a3337ac3f447ff29b246e42ee8705039e896b60231eab0b78f818ac6ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.validateAndNormalizeApp (cyclomatic 22): Server.validateAndNormalizeApp 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":"server/application/application.go"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23387bb54f250ebd620370861ad22f6a3584f1cfcbdeaea6fe43d044f7a0610"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Get (cyclomatic 22): Server.Get 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":"server/settings/settings.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf18af0dcead5284365194dfc7517e504992e9383277bf75d8297420e5df63e"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionManager.Parse (cyclomatic 22): SessionManager.Parse has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"util/session/sessionmanager.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"364beebb2625c96f9b0757517f52a916e18f65a4ff10d60dad969b75811576a6"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.parseAccounts (cyclomatic 22): settings.parseAccounts 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":"util/settings/accounts.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5f75a1faa529e44ab8c02266a4c31e85c006f5eca2b901e664aad499886c84"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.UpdateApplicationSetApplicationStatusProgress (cyclomatic 21): Manager.UpdateApplicationSetApplicationStatusProgress 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1429ddbc2ece408a45197fa5280701ca01f838fc86b30016087807adf056b6"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewCommand (cyclomatic 21): commands.NewCommand has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 121). 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/argocd-server/commands/argocd_server.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdfb90eeb412bdf9c8d6d8609284d6ac6bc365c1539e9c8adebbc700739e607"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.RunResourceActionV2 (cyclomatic 21): Server.RunResourceActionV2 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":"server/application/application.go"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07a00e9a8495a77741a9012cae227233a5198c6339fcdea990ee6372ba99934"}},{"ruleId":"D1","level":"warning","message":{"text":"db.RemoveRepoCertificates (cyclomatic 21): db.RemoveRepoCertificates 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":"util/db/certificate.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"579780fcdc218c600b79d0d1b101885af96106a1730e6c4a0236605667be465c"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientApp.HandleCallback (cyclomatic 21): ClientApp.HandleCallback 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":"util/oidc/oidc.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cdc59e323721d79b0a8f54f1a924c808781adb297347c6ba717266bace9f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientApp.GetUserInfo (cyclomatic 21): ClientApp.GetUserInfo 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":"util/oidc/oidc.go"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a6e52f817c707034f53293095666f402171016fd413a0638ed77905c7cd43"}},{"ruleId":"D1","level":"warning","message":{"text":"sourceintegrity.SyncKeyRingFromDirectory (cyclomatic 21): sourceintegrity.SyncKeyRingFromDirectory has cyclomatic complexity 21 (threshold 15). 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, 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":"util/sourceintegrity/gpg.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab2ee0a06dda4e70c1038f0fc91e9630d49be440255c760e7ce8b4cec7cf1ad"}},{"ruleId":"D1","level":"warning","message":{"text":"legacyEngine.sync (cyclomatic 20): legacyEngine.sync has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"732489b6188f46ce1b5e5a217ea0d9958b96c57d92035eda99b533245a4cd728"}},{"ruleId":"D1","level":"warning","message":{"text":"progressivesync.buildAppDependencyList (cyclomatic 20): progressivesync.buildAppDependencyList 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bda99294cc214926436f0572ca50bdf2158a89092d7896d8c7ab565a0cf494d"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook.shouldRefreshPRGenerator (cyclomatic 20): webhook.shouldRefreshPRGenerator 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":"applicationset/webhook/webhook.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f4c1ce0c82d0afca376db127bae76e54f91f4157363e154ace15758681ec57"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewCommand (cyclomatic 20): commands.NewCommand 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 58). 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/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8625a2ae88f142491766329f5dd85e97a54f296b6121f2a96124993ff16259d2"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewClusterAddCommand (cyclomatic 20): commands.NewClusterAddCommand 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 96). 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/argocd/commands/cluster.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b4cfb2b1f253ec2dd1fad10f5b502509ca06c83f121bd92e4a644a821c5005"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewRepoAddCommand (cyclomatic 20): commands.NewRepoAddCommand 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 118). 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/argocd/commands/repo.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"609dd63bcba80db953d6cce559a465e00bd87c818cdf5e50daf6c3bbe115cdb2"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.cleanupHooks (cyclomatic 20): ApplicationController.cleanupHooks 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":"controller/hook.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d112ba183eb72be377385115affd033cb01c0dad160a13a00e1696cd1b2adb"}},{"ruleId":"D1","level":"warning","message":{"text":"Hydrator.hydrate (cyclomatic 20): Hydrator.hydrate 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, 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":"controller/hydrator/hydrator.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c84bda678968cca9e2e2c5ef4ac30ec99fc61d47121345812fe8e5235718a9"}},{"ruleId":"D1","level":"warning","message":{"text":"appStateManager.evaluateRevisionChanges (cyclomatic 20): appStateManager.evaluateRevisionChanges 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":"controller/state.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6dc616717f7ca2e75e9260844405c8f8a41543788465cf3c79374efe9a9efe"}},{"ruleId":"D1","level":"warning","message":{"text":"Repository.CopyCredentialsFrom (cyclomatic 20): Repository.CopyCredentialsFrom 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":"pkg/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d4b8d913b555cbc25e8cef4e984daf60d94a97bc3dec69db2d542181baafd7"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Create (cyclomatic 20): Server.Create 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":"server/application/application.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4932c82822de124d01a4e9132bbd0e9ed09f4260f1f2a4a288bf821df9bcbc6"}},{"ruleId":"D1","level":"warning","message":{"text":"kube.SetAppInstanceLabel (cyclomatic 20): kube.SetAppInstanceLabel 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":"util/kube/kube.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71d0235237f6b281df793f2196826be0566d2d300337447f1b1d44270f4c31"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.NewExportCommand (cyclomatic 19): admin.NewExportCommand has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 44). 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/argocd/commands/admin/backup.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"75570ec2878ea9e4406ff85607966ad9d68ee26f125fa7d01515ab9bc4ea93c8"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.loadClusters (cyclomatic 19): admin.loadClusters has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"cmd/argocd/commands/admin/cluster.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24352575a7a05a45639164f3053498f6d4b9118a02488675db77fc3a10d3814"}},{"ruleId":"D1","level":"warning","message":{"text":"util.setKustomizeOpt (cyclomatic 19): util.setKustomizeOpt 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/util/app.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"342dc00d7de41238ea5c00e0bb0a9fd369fce18c86f5c0326b8198b340fc3233"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.NewApplicationController (cyclomatic 19): controller.NewApplicationController has cyclomatic complexity 19 (threshold 15). Of this number, 10 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":"controller/appcontroller.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8fa67465691ff91737402e65b5b74c3699d924cbb75f62f8241b529098de14"}},{"ruleId":"D1","level":"warning","message":{"text":"appCollector.collectApps (cyclomatic 19): appCollector.collectApps 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":"controller/metrics/metrics.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d8317670e00424d07225872fa7497210cc49e4be6b3f427269ea38b86661c0"}},{"ruleId":"D1","level":"warning","message":{"text":"reposerver.StartGPGWatcher (cyclomatic 19): reposerver.StartGPGWatcher has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 32, 25). 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":"reposerver/gpgwatcher.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b93f6cb742b3d73a4630ff5a796087157b88e31a103bca3e0638443fe32725"}},{"ruleId":"D1","level":"warning","message":{"text":"repository.getHelmRepos (cyclomatic 19): repository.getHelmRepos 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":"reposerver/repository/repository.go"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4244071ee8526de5fcf5d00dcb3353ac61ea553731157c738fd4579f2a5de6"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.GenerateManifest (cyclomatic 19): Service.GenerateManifest has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"reposerver/repository/repository.go"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c35fcfd1a286e82a8cc4fd27e613d0fcca12e57aad20b7bae716aaec7bb568"}},{"ruleId":"D1","level":"warning","message":{"text":"server.bug21955WorkaroundInterceptor (cyclomatic 19): server.bug21955WorkaroundInterceptor 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":"server/server.go"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef4f25d26b50f36bc318589fb13cfe7a7dfb79d37d8c8ae7c259e06deb08ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"git.DiscoverGitHubAppInstallationID (cyclomatic 19): git.DiscoverGitHubAppInstallationID 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":"util/git/creds.go"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"904155fb206d970df2069fc20217689797a1842e45f4332b59b72eb5559da7e8"}},{"ruleId":"D1","level":"warning","message":{"text":"nativeHelmChart.GetTags (cyclomatic 19): nativeHelmChart.GetTags 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":"util/helm/client.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7026e1f6a52a719daae44a0be4df4f53520a377477c5cb9895f77f8eea32cad2"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsManager.InitializeSettings (cyclomatic 19): SettingsManager.InitializeSettings has cyclomatic complexity 19 (threshold 15). Of this number, 11 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":"util/settings/settings.go"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a973a5edafff35dc77e86ade9ee5ea343bf9960790409d90e665e8dd31838638"}},{"ruleId":"D1","level":"warning","message":{"text":"kubectlResourceOperations.newApplyOptions (cyclomatic 18): kubectlResourceOperations.newApplyOptions 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":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed7f07eee7dcc8b90fd4783c2f3626d3dfc22f697a7f991f3ad18b575d762b0"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.PerformReverseDeletion (cyclomatic 18): Manager.PerformReverseDeletion 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d26ccda8aae57047c47257cde0938e7835dc47ffc91317b04dbc60c9917d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewCommand (cyclomatic 18): commands.NewCommand has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 95). 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/argocd-repo-server/commands/argocd_repo_server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"29181168f3eec64555c2d0e81b61612cc81b7b1682e3bcfa0e21cf11dd6eb84c"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.printResources (cyclomatic 18): commands.printResources 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/argocd/commands/app_resources.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb67bd109bd9d7b7ce94053c0486b87163a9c59e370b38f68238a7a206b479c9"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.NewRBACCanCommand (cyclomatic 18): admin.NewRBACCanCommand has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 166). 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/argocd/commands/admin/settings_rbac.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c187e3f5eb2d114a5dcb438e1f548c97bf61b4602759dc4b3935ba0e593f5b74"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.handleObjectUpdated (cyclomatic 18): ApplicationController.handleObjectUpdated 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":"controller/appcontroller.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef14bb30a6485fc6fdec92a473cd1688f70692c5c52e06d66d1d1929645b69"}},{"ruleId":"D1","level":"warning","message":{"text":"application.streamApplicationListJSON (cyclomatic 18): application.streamApplicationListJSON 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc628dc6ae1d5b1b938941e6269c929fa0c628cd68827af1308aa960bf7d07e"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncWindows.canSyncFrom (cyclomatic 18): SyncWindows.canSyncFrom 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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5bbcf9840bb3d624ac631266d40bba4af14bc8e555f8f56a4bcb59468e898e"}},{"ruleId":"D1","level":"warning","message":{"text":"repository.getPotentiallyValidManifestFile (cyclomatic 18): repository.getPotentiallyValidManifestFile 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":"reposerver/repository/repository.go"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af5da171837d9c664b7c0e36fed0aabe874a9113b5a378db82362196bc776c3"}},{"ruleId":"D1","level":"warning","message":{"text":"application.isTheSelectedOne (cyclomatic 18): application.isTheSelectedOne has cyclomatic complexity 18 (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":"server/application/application.go"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870439fc56073347e165af2a9af704a02c793702475368fc2102796725ee5e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Create (cyclomatic 18): Server.Create 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":"server/applicationset/applicationset.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c2f8aac8f08a93dfdfeca954153cbce0ea4ffb897995afed5ca1d335690f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.RotateAuth (cyclomatic 18): Server.RotateAuth 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":"server/cluster/cluster.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b7a2f5b5d7a933d926abcf03218ebac250c692e5eccf7038a0fbd3089f87e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ServeHTTP (cyclomatic 18): Handler.ServeHTTP 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":"server/logout/logout.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b147c981679a05b53c15d583e8e5ca87773eb4252c4116acd01d45cba3d344e"}},{"ruleId":"D1","level":"warning","message":{"text":"db.ListRepoCertificates (cyclomatic 18): db.ListRepoCertificates 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":"util/db/certificate.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b78b0b426919a395b5c68667e48385fc4ced569704a65b9557313592d7c46"}},{"ruleId":"D1","level":"warning","message":{"text":"nativeGitClient.resolveRevisionWithOptions (cyclomatic 18): nativeGitClient.resolveRevisionWithOptions 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":"util/git/client.go"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"454ae0402dc3c8ae4e4c1ecb8583be9084f5a0fdd6a15cdf95af1fbb6dc74b05"}},{"ruleId":"D1","level":"warning","message":{"text":"nativeOCIClient.extract (cyclomatic 18): nativeOCIClient.extract 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":"util/oci/client.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae53d180028e6175a4aed64a3e551b6e2369db603dda93e514dce1fc68cd457a"}},{"ruleId":"D1","level":"warning","message":{"text":"compressedLayerExtracterStore.Push (cyclomatic 18): compressedLayerExtracterStore.Push 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, 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":"util/oci/client.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4437225b10102c7fb091b49d8a554c11ab74fc724757e6b7d98e8cb558e319e"}},{"ruleId":"D1","level":"warning","message":{"text":"sourceintegrity.parseGitCommitVerification (cyclomatic 18): sourceintegrity.parseGitCommitVerification 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":"util/sourceintegrity/gpg.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2566dde636c95ebea12704a5279f504f07f63d69d293e54f948fc8d20cc6aa"}},{"ruleId":"D1","level":"warning","message":{"text":"tls.generate (cyclomatic 18): tls.generate 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":"util/tls/tls.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb299b693625d61c784b1ef1782c6e1f5e0510498b14f39f020e58e7f86a22d"}},{"ruleId":"D1","level":"warning","message":{"text":"syncContext.terminateHooksPreemptively (cyclomatic 17): syncContext.terminateHooksPreemptively 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a7c3e0696a017f2f3b980e7c035ae01823ed7846f19753ae8454df31a16bb"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationSetReconciler.setAppSetApplicationStatus (cyclomatic 17): ApplicationSetReconciler.setAppSetApplicationStatus 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, 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf678c7c74646edfaced74180bca81371161e4ff5feb916cb9993d7a82c26bd0"}},{"ruleId":"D1","level":"warning","message":{"text":"MatrixGenerator.GenerateParams (cyclomatic 17): MatrixGenerator.GenerateParams 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":"applicationset/generators/matrix.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43a4b3663329afec42cc4caff73d2bd13c99a3472e2e07a7afdb51e4469f45c"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.oauth2Login (cyclomatic 17): commands.oauth2Login has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 337, 431). 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/argocd/commands/login.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc4dd3eee526535e84f7c6685ea29450e35e4b927f329251dc5d5c37503c6db"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewLogoutCommand (cyclomatic 17): commands.NewLogoutCommand has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 37). 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/argocd/commands/logout.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"880428866aff1de2c4c052ec90a9f95fce6101524b15d72e9b4f4188b0970d52"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewRepoCredsAddCommand (cyclomatic 17): commands.NewRepoCredsAddCommand has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 99). 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/argocd/commands/repocreds.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"758eb48f7c906f8d416b5bedb9c03929caced2241e4971845260ec65c2cc9e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"admin.updateProjects (cyclomatic 17): admin.updateProjects 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/argocd/commands/admin/project.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d2c125889e4dd0ad3964ce000a143a9f0db04256d52ead90f5ab11d416e32e"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.isKnownOrphanedResourceExclusion (cyclomatic 17): controller.isKnownOrphanedResourceExclusion 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":"controller/appcontroller.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"35248dce56ee0815fb4aff715eaad69d6a39e87dadc386ea43753fd59a622d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationController.persistOperationStateFallback (cyclomatic 17): ApplicationController.persistOperationStateFallback 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":"controller/appcontroller.go"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6122f5f62f8dad287fbd35e0be04558439d6a4aa9e5375cacd40e7c5d3d5dce"}},{"ruleId":"D1","level":"warning","message":{"text":"client.startGRPCProxy (cyclomatic 17): client.startGRPCProxy 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 144). 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":"pkg/apiclient/grpcproxy.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c3f54c4f93f3b80417d08efef563ac83a413aa460556a53b1c181a249a4e61"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationSetStatus.SetConditions (cyclomatic 17): ApplicationSetStatus.SetConditions has cyclomatic complexity 17 (threshold 15). Of this number, 13 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":"pkg/apis/application/v1alpha1/applicationset_types.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cf37536a265fecc602f769c9f6ab0ada79f4b673ce95cf1b4aa57c6e8be239"}},{"ruleId":"D1","level":"warning","message":{"text":"Repository.CopyCredentialsFromRepo (cyclomatic 17): Repository.CopyCredentialsFromRepo 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":"pkg/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ccf5cb35467e0301be29beaa7beca336ea6036a4776a95be922a5d0642bd07"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.UpdatePassword (cyclomatic 17): Server.UpdatePassword 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":"server/account/account.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd95c7ecfba742cb79ba1e662a281d49d128b0f7a1e73e524f3a8fa59295761e"}},{"ruleId":"D1","level":"warning","message":{"text":"extension.validateConfigs (cyclomatic 17): extension.validateConfigs 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":"server/extension/extension.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3f7e179043476940c1012693706c9ce60fbfd3e41407bdff00d67dcd40b27f"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.GetAppDetails (cyclomatic 17): Server.GetAppDetails 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":"server/repository/repository.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"915b781010d2e02e008de01bac45217c66ba9247c80f02369db734990490e768"}},{"ruleId":"D1","level":"warning","message":{"text":"ArgoCDServer.getClaims (cyclomatic 17): ArgoCDServer.getClaims 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":"server/server.go"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de5378af74c9613185ce292c8fc52433142d7f143fe5052debdc2c1e57c1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"argo.ValidateRepo (cyclomatic 17): argo.ValidateRepo 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":"util/argo/argo.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac77dccc91e265850a96febe929573d38807e33e41734ca1e115ec7f4651f1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"SSHCreds.Environ (cyclomatic 17): SSHCreds.Environ has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"util/git/creds.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"29537a973ee8f2fbac5b3df9e0176f6b94ba979fc43b4ab37a3b39baabde00f6"}},{"ruleId":"D1","level":"warning","message":{"text":"legacyConfig.merge (cyclomatic 17): legacyConfig.merge 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":"util/notification/settings/legacy.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b424653840fc660ba669689eac45d333c28f598886b57d064d0d089c24a17c"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsManager.appendResourceOverridesFromSplitKeys (cyclomatic 17): SettingsManager.appendResourceOverridesFromSplitKeys 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":"util/settings/settings.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"be46ed1d965f5d7a8cd524f475d5bd401d33c6644eebe75e30edb9c55b495320"}},{"ruleId":"D1","level":"warning","message":{"text":"tls.CreateServerTLSConfig (cyclomatic 17): tls.CreateServerTLSConfig 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":"util/tls/tls.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7f286bb8b8ca7537c4c5aa6bc4aa413ae0ad31883197cd3fda7eec0ac7e435"}},{"ruleId":"D1","level":"warning","message":{"text":"trace.collectorTLSCredentials (cyclomatic 17): trace.collectorTLSCredentials 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":"util/trace/trace.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c34a3b1194771fc994ccd7bb3cb6bc8989337b591ad0da5ffa8f94d4d3ab85"}},{"ruleId":"D1","level":"warning","message":{"text":"legacyEngine.watchEvents (cyclomatic 16): legacyEngine.watchEvents has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 351). 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a24522f4a4cc2af6c2af3a0ba6bebddcca77af7ed3c27e8440929dcfdf07857"}},{"ruleId":"D1","level":"warning","message":{"text":"diff.NormalizeSecret (cyclomatic 16): diff.NormalizeSecret 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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a4f754732d918becc98c00e4e7b32c3b3687bf6174b87e3bbd52b55ad7544"}},{"ruleId":"D1","level":"warning","message":{"text":"Requirement.Matches (cyclomatic 16): Requirement.Matches 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":"applicationset/utils/selector.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77324e307b641ccb3ad26149543c2e346dd7ae18182b21197096aa9f9751f40"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewCommand (cyclomatic 16): commands.NewCommand has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 111). 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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b965aa2e87a06dc05cf7df33c8c3b1cb9cb04a91cdafbe2e1b815b6dc3800fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationDeleteCommand (cyclomatic 16): commands.NewApplicationDeleteCommand has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 1290). 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/argocd/commands/app.go"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c548dbff3a8f991d8555c47d5878767aba904f58324ec833aa191315c0e9f4"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.newServerSideDiffStrategy (cyclomatic 16): commands.newServerSideDiffStrategy has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 222). 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/argocd/commands/app_diff.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa25be541ba536bec69a764db9f3c62da65f78d86e3045d5c319183002e7c08"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewApplicationSetCreateCommand (cyclomatic 16): commands.NewApplicationSetCreateCommand has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 153). 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/argocd/commands/applicationset.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1cb0e08cd80e34cd212539fbd9cb96080f16a80ece3c401eaeb84364e29600"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.printProject (cyclomatic 16): commands.printProject 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/argocd/commands/project.go"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e3094d5efcc5fb7b638ae1b47546df4b59e096a326120a5454a484c8d9b191"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.NewProjectSourceIntegrityGitPoliciesDeleteCommand (cyclomatic 16): commands.NewProjectSourceIntegrityGitPoliciesDeleteCommand has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 177). 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2dcb657194a81431c4ec4a26e82a7e80bcaaa3a09fa6adb3beb6527002035d"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Delete (cyclomatic 16): Server.Delete 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":"server/application/application.go"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcb3628f0c4f096e5666aa482b9d358a2cf6948e48a2ad55372efd9033476aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ArgoCDServer.newStaticAssetsHandler (cyclomatic 16): ArgoCDServer.newStaticAssetsHandler has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 1569). 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":"server/server.go"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c7b2bb8abfb9a3f29e11e420e950f66b9af855bd1992f2cd51dec249108b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"argo.ValidatePermissions (cyclomatic 16): argo.ValidatePermissions 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":"util/argo/argo.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96fb41e5efb7d5bb5b5d8806bb854abc8768324ce5c674a552484473094193f"}},{"ruleId":"D1","level":"warning","message":{"text":"git.newAuth (cyclomatic 16): git.newAuth 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":"util/git/client.go"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ac1c5c10143c224e3f2e917fd636869be974a892ab4fc6acd8075e044b60b"}},{"ruleId":"D1","level":"warning","message":{"text":"kube.PortForward (cyclomatic 16): kube.PortForward has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"util/kube/portforwarder.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6724605850e6e51fc11dfa41632880d1dbf55011bbd8b1da71564e1114637361"}},{"ruleId":"D1","level":"warning","message":{"text":"sourceintegrity.GetInstalledPGPKeys (cyclomatic 16): sourceintegrity.GetInstalledPGPKeys 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":"util/sourceintegrity/gpg.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e284bf104bfcf2004b63ac57f043fb6d305ae469925be381ccd3fc8c4498dcd4"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook.ParsePushEvent (cyclomatic 16): webhook.ParsePushEvent has cyclomatic complexity 16 (threshold 15). 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":"util/webhook/push.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e19125e0f3c443df7ebf6f83106901aee8d3b6092b61ece954e1804250d0902"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook.NewParsers (cyclomatic 16): webhook.NewParsers 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":"util/webhook/scm.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4ee2da1ac6d761e87e349c29b1158c845848f9d928d1afcd25cb4912d5edb3"}},{"ruleId":"D2","level":"warning","message":{"text":"appStateManager.CompareAppState (cognitive 164): appStateManager.CompareAppState has cognitive complexity 164 (threshold 15). Drivers by points: if/else 67 (123 pts), loops 11 (21 pts), boolean chains 18, match/switch 1 (2 pts) (nesting depth added 67). Of this number, 162 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":"controller/state.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407f50170bacc3fca79031a3b9ce82272e0d7ce0772d9b3e6376b478b36100d"}},{"ruleId":"D2","level":"warning","message":{"text":"kustomize.Build (cognitive 163): kustomize.Build has cognitive complexity 163 (threshold 15). Drivers by points: if/else 52 (129 pts), loops 8 (27 pts), boolean chains 3, match/switch 1 (3 pts), jumps 1 (nesting depth added 98). 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":"util/kustomize/kustomize.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f783406361c068d3a65a91f8bba14c5d6b568e385a405d6781821ade405e29"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.NewImportCommand (cognitive 135): admin.NewImportCommand has cognitive complexity 135 (threshold 15). Drivers by points: if/else 45 (112 pts), boolean chains 8, loops 7 (8 pts), match/switch 3 (7 pts) (nesting depth added 72). None of this is in the body itself: all 135 points belong to one function literal inside it that branches (line 177). 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/argocd/commands/admin/backup.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e44558489e4a93f5eaf4bb08f4377d8c6cc022725b8cdc54896e6e77d4b815"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.runManifestGenAsync (cognitive 129): Service.runManifestGenAsync has cognitive complexity 129 (threshold 15). Drivers by points: if/else 27 (109 pts), loops 4 (16 pts), boolean chains 4 (nesting depth added 94). Of this number, 123 points are the body\u0027s own statements and 6 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":"reposerver/repository/repository.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"013b69530ecef719ef577d7a4e5018ed3213e9ded2408f3f02095ef5896f5d22"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationSyncCommand (cognitive 125): commands.NewApplicationSyncCommand has cognitive complexity 125 (threshold 15). Drivers by points: if/else 43 (95 pts), boolean chains 17, loops 6 (13 pts) (nesting depth added 59). None of this is in the body itself: all 125 points belong to one function literal inside it that branches (line 1775). 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/argocd/commands/app.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3629edefb17d1b4929b5e2fb825bce32e365475f70a57ee71d3cea9576d2c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.populateIngressInfo (cognitive 107): cache.populateIngressInfo has cognitive complexity 107 (threshold 15). Drivers by points: if/else 22 (81 pts), loops 6 (17 pts), boolean chains 9 (nesting depth added 70). 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":"controller/cache/info.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ee3f0fa1331189477b3df39fa32283bd06b838c4f601ee9976f05051da9846"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.Sync (cognitive 99): syncContext.Sync has cognitive complexity 99 (threshold 15). Drivers by points: if/else 36 (71 pts), boolean chains 16, loops 4 (6 pts), match/switch 2 (6 pts) (nesting depth added 41). Of this number, 87 points are the body\u0027s own statements and 12 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b8de170d15fa173b8883d3c2203dfbeef3199a713e83d74f3eac39878b18b"}},{"ruleId":"D2","level":"warning","message":{"text":"db.CreateRepoCertificate (cognitive 97): db.CreateRepoCertificate has cognitive complexity 97 (threshold 15). Drivers by points: if/else 27 (76 pts), loops 5 (14 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/db/certificate.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab988cb423d67d1019a5abcf22e0f1fb250db2e86c0d20671ec76232c37f08c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.hideSecretData (cognitive 96): ApplicationController.hideSecretData has cognitive complexity 96 (threshold 15). Drivers by points: if/else 26 (91 pts), boolean chains 4, loops 1 (nesting depth added 65). 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":"controller/appcontroller.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"205b6578fdb9c547361ee91514083799904af5eb5881f22a1798381597cd4524"}},{"ruleId":"D2","level":"warning","message":{"text":"dex.GenerateDexConfigYAML (cognitive 95): dex.GenerateDexConfigYAML has cognitive complexity 95 (threshold 15). Drivers by points: if/else 43 (86 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/dex/config.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"219e3445706862d45e7351b57482e7720bf48d3e649b5482a15e88ad8841323d"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ServerSideDiff (cognitive 89): Server.ServerSideDiff has cognitive complexity 89 (threshold 15). Drivers by points: if/else 32 (73 pts), boolean chains 8, loops 4 (6 pts), match/switch 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a8cb162463db8dbeb5ba9bf932918be35d5a2602f7f2125768e30df4ff2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.Reconcile (cognitive 88): ApplicationSetReconciler.Reconcile has cognitive complexity 88 (threshold 15). Drivers by points: if/else 47 (81 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 36). Of this number, 85 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"05892e8967caf692faad5194347c427e20fd6f0879a5ce477723df6c844844d1"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.getSyncTasks (cognitive 85): syncContext.getSyncTasks has cognitive complexity 85 (threshold 15). Drivers by points: if/else 26 (54 pts), loops 15 (21 pts), boolean chains 7, match/switch 1 (3 pts) (nesting depth added 36). Of this number, 80 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"1207ba733a6fe20efb9e5dbe7a4d411a57eadb01347f15a336894be263075340"}},{"ruleId":"D2","level":"warning","message":{"text":"Render.deeplyReplaceWithFilter (cognitive 84): Render.deeplyReplaceWithFilter has cognitive complexity 84 (threshold 15). Drivers by points: if/else 30 (75 pts), loops 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 48). 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":"applicationset/utils/utils.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e7f588314526cb64326efbe5813cfa6bdcbb960772a2f4f819a078f43eb77a"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ServeHTTP (cognitive 82): Handler.ServeHTTP has cognitive complexity 82 (threshold 15). Drivers by points: if/else 37 (63 pts), boolean chains 14, loops 2 (5 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/badge/badge.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b093523fd32f8cde405507a914eb337aa79e6b1b371c21438d8b92e8120b8"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.unset (cognitive 80): commands.unset has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (48 pts), loops 9 (22 pts), boolean chains 10 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into 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/argocd/commands/app.go"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"13495632dce9c98189c3f206dc5794578dd2afc064ec9e59891f8b5d6d19e6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.finalizeApplicationDeletion (cognitive 75): ApplicationController.finalizeApplicationDeletion has cognitive complexity 75 (threshold 15). Drivers by points: if/else 38 (69 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/appcontroller.go"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feac52dc2549a7e843ff262cad45efd10efad6c09525362d43bb12f307017b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.processRequestedAppOperation (cognitive 75): ApplicationController.processRequestedAppOperation has cognitive complexity 75 (threshold 15). Drivers by points: if/else 34 (61 pts), boolean chains 10, match/switch 2 (3 pts), loops 1 (nesting depth added 28). Of this number, 53 points are the body\u0027s own statements and 22 belong to 4 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":"controller/appcontroller.go"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b85ad062769fb0b15016ac878da872fe0b9eba0cea93218f7e345d7cc455188"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDWebhookHandler.HandleEvent (cognitive 75): ArgoCDWebhookHandler.HandleEvent has cognitive complexity 75 (threshold 15). Drivers by points: if/else 22 (62 pts), loops 5 (8 pts), boolean chains 5 (nesting depth added 43). 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":"util/webhook/webhook.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e03a219c12cac3238a4213b8cb7f8a258ea33171189b309986f9dcbb0081e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppProject.ValidateProject (cognitive 74): AppProject.ValidateProject has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (60 pts), loops 8 (11 pts), boolean chains 3 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"874c7a9e39c08b47662191553f97ac1061ad62d2d24f33ecee45bb85fddb6d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"util.SetAppSpecOptions (cognitive 72): util.SetAppSpecOptions has cognitive complexity 72 (threshold 15). Drivers by points: if/else 31 (60 pts), match/switch 4 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 34). Of this number, 37 points are the body\u0027s own statements and 35 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/util/app.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8066dfebd044f7cf65a68b3e555041b591ac2a8323201a39ab0846bb45c64b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.runRepoOperation (cognitive 72): Service.runRepoOperation has cognitive complexity 72 (threshold 15). Drivers by points: if/else 39 (68 pts), boolean chains 3, match/switch 1 (nesting depth added 29). Of this number, 65 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":"reposerver/repository/repository.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bb67633f2a52a80dc26d4bfbf62818db8733b214e9d1f2dc47949001860663"}},{"ruleId":"D2","level":"warning","message":{"text":"apiclient.NewClientWithContext (cognitive 67): apiclient.NewClientWithContext has cognitive complexity 67 (threshold 15). Drivers by points: if/else 38 (61 pts), boolean chains 5, match/switch 1 (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":"pkg/apiclient/apiclient.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7210e8ad4f4d78c95821c7bdeda55187c153d06b3dbad72d42781a0abf6d798"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.processAppRefreshQueueItem (cognitive 66): ApplicationController.processAppRefreshQueueItem has cognitive complexity 66 (threshold 15). Drivers by points: if/else 37 (56 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 20). Of this number, 63 points are the body\u0027s own statements and 3 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":"controller/appcontroller.go"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb346b0353c4d067d765aeb054c72526dfccd174a78db96b9b7fe67cb5c8930"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.helmTemplate (cognitive 66): repository.helmTemplate has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (55 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 33). Of this number, 63 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":"reposerver/repository/repository.go"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"de395cdfbd1c354bbc6180427cf0d710ff3e24eb075e36f5b40b38f783e6d693"}},{"ruleId":"D2","level":"warning","message":{"text":"appStateManager.SyncAppState (cognitive 65): appStateManager.SyncAppState has cognitive complexity 65 (threshold 15). Drivers by points: if/else 39 (55 pts), boolean chains 7, loops 2, match/switch 1 (nesting depth added 16). Of this number, 57 points are the body\u0027s own statements and 8 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":"controller/sync.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36bc22c18fad0834ef0aa4e5d36ba98c18344c1e7c38e50b083402ff61a9356"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.UpdateApplicationSetApplicationStatus (cognitive 63): Manager.UpdateApplicationSetApplicationStatus has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (46 pts), match/switch 2 (9 pts), boolean chains 6, loops 2 (nesting depth added 33). 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efdf819fb08f7f9e677cec80a56ae12ef0d79fed342e4a8ac502d2c26cc97d2"}},{"ruleId":"D2","level":"warning","message":{"text":"store.GetManagedLiveObjs (cognitive 60): store.GetManagedLiveObjs has cognitive complexity 60 (threshold 15). Drivers by points: if/else 23 (53 pts), loops 4, boolean chains 3 (nesting depth added 30). Of this number, 20 points are the body\u0027s own statements and 40 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4417f8f6a46ce4558794ee4dee5ef7a27cacedd3f98f3e51f40cb2d78887f968"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.populateGatewayAPIRouteInfo (cognitive 60): cache.populateGatewayAPIRouteInfo has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (44 pts), boolean chains 8, loops 4 (8 pts) (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":"controller/cache/info.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"632718a4483db5f6a9558e1b82e583bd23cb715779567992a6f83f56e8d0ac8c"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncWindows.Matches (cognitive 59): SyncWindows.Matches has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 4 (14 pts), boolean chains 7 (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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"99814ffa6782694dd395121e5a29787334b002086f2112ec4d582d6923a7173b"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetManifests (cognitive 59): Server.GetManifests has cognitive complexity 59 (threshold 15). Drivers by points: if/else 26 (49 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 25). Of this number, 27 points are the body\u0027s own statements and 32 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":"server/application/application.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4714585eadef4de1f847e360c80091ac6ca8cf37e09142e6586dee0218f54eb8"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.UpdateApplicationSetApplicationStatusProgress (cognitive 57): Manager.UpdateApplicationSetApplicationStatusProgress has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (44 pts), loops 3 (10 pts), boolean chains 3 (nesting depth added 39). 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6b38102c43269c4afdbff92d855ab71702e6281893d8ea86240b088f472f5"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.populatePodInfo (cognitive 57): cache.populatePodInfo has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 12, loops 7 (8 pts), match/switch 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/cache/info.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac85b14f711711c124beb4f7b38fa31fcff0ba220c8e46fc5df69efa9472a6ae"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewProjectSourceIntegrityGitPoliciesUpdateCommand (cognitive 56): commands.NewProjectSourceIntegrityGitPoliciesUpdateCommand has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (36 pts), loops 8 (12 pts), boolean chains 8 (nesting depth added 16). None of this is in the body itself: all 56 points belong to one function literal inside it that branches (line 379). 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae0ba5b412050d4099ae23e07295e0c7672ba845f28e66fb6dfb01ed2a44a7"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.getResolvedValueFiles (cognitive 54): repository.getResolvedValueFiles has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (48 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 31). Of this number, 53 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":"reposerver/repository/repository.go"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"93520e67d475944158855987135a9862f99578c7aa07c5a56165e80c132224a0"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.waitOnApplicationStatus (cognitive 53): commands.waitOnApplicationStatus has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 10, loops 2 (3 pts), match/switch 1 (nesting depth added 20). Of this number, 37 points are the body\u0027s own statements and 16 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/argocd/commands/app.go"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d90a14479314c1267e64679ecc7995d27c6e8dab7f5f29fa0bc06fffecd22e"}},{"ruleId":"D2","level":"warning","message":{"text":"application.mergeLogStreams (cognitive 53): application.mergeLogStreams has cognitive complexity 53 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 8 (13 pts), match/switch 4 (9 pts), boolean chains 3, jumps 1 (nesting depth added 27). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 107, 81, 168, \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":"server/application/logs.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9575100a53fe5e8dcb5d0e4cacede3ddc14b8ee8de1e2b5c3b1a5a54e5f00a32"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewLoginCommand (cognitive 51): commands.NewLoginCommand has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (48 pts), boolean chains 2, match/switch 1 (nesting depth added 28). None of this is in the body itself: all 51 points belong to one function literal inside it that branches (line 78). 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/argocd/commands/login.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4262bc99c6cde7e762abef838e686e76f11bd6af6c71818fbf2d6282858228be"}},{"ruleId":"D2","level":"warning","message":{"text":"appStateManager.GetRepoObjs (cognitive 51): appStateManager.GetRepoObjs has cognitive complexity 51 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 2, loops 2 (nesting depth added 15). Of this number, 29 points are the body\u0027s own statements and 22 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":"controller/state.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5df5dc130be08659d758362729f87c0bec8f11ff31b3624c4018711acf3218"}},{"ruleId":"D2","level":"warning","message":{"text":"reposerver.StartGPGWatcher (cognitive 50): reposerver.StartGPGWatcher has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (39 pts), loops 2 (6 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 32). Most of this is not in the body itself: 2 of the 50 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 32, 25). 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":"reposerver/gpgwatcher.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa23ff9dbe69a59177040e4d13574fe2dd6772064c5c4500170c5d25da4cd386"}},{"ruleId":"D2","level":"warning","message":{"text":"files.untar (cognitive 50): files.untar has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (45 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/io/files/tar.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e79d30a414f26f12e70fc17ab18e97abb92fb37fb2bc06c5df1522ad48e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"SCMProviderGenerator.GenerateParams (cognitive 49): SCMProviderGenerator.GenerateParams has cognitive complexity 49 (threshold 15). Drivers by points: if/else 23 (45 pts), match/switch 2 (3 pts), loops 1 (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":"applicationset/generators/scm_provider.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fb1e1d31f0b22e3821bfe70b46b197d155ecda432e2e223a8b8ad5c7612d54"}},{"ruleId":"D2","level":"warning","message":{"text":"application.init (cognitive 49): application.init has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 7 (15 pts), boolean chains 1 (nesting depth added 23). None of this is in the body itself: all 49 points belong to 3 function literals inside it that branch (lines 286, 337, 330). 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"566e4abe82e6f5dc066d964394912a4aafc2b0c5a9b437dc21c3edd82b3d1644"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getManifestCacheEntry (cognitive 49): Service.getManifestCacheEntry has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (47 pts), boolean chains 2 (nesting depth added 34). 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":"reposerver/repository/repository.go"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fffe918a6b490fbb5a035b1e251c80b0c232dee7c1e1ca732fca2a4991dc497"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.populateHelmAppDetails (cognitive 49): Service.populateHelmAppDetails has cognitive complexity 49 (threshold 15). Drivers by points: if/else 23 (41 pts), loops 4 (6 pts), boolean chains 2 (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":"reposerver/repository/repository.go"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"684ddd2375ee94024b3fdbd0a1bb3b6798e00055fa74ba94955bd1a57746d2f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.createOrUpdateInCluster (cognitive 48): ApplicationSetReconciler.createOrUpdateInCluster has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 5 (10 pts), boolean chains 2 (nesting depth added 26). Most of this is not in the body itself: 4 of the 48 points are its own statements and the rest belongs to one function literal inside it that branches (line 746). 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"670ffbe3c6c68b599fb5cc3ef9d2c038d4628a80ba7876b2c13d4093ac055378"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.runTasks (cognitive 47): syncContext.runTasks has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 5 (7 pts), boolean chains 4 (nesting depth added 19). Of this number, 22 points are the body\u0027s own statements and 25 belong to 4 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c9a9406344a54cd4a8f757a1aa390d0afc75e9ae86d0d047c194a9c4d4ad71"}},{"ruleId":"D2","level":"warning","message":{"text":"progressivesync.buildAppDependencyList (cognitive 47): progressivesync.buildAppDependencyList has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (37 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb201b0f9addbe885003966182cdc7e27087cb0a6a9b0a246672096cdbaada7"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.getAppHosts (cognitive 47): ApplicationController.getAppHosts has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 10 (19 pts), boolean chains 5, match/switch 1 (nesting depth added 22). Of this number, 40 points are the body\u0027s own statements and 7 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":"controller/appcontroller.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc3cf3f8a14e4d9d0d9db657e7c8b680d12bfe1e1a21f19b3c41bb0490bb193"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.UpdateRevisionForPaths (cognitive 47): Service.UpdateRevisionForPaths has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (39 pts), boolean chains 4, loops 3 (4 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":"reposerver/repository/repository.go"},"region":{"startLine":3582}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ffc17f0669b73d0d30707a5e4335bde33f18bca3ee8d033f5fd379b3542e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.PodLogs (cognitive 47): Server.PodLogs has cognitive complexity 47 (threshold 15). Drivers by points: if/else 25 (37 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (nesting depth added 14). Of this number, 21 points are the body\u0027s own statements and 26 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":"server/application/application.go"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac21700a1c7ace2e4bd668c5dd062ba0a4e73378af828dbd5902efa59f0b8539"}},{"ruleId":"D2","level":"warning","message":{"text":"WebhookHandler.shouldRefreshMatrixGenerator (cognitive 45): WebhookHandler.shouldRefreshMatrixGenerator has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 4, 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":"applicationset/webhook/webhook.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c3b49b48286a8b6a3f8f4e77320525659b1a8241c7872679208d365bf7eab"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.setApplicationHealth (cognitive 45): controller.setApplicationHealth has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 11, 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":"controller/health.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"045720893e715f4443e560fefdfd2d14ac757b467d64c3ec4436b47b2eba3a95"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.persistAppStatus (cognitive 45): ApplicationController.persistAppStatus has cognitive complexity 45 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 5 (nesting depth added 17). Of this number, 41 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":"controller/appcontroller.go"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee03543041d8764910bfe60c911f79c762362c0cecb8bd61fba6f9bade56122"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.autoSync (cognitive 45): ApplicationController.autoSync has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (33 pts), loops 4 (7 pts), boolean chains 5 (nesting depth added 16). Of this number, 44 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":"controller/appcontroller.go"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"44db3416ba6f7b9ef16196de36395941ae76c732e308cdcf71c05887c247cc32"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.executeHooks (cognitive 45): ApplicationController.executeHooks has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 6 (7 pts), boolean chains 2, match/switch 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":"controller/hook.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d18c36c41601d06ec97dfb6a3c0c0f29aa20349563c6827639caa8d3b1be0ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDServer.watchSettings (cognitive 44): ArgoCDServer.watchSettings has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (39 pts), boolean chains 4, loops 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":"server/server.go"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03025532da59f88c1ed99e83dd42699461db7bebf93422f96042ef7fa415db1"}},{"ruleId":"D2","level":"warning","message":{"text":"kube.SetAppInstanceLabel (cognitive 44): kube.SetAppInstanceLabel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (36 pts), match/switch 3 (6 pts), boolean chains 2 (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":"util/kube/kube.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"394b8762f013965331ce4860ab042d88dc27b25d2e544c22ce158c6014df1723"}},{"ruleId":"D2","level":"warning","message":{"text":"health.getCorev1PodHealth (cognitive 43): health.getCorev1PodHealth has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 8, loops 3 (7 pts), match/switch 2 (3 pts) (nesting depth added 19). Of this number, 36 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":"gitops-engine/pkg/health/health_pod.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec40a476e857b03ebb9932de8b8b316641f9814fc489fdd09734ac6c4e75e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.PerformReverseDeletion (cognitive 43): Manager.PerformReverseDeletion has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 3 (15 pts), loops 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb033917df2b7569290957236ae807ac6a6e996676fe4703b326c97d8ebd612"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewLogoutCommand (cognitive 43): commands.NewLogoutCommand has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 1 (nesting depth added 23). None of this is in the body itself: all 43 points belong to one function literal inside it that branches (line 37). 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/argocd/commands/logout.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bf28e5e82be4cbfceb62e05fad846d549740057bf59f93e4ca17f2bb558f56"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.generateGatewayURLs (cognitive 43): cache.generateGatewayURLs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 4 (7 pts), boolean chains 6, 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":"controller/cache/info.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"635035cdaa70e7858de8871b1dde531eb3989d5990a7da751269c0311eda0521"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.validateConfigs (cognitive 43): extension.validateConfigs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 3 (7 pts), boolean chains 2 (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":"server/extension/extension.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"285955610c4e519c52f7b27b8cf3be5442241fc2e4a6ecc54388037bf6860402"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.parseAccounts (cognitive 43): settings.parseAccounts has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 3 (8 pts), loops 3 (5 pts) (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":"util/settings/accounts.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fb7e8be2eea05f51ee49c7b996e1d036261f744529f080a67b5655f114803d"}},{"ruleId":"D2","level":"warning","message":{"text":"sourceintegrity.parseGitCommitVerification (cognitive 43): sourceintegrity.parseGitCommitVerification has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (4 pts), match/switch 1 (4 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":"util/sourceintegrity/gpg.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81dd419e752324adc1b82d2ab3945a18fa472119e03e0a45e347e47dc91ebbf"}},{"ruleId":"D2","level":"warning","message":{"text":"PullRequestGenerator.selectServiceProvider (cognitive 42): PullRequestGenerator.selectServiceProvider has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (42 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":"applicationset/generators/pull_request.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"427a5fd8d517b4d43694862c04ae1fc9e129f3ad7f2b9994ff9adc8f627e2f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.resolveSourceRevisions (cognitive 42): Server.resolveSourceRevisions has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 5, loops 2 (4 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":"server/application/application.go"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2676716940f651554f189d097179ffcc7e904fb1c5539adc9231a1d25bf3e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeHelmChart.ExtractChart (cognitive 42): nativeHelmChart.ExtractChart has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (40 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/helm/client.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbf9f3357eb41dd5fe2f9fd20210cc6e0d48e11e7f00580c67d37cfc18b140c"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Update (cognitive 41): Server.Update has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 4 (5 pts), boolean chains 2 (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":"server/project/project.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d778772926efe722c920440d04a4c9ebf7eede73b724aba1baa8c3a85185e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ListGenerator.GenerateParams (cognitive 40): ListGenerator.GenerateParams has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 3 (9 pts) (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":"applicationset/generators/list.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfa905609af7913817589de86ea22954d77f054e5734f8f49de698f258c1cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printAppSummaryTable (cognitive 40): commands.printAppSummaryTable has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 7, loops 3 (6 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":"cmd/argocd/commands/app.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0836345f6b671f72824053ea6704282a6a89b2dcdec2b3b18ed4eae9b5904ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.GenerateManifests (cognitive 40): repository.GenerateManifests has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 20). Of this number, 37 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":"reposerver/repository/repository.go"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8882face89af7978820159b602a557e8b9c385276bc13fdb9e212a3bd5703ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"tgz.tgzFile (cognitive 40): tgz.tgzFile has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 18). Of this number, 38 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":"util/io/files/tar.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a4764355734a8660fc98f4b7f3b2f411f1f91c28417febee28feb8c5e86756"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.buildGraph (cognitive 39): cache.buildGraph has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (31 pts), loops 4 (8 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"949afa94c13520cad33c9aafff197c7116fdb1e27ef65a924711e8952eaaf2b1"}},{"ruleId":"D2","level":"warning","message":{"text":"db.RemoveRepoCertificates (cognitive 39): db.RemoveRepoCertificates has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 3 (9 pts), boolean chains 2 (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":"util/db/certificate.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fa4ecf23e4cabf75f9584f8818a6ee6ca2795715b02dd623772fd862bbfbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"template.GenerateApplications (cognitive 38): template.GenerateApplications has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (32 pts), loops 3 (6 pts) (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":"applicationset/controllers/template/template.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60da3749d1d24e757044d8c4bec6f35827e888f4ebeadc4e90fcfee687feed5"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Sync (cognitive 38): Server.Sync has cognitive complexity 38 (threshold 15). Drivers by points: if/else 26 (32 pts), boolean chains 4, loops 1 (2 pts) (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, 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":"server/application/application.go"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed82f808058a5dd19d097fdc2ad857ed4f6cdf6a6c484a3e75b0c6ee22961f9"}},{"ruleId":"D2","level":"warning","message":{"text":"compressedLayerExtracterStore.Push (cognitive 38): compressedLayerExtracterStore.Push has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 3 (nesting depth added 20). Of this number, 23 points are the body\u0027s own statements and 15 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":"util/oci/client.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"257ed10ea7aed84f8f2dc50ea3803c3cc0aaef4790f66c73c0c866b1c0256e52"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.HideSecretData (cognitive 37): diff.HideSecretData has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 7, loops 2 (4 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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0802a89871535e064a21e1d3822a1e340c3389de9096a962336f8548c347b"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.setAppSetApplicationStatus (cognitive 37): ApplicationSetReconciler.setAppSetApplicationStatus has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 22). Of this number, 30 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c065ee49dba1edba7be5e8ce2a255f9e7bbd01eef9ba504dad6e30cb7ffb0e"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.generateProjectAllowList (cognitive 37): admin.generateProjectAllowList has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 5 (13 pts) (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":"cmd/argocd/commands/admin/project_allowlist.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"983ae965afd3bcc93e52e80036d191f56945d05a328aa3912ecd870caef76c94"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.CopyCredentialsFrom (cognitive 37): Repository.CopyCredentialsFrom has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (37 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":"pkg/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b440f5069da80c6396bbec98f2004143e847d28e80b1a31a80f2b91496f9871"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationDiffCommand (cognitive 35): commands.NewApplicationDiffCommand has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 8, loops 3 (5 pts), match/switch 1 (nesting depth added 7). None of this is in the body itself: all 35 points belong to one function literal inside it that branches (line 649). 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/argocd/commands/app_diff.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"196bf62ff41f675d490ba8b1ff4cf81528b8670b3aed2ec712f5ff5d475b9d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.cleanupHooks (cognitive 35): ApplicationController.cleanupHooks has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 3 (5 pts), boolean chains 4 (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":"controller/hook.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1267709b38cbb07ca18fb309dc66c823cd10cac64ef8f1febbda20a8d512869a"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizers.normalize (cognitive 35): normalizers.normalize has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (4 pts), boolean chains 2 (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":"util/argo/normalizers/knowntypes_normalizer.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0769bf329983d344f951b262e9b6854b6f88b988c3116c3c8803db3f6a8ded"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeOCIClient.extract (cognitive 35): nativeOCIClient.extract has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 1 (2 pts) (nesting depth added 18). 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":"util/oci/client.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17e3bb70445ad2bf023f76ba2312ae54bc58d1e79fd6c700794ca8635a06d95"}},{"ruleId":"D2","level":"warning","message":{"text":"clusterSecretEventHandler.queueRelatedAppGenerators (cognitive 34): clusterSecretEventHandler.queueRelatedAppGenerators has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 2 (3 pts) (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":"applicationset/controllers/clustereventhandler.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7cdd22bec62bb593c19060b4a9b3f775561c5383bebfd97f5159015d1c24f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixGenerator.GenerateParams (cognitive 34): MatrixGenerator.GenerateParams has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 2 (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":"applicationset/generators/matrix.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d79f96f4c28b559231691cf402d9fb556f7fbc46737846538d340af250dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Cluster.rawRestConfig (cognitive 34): Cluster.rawRestConfig has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (4 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":4394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31e1dbf5686cb66bf6353962e42022fb14ab38c6a967fbb2cfc9410435637f7"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.getHelmRepos (cognitive 34): repository.getHelmRepos has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 7, loops 3 (6 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":"reposerver/repository/repository.go"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dc696a9cc7a0e5cb45a413e73c7b353bc01c44e116403a2eae1d1e36f7679a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Get (cognitive 34): Server.Get has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 7 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":"server/application/application.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da1e4a7eb06f8a916ce1b4f8ce17fe3c9452507b2fb5885df91343cf52a125a"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeHelmChart.GetTags (cognitive 34): nativeHelmChart.GetTags has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 15). Of this number, 32 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":"util/helm/client.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baf8071b4bde222d91161d58eaed02cde031274cb746987dbf9ac4b74555ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"store.updateIndexes (cognitive 33): store.updateIndexes has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 3, loops 1 (2 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf55586f8194861086121a252d8d91ef8b312eac6fe24da960ada0a7726ef50"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.applyObject (cognitive 33): syncContext.applyObject has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 7 (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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"897f32a0784abbe3096195759942ff7f62de902474e17b6504fb5307f4202d33"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.setApplicationSetStatusCondition (cognitive 33): ApplicationSetReconciler.setApplicationSetStatusCondition has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 13). Of this number, 29 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8ee5deed666b1017252b5dd3efb0991e0d504821b468709c5d715f16ac40f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.RotateAuth (cognitive 33): Server.RotateAuth has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (30 pts), 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":"server/cluster/cluster.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"4231b75c56eabc15b743157148f82dfb72e382818f38fa47fa0b25243a276cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"db.ListRepoCertificates (cognitive 33): db.ListRepoCertificates has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (8 pts), boolean chains 2 (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":"util/db/certificate.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"37028fa59a33f5e6fc0b125c60c398a5bd95411d558f5143e8a8b95f44125a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"exec.RunCommandExt (cognitive 33): exec.RunCommandExt has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (28 pts), match/switch 2 (4 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":"util/exec/exec.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4680eeba269fde55a4053df7cef1e14e03c4c78b4e019f4fe68e1116d27285"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.loadClusters (cognitive 32): admin.loadClusters has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into 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/argocd/commands/admin/cluster.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b93ffba7b35522e0cf1f6d8574a4156c17deb7bfa6f51e76fbf7ca5ee8bdd30"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.NewApplicationController (cognitive 32): controller.NewApplicationController has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 1 (nesting depth added 14). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 274). 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":"controller/appcontroller.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e0538ea90bd0117a7fcfc5957138568190d60684e1e63234b9c572bc16fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"liveStateCache.getCluster (cognitive 32): liveStateCache.getCluster has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 6, loops 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 32 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 609, 567). 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":"controller/cache/cache.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc9a46597799ff947de1346f2c1e9a6c2a2d14c0b9f82b2e71a2f88919c2371"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.validateAndNormalizeApp (cognitive 32): Server.validateAndNormalizeApp has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 3, loops 1 (2 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":"server/application/application.go"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"756dc98629483e5f35d4e866fe49b4a976464524ed773c174fd10d6cd071ea81"}},{"ruleId":"D2","level":"warning","message":{"text":"kustomize.getImages (cognitive 32): kustomize.getImages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 3 (9 pts), match/switch 1 (2 pts), boolean chains 1 (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":"util/kustomize/kustomize.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8793cb937c90b26d211a448efa8642c77cde1f551d6d02bd38dea686c277ca72"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.InitializeSettings (cognitive 32): SettingsManager.InitializeSettings has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 13). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 2606). 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":"util/settings/settings.go"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1604c9af2d80336562c8e44ca5c7913947ad1205241b0eb38c3a148979246f6"}},{"ruleId":"D2","level":"warning","message":{"text":"tls.CreateServerTLSConfig (cognitive 32): tls.CreateServerTLSConfig has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (30 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":"util/tls/tls.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa7580e04344c5a612d1d4e438f5588c5fb209dc9079adff2acadaf083dd4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.hide (cognitive 31): diff.hide has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 2 (3 pts) (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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8b016ea6ec3b797be89bba71e97d973075cc9a81bf855428eedf6a577ebb80"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationSetDeleteCommand (cognitive 31): commands.NewApplicationSetDeleteCommand has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 16). None of this is in the body itself: all 31 points belong to one function literal inside it that branches (line 392). 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/argocd/commands/applicationset.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e5d4f65ea5f072986fd28fe6ac02596ee410253329bafb74712f39706435e5"}},{"ruleId":"D2","level":"warning","message":{"text":"headless.MaybeStartLocalServer (cognitive 31): headless.MaybeStartLocalServer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 1, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/headless/headless.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b51d74727257d6d0cff9bd7b67890ab629fb1b2a19a5aa320a833b956ac1b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.getResourceTree (cognitive 31): ApplicationController.getResourceTree has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 3, loops 3 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 9 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":"controller/appcontroller.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e2ba88a43465459211e802f8f100871eef5620b6473d9179dc8355e8547417"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.handleRefreshAnnotation (cognitive 31): ApplicationController.handleRefreshAnnotation has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 2 (nesting depth added 18). 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":"controller/appcontroller.go"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1699c6d25d6b8ce9d5fc203668ba91b2ceb34920638eabe15e1a27a964ed03b"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.populateNodeInfo (cognitive 31): cache.populateNodeInfo has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 4 (7 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/cache/info.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0463620effebdc3ca4bcd1c2452924015fa62e0883577c88d3a2bfe44a6ac5ad"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.populateIstioVirtualServiceInfo (cognitive 31): cache.populateIstioVirtualServiceInfo has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts), boolean chains 3 (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":"controller/cache/info.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d97af956d1b7bc480f0e0c98c4ab8fcadd43e2b83056feb99266b9fde705e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.CopyCredentialsFromRepo (cognitive 31): Repository.CopyCredentialsFromRepo has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (31 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":"pkg/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"38376a0ee91a809568a5e4238bb5738d0328a4c53baa10e6411263bed6a8fc68"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetManifestsWithFiles (cognitive 31): Server.GetManifestsWithFiles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 2, loops 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 11 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":"server/application/application.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac948671e51c10e520ccfdef7c716a4784e147f5a789d106475007060c30d7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.RunResourceActionV2 (cognitive 31): Server.RunResourceActionV2 has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 2, match/switch 1 (2 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":"server/application/application.go"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd95efe6b86025fa57d580898dea26d1e26e4ae64dd8eb643d094b7d8604ab"}},{"ruleId":"D2","level":"warning","message":{"text":"terminalHandler.ServeHTTP (cognitive 31): terminalHandler.ServeHTTP has cognitive complexity 31 (threshold 15). Drivers by points: if/else 25 (28 pts), loops 1 (2 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, 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":"server/application/terminal.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0aef3957d2c79839c44e6d16bb0b095a79a96f14d240f8c940dab94cbcdbc9"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.isSourceInHistory (cognitive 31): repository.isSourceInHistory has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 2 (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":"server/repository/repository.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"94112247049d3c3f14e754363570c27295264adfa616e2ea3f0bec7dcff568f5"}},{"ruleId":"D2","level":"warning","message":{"text":"generators.parseFileParams (cognitive 30): generators.parseFileParams has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (7 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":"applicationset/generators/repo_path_utils.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d467710ba960a4140c7e21a274c7253d4e45fc536d0600d9117c004345c753"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.handleCommitRequest (cognitive 30): Service.handleCommitRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 24 (29 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":"commitserver/commit/commit.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eebc9ac51a418db3c55f2a4708419326901c8bd5ac018f1da43b715045ff589"}},{"ruleId":"D2","level":"warning","message":{"text":"sharding.GetClusterSharding (cognitive 30): sharding.GetClusterSharding has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 1 (3 pts), boolean chains 2 (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":"controller/sharding/sharding.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb89146039a5316b51b774719dd9c65c644cfdd941ea95f3ca07ec619eac7552"}},{"ruleId":"D2","level":"warning","message":{"text":"application.streamApplicationListJSON (cognitive 30): application.streamApplicationListJSON has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (29 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e4e88a1fd71ec6322dfaa35bb2315214acf591b3188bbfbb8375b60e824601"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDServer.Run (cognitive 30): ArgoCDServer.Run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22 (27 pts), match/switch 2, boolean chains 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 8 belong to 2 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":"server/server.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d958df2834dc2bb4998cd95e7724aed70b3ae436d4b21edcc1b12dcbbb733432"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.resolveRevisionWithOptions (cognitive 30): nativeGitClient.resolveRevisionWithOptions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, loops 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":"util/git/client.go"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe234be3f0402bafd8c48c1444d1ab4a35bd7a484e90e5d4b60b0c54158a4af"}},{"ruleId":"D2","level":"warning","message":{"text":"legacyEngine.sync (cognitive 29): legacyEngine.sync has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (28 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 159, 83). 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8e8d6f0cb08dacdec53c2ee320aa809e5a74e01c3ee309a5cf204c9064051b"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.shouldRefreshPRGenerator (cognitive 29): webhook.shouldRefreshPRGenerator has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 5 (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":"applicationset/webhook/webhook.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"571ef263808dbf6800e267176630f002d8e9ac04839e47c31d31a4250c92dadf"}},{"ruleId":"D2","level":"warning","message":{"text":"WebhookHandler.shouldRefreshMergeGenerator (cognitive 29): WebhookHandler.shouldRefreshMergeGenerator has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/webhook/webhook.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cb96ff72fedbbc7535e56e2fb083984e6dd092d2cd03026a5b3e2d944d06f4"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printResources (cognitive 29): commands.printResources has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 6, loops 2 (6 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/app_resources.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f107d8df795baac799b06733974975044b9a01e99de3c60d281a03e608b14ed"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewClusterAddCommand (cognitive 29): commands.NewClusterAddCommand has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 4, match/switch 1 (nesting depth added 10). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 96). 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/argocd/commands/cluster.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52907a9ebfd97ca3f3cea22ae390b874f255e2a25b61c45c0ce2e688b83e9b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewRepoAddCommand (cognitive 29): commands.NewRepoAddCommand has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 5 (nesting depth added 6). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 118). 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/argocd/commands/repo.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"872aeca2bc864a6870ed81bb90678a50647e4df12bf676066f4f6b8d1ca59679"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.handleObjectUpdated (cognitive 29): ApplicationController.handleObjectUpdated has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2 (4 pts), boolean chains 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":"controller/appcontroller.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1564939ee3264681a544f6294e41fce983083ec95d78921cf1e3c78a00437dd"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizers.NewIgnoreNormalizer (cognitive 29): normalizers.NewIgnoreNormalizer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (6 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":"util/argo/normalizers/diff_normalizer.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c4f65e774667f7a3e3bf7733269fe9b4a1b99372dc3f497d837ffbcce4eed9"}},{"ruleId":"D2","level":"warning","message":{"text":"legacyConfig.merge (cognitive 29): legacyConfig.merge has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 2, loops 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":"util/notification/settings/legacy.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3357c50718655277ddcb5bce0d2f0781ec15e3a27c9ae9e4a95e908aa9cbba"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCodeCommitProvider.listRepoNames (cognitive 28): AWSCodeCommitProvider.listRepoNames has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (10 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/services/scm_provider/aws_codecommit.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff27d5c61b140538b2996cbb0d2956642293de6c9ced9935cd28abfef73140c"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewCommand (cognitive 28): commands.NewCommand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, loops 1 (nesting depth added 9). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 121). 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/argocd-server/commands/argocd_server.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3730600464a8c51bf15084bdda9b8a44318189b38a37b39ec1d1900a50f0975d"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.NewExportCommand (cognitive 28): admin.NewExportCommand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 8). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 44). 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/argocd/commands/admin/backup.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f5270371aadccefe9e542d8bcb0cee14d8c3c01c9d6a4f7c4cfc50c5c2fe6e"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.runClusterNamespacesCommand (cognitive 28): admin.runClusterNamespacesCommand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 4 (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":"cmd/argocd/commands/admin/cluster.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93b9f475e00304b95455d35c2379afb04e6e468ed015647acd2346a124526ed"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.updateProjects (cognitive 28): admin.updateProjects has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (6 pts), boolean chains 4, match/switch 1 (3 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/argocd/commands/admin/project.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab920b5bd610a51451e9764092178a6996fc007062a1fe64ea8b35035229d039"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.persistOperationStateFallback (cognitive 28): ApplicationController.persistOperationStateFallback has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3, loops 1 (3 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":"controller/appcontroller.go"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"389aa64a32eae653fad75f83961c2b22d4b0234a6147f07874f7e554c812e065"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.applicationEventHandlerFuncs (cognitive 28): ApplicationController.applicationEventHandlerFuncs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 8 (nesting depth added 3). None of this is in the body itself: all 28 points belong to 3 function literals inside it that branch (lines 3431, 3479, 3417). 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":"controller/appcontroller.go"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d972886b4fa829bf65aa22b828cbf42173138970984f8e890cf1800e63543a28"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientApp.SetGroupsClaimFromEndpoint (cognitive 28): ClientApp.SetGroupsClaimFromEndpoint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 2 (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":"util/oidc/oidc.go"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bdd971f88fe598e8d20b2ad7b88351b44920b39d46ec801e2834ba520289b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientApp.GetUserInfo (cognitive 28): ClientApp.GetUserInfo has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 1, match/switch 1 (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":"util/oidc/oidc.go"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a42b8c14e6fe3ef5d55c779a68d765d27d306040fb4d7f2646ce2c23ea5c3"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionManager.Parse (cognitive 28): SessionManager.Parse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 3 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/session/sessionmanager.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b150e2639cc27369a9098e922a37d10033261de8524f9e1b471dba371dddce"}},{"ruleId":"D2","level":"warning","message":{"text":"sourceintegrity.SyncKeyRingFromDirectory (cognitive 28): sourceintegrity.SyncKeyRingFromDirectory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 3, boolean chains 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"12582036b1f4dd807aa30c2809b0131350b33731f1dff759c61fbdd8b3f9a1da"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDWebhookHandler.HandleRegistryEvent (cognitive 28): ArgoCDWebhookHandler.HandleRegistryEvent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (4 pts), boolean chains 2 (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":"util/webhook/registry.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0a5af257478931acb67d07d8b2fb72beaf43765322aaf7c760206743db927d"}},{"ruleId":"D2","level":"warning","message":{"text":"store.processCrossNamespaceChildren (cognitive 27): store.processCrossNamespaceChildren has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb4f13eda15dd0032e62639804e81b98a1ad8982db4bc76964c1b12cf8ead53"}},{"ruleId":"D2","level":"warning","message":{"text":"legacyEngine.startMissingWatches (cognitive 27): legacyEngine.startMissingWatches has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 1, loops 1 (nesting depth added 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 250). 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"92851e13d632aadc872b48eec900df8aab2cb8c0cd344b4ea9bad62a99c957eb"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printApplicationHistoryTable (cognitive 27): commands.printApplicationHistoryTable has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (7 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":"cmd/argocd/commands/app.go"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea6990a3954780fa504ce1ee0fb147fa34009c9215944b10e3b8e5f763b0b36"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationManifestsCommand (cognitive 27): commands.NewApplicationManifestsCommand has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 5 (10 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 9). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 2915). 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/argocd/commands/app.go"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"58874d06a4a51bab058ee20f18a4841a65eba0961fa9853a77f7ae3fe550142a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPluginHandler.ListAvailablePlugins (cognitive 27): DefaultPluginHandler.ListAvailablePlugins has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 2 (3 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/argocd/commands/plugin.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"60667021c358144d2b2ab8b50858b9b16ffa6bfab29c5f898676b8241ac9409d"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.needRefreshAppStatus (cognitive 27): ApplicationController.needRefreshAppStatus has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (26 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":"controller/appcontroller.go"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a7d17d325b9939a9394eec3abd68f46ee9a7e0eca1abd3676edfc053fde727"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncWindows.canSyncFrom (cognitive 27): SyncWindows.canSyncFrom has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4 (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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdba05af88b7460032530dea09f4cc5c376e6555082ec6ed773b8ed0e69f9910"}},{"ruleId":"D2","level":"warning","message":{"text":"VM.ExecuteResourceActionDiscovery (cognitive 27): VM.ExecuteResourceActionDiscovery has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (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":"util/lua/lua.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93bb881a43e896740b90d473b9e847ec77a5567511e83cfde2150a7b5776767"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.NewParsers (cognitive 27): webhook.NewParsers has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (27 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/webhook/scm.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e27d06a3fa69e962b54409556a7b063f03879879cc8806a3c5c2a384a93d01"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.terminateHooksPreemptively (cognitive 26): syncContext.terminateHooksPreemptively has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c3e5d292554d761bd05c5987fba697ee91580f4f771a361ed3448178f4105"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.removeFinalizerOnInvalidDestination (cognitive 26): ApplicationSetReconciler.removeFinalizerOnInvalidDestination has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (4 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca42d18b4eefaa7be44e1b172cca0d63a7253e674588b0ce305faf80ef6dd4e4"}},{"ruleId":"D2","level":"warning","message":{"text":"DuckTypeGenerator.GenerateParams (cognitive 26): DuckTypeGenerator.GenerateParams has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 5, loops 3 (5 pts) (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":"applicationset/generators/duck_type.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ebafb6804d2200b5862a5397c4f5cfddcd555dd975fa6826c548726eba83fa"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.newServerSideDiffStrategy (cognitive 26): commands.newServerSideDiffStrategy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 11). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 222). 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/argocd/commands/app_diff.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c06e1c253539a2dd66a33636620c20f4d4d9f5b595a44209f9a85d03215421"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewRepoCredsAddCommand (cognitive 26): commands.NewRepoCredsAddCommand has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 4 (nesting depth added 6). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 99). 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/argocd/commands/repocreds.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94a11238e3315cea7e70c2136a444e8a746cfc2d25e92698efbc9fa9e992876"}},{"ruleId":"D2","level":"warning","message":{"text":"main.generateCommandsDocs (cognitive 26): main.generateCommandsDocs has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (11 pts) (nesting depth added 19). 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/gen-catalog/main.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d7323ad3e64f1c9f5b5868b70eef7470c844beeb5d71d71f6abf9ec1b7bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.getObjsFromYAMLOrJSON (cognitive 26): repository.getObjsFromYAMLOrJSON has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 1 (nesting depth added 13). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"6270e4179eccf88c0a02235deff8eadc2494d343e6c2a725bd490f3a396166ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDServer.getClaims (cognitive 26): ArgoCDServer.getClaims has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 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":"server/server.go"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8667b0ffe278fa21fa61b08c6d9e2b190bc61f33e605c393043304b79dc76c15"}},{"ruleId":"D2","level":"warning","message":{"text":"SSHCreds.Environ (cognitive 26): SSHCreds.Environ has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (26 pts) (nesting depth added 9). Of this number, 21 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":"util/git/creds.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"34989c3df33366761ed7e7009c43120f86898e9767990748cde21c48135e5f57"}},{"ruleId":"D2","level":"warning","message":{"text":"syncTasks.adjustDeps (cognitive 25): syncTasks.adjustDeps has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (9 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":"gitops-engine/pkg/sync/sync_tasks.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5f56186fcc60e870378bb42c73a74109215c3946d09fc8b79266dbbf5ffeb"}},{"ruleId":"D2","level":"warning","message":{"text":"scm_provider.matchFilter (cognitive 25): scm_provider.matchFilter has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/services/scm_provider/utils.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f790df35e6f67619920ab85d40659ff8eebee60b7906643524fe95d5807ec90"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationLogsCommand (cognitive 25): commands.NewApplicationLogsCommand has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). None of this is in the body itself: all 25 points belong 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/argocd/commands/app.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b11c28421872bb529c195b3c652560f0dc3a1584ce79568edd997d3b2a4aa"}},{"ruleId":"D2","level":"warning","message":{"text":"util.setHelmOpt (cognitive 25): util.setHelmOpt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (22 pts), loops 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/app.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac4acc822489cff0f995028a0c940b76ac04d2803362df46aa228725f814cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Hydrator.ProcessHydrationQueueItem (cognitive 25): Hydrator.ProcessHydrationQueueItem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (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":"controller/hydrator/hydrator.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729773eb7992dd77224a99664db21c6621a819a13b114fc23df6412ef250e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"appCollector.collectApps (cognitive 25): appCollector.collectApps has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 3 (6 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":"controller/metrics/metrics.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00099e2fde1f215f70091ea4bb08c275d9e72a3664f5c1a913eac06450cf845"}},{"ruleId":"D2","level":"warning","message":{"text":"client.startGRPCProxy (cognitive 25): client.startGRPCProxy has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 144). 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":"pkg/apiclient/grpcproxy.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6310c2fc801d1b09dfdc2b7d26fda6e710af155a02429cdea79ffd84c5bfe6b6"}},{"ruleId":"D2","level":"warning","message":{"text":"apiclient.buildTLSClientConfig (cognitive 25): apiclient.buildTLSClientConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 2 (nesting depth added 12). Of this number, 15 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":"reposerver/apiclient/clientset.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a1c1485ea2779a0e9f01f2e897e1cfe276711db763a25d24111b77db145238"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.findManifests (cognitive 25): repository.findManifests has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (24 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":"reposerver/repository/repository.go"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d81d15ff5f5c45642b1b2f4b0e889073a708cb257fe0930c7ae7855a165c052"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.getPotentiallyValidManifestFile (cognitive 25): repository.getPotentiallyValidManifestFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 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":"reposerver/repository/repository.go"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa408ae8cbbe85f6dfbc125f066aa53f5f8914b03bfc26dd9e65c9334cc96fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.ValidatePermissions (cognitive 25): argo.ValidatePermissions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (2 pts), boolean chains 1, 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":"util/argo/argo.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2651ed85db34bdeba5027d66747f16111f95b2f8e9736716fdd59b76d27522"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.appendResourceOverridesFromSplitKeys (cognitive 25): SettingsManager.appendResourceOverridesFromSplitKeys has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), 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":"util/settings/settings.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"69502aa525b02bbdcdbeff84b80afe76825a2475cee31e5a2a49957108ca98e8"}},{"ruleId":"D2","level":"warning","message":{"text":"sourceintegrity.GetInstalledPGPKeys (cognitive 25): sourceintegrity.GetInstalledPGPKeys has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92a6f9d27dc2a1ca539053c6cea1aaf9e7e319a7544b6d0140f47110363d0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"versions.sortVersionLinks (cognitive 25): versions.sortVersionLinks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 13). None of this is in the body itself: all 25 points belong to 2 function literals inside it that branch (lines 115, 103). 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":"docs/assets/versions.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6b472fac45a2fb3289aded63c2f322d2b0db99bb375a5d93ee9d67681e873b"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureDevOpsProvider.GetBranches (cognitive 24): AzureDevOpsProvider.GetBranches has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, 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":"applicationset/services/scm_provider/azure_devops.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7f0c1fd404b1bf6ebb55b6687d121681415cecc8e88dc906c74726dc1560a"}},{"ruleId":"D2","level":"warning","message":{"text":"Render.RenderGeneratorParams (cognitive 24): Render.RenderGeneratorParams has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 360). 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":"applicationset/utils/utils.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc804e7eb851c4ebf6810c3619d37ddf5495a9a67a1de2b5b0ab34acb9a3dce"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationGetCommand (cognitive 24): commands.NewApplicationGetCommand has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, match/switch 2 (nesting depth added 7). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 385). 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/argocd/commands/app.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"533719e60bd3cac448d67528de07d0c5e8166a2fe7e62f7818695b29af468d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"sharding.getOrUpdateShardNumberForController (cognitive 24): sharding.getOrUpdateShardNumberForController has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (8 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":"controller/sharding/sharding.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf96318808bc68b212421f19ec6e6f12fc8c676d3826e0493c9f3408c16f46a3"}},{"ruleId":"D2","level":"warning","message":{"text":"appStateManager.evaluateRevisionChanges (cognitive 24): appStateManager.evaluateRevisionChanges has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3 (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":"controller/state.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6036084249b58a358020c706d8c61d29cdff11ea380c9fb80553f50bfbe25d"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.resolveReferencedSources (cognitive 24): repository.resolveReferencedSources has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (5 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":"reposerver/repository/repository.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3df3cfbb68e4bb11465f9d1b9c656054ec1cf5c2792b0ea7075b45458e936f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Get (cognitive 24): Server.Get has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), loops 3, boolean chains 2 (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":"server/settings/settings.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06cb2fb21787a392faed5c5a3a84484eb7c1e9c5b85433706f78b105de610e4"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.GetRefSources (cognitive 24): argo.GetRefSources has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), boolean chains 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":"util/argo/argo.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a1d88530676210aa4696bc441fd4792a4fd51b00ca6485bc2ca28f331beb55"}},{"ruleId":"D2","level":"warning","message":{"text":"grpc.ResolveClientIP (cognitive 24): grpc.ResolveClientIP has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), jumps 3, loops 2 (3 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":"util/grpc/logging.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b18e07f73b8675b34cfca76d2ecee0ce1d61123c8a2a97fc6e820b733f4494b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientApp.HandleCallback (cognitive 24): ClientApp.HandleCallback has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 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":"util/oidc/oidc.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4a6089040a9e3e74cd4f03f0cb89ae4ebc359f26bc3c530d16a7cf37e43ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.NormalizeSecret (cognitive 23): diff.NormalizeSecret has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 2 (3 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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"504db38bcc9d512f394589c61d8ea6ffc11b52fd76a25c82b72403bb9979151a"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeGenerator.GenerateParams (cognitive 23): MergeGenerator.GenerateParams has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 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":"applicationset/generators/merge.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da3379be73cfcc4c499a0fc7180375c951f5408a50dca9f2a49b0551277f737"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubMetricsTransport.RoundTrip (cognitive 23): GitHubMetricsTransport.RoundTrip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (23 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":"applicationset/services/github_metrics.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5aa8250d1d708c35798eff6950eea0cdce0645e7abcff026f433a980106e83"}},{"ruleId":"D2","level":"warning","message":{"text":"command.NewCommand (cognitive 23): command.NewCommand has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, boolean chains 4. None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 101). 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/argocd-applicationset-controller/commands/applicationset_controller.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2df854fafc9461ec6219618b7e045e4f3d08bd2985b54ea30ada0df3b3a5457"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewGenDexConfigCommand (cognitive 23): commands.NewGenDexConfigCommand has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (4 pts) (nesting depth added 15). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 159). 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/argocd-dex/commands/argocd_dex.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a372bcb332717bbb9a0ed6eb73f33028c8abd020baa107c22cba17b689fb482"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewCommand (cognitive 23): commands.NewCommand has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2 (nesting depth added 7). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 95). 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/argocd-repo-server/commands/argocd_repo_server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05005f2c389c056a391ba8341f0ab1cb2a19e290b323c3e52693a0734498e11a"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.getResourceStates (cognitive 23): commands.getResourceStates has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (7 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":"cmd/argocd/commands/app.go"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbabf4e98c58b76e33b948cc1474e0d3ec1931c692a2d824a31d6fe8761024f"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.Run (cognitive 23): ApplicationController.Run has cognitive complexity 23 (threshold 15). Drivers by points: loops 9 (15 pts), if/else 7 (8 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. 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":"controller/appcontroller.go"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e324238b0af3c9fe6056e3428c214519baf80e8cec64692501381c9bf95e02b2"}},{"ruleId":"D2","level":"warning","message":{"text":"client.WatchApplicationSetWithRetry (cognitive 23): client.WatchApplicationSetWithRetry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (5 pts) (nesting depth added 14). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 1042). 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. This shape REPEATS in the file: one other method here (client.WatchApplicationWithRetry) 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":"pkg/apiclient/apiclient.go"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1829db51e867e79b9ddf5880cebf5b86971ff318076895be759b8f4df42421"}},{"ruleId":"D2","level":"warning","message":{"text":"client.WatchApplicationWithRetry (cognitive 23): client.WatchApplicationWithRetry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (5 pts) (nesting depth added 14). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 1085). 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. This shape REPEATS in the file: one other method here (client.WatchApplicationSetWithRetry) 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":"pkg/apiclient/apiclient.go"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2bef0a0be2e47141dc3a5ca84750ed090dc11d62c524e5f3d202b223c84e54"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.UpdatePassword (cognitive 23): Server.UpdatePassword has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2 (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":"server/account/account.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a0c3a5f60899e610ee0bf985d77e78d1a58a4d12f67819d9296a57e8b23d1"}},{"ruleId":"D2","level":"warning","message":{"text":"server.bug21955WorkaroundInterceptor (cognitive 23): server.bug21955WorkaroundInterceptor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 1 (nesting depth added 12). 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":"server/server.go"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a071f9c1db79738604f4d8ca8e352ef6856a62f7e6ef5081991927fb61cb84"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.DetectConfigManagementPlugin (cognitive 23): discovery.DetectConfigManagementPlugin has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 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":"util/app/discovery/discovery.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"994491dbbe01228e36dfd68c9d7158af996779f7613255d73f13756c0af649cf"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.getRefsFromCacheOrFetch (cognitive 23): nativeGitClient.getRefsFromCacheOrFetch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4 (nesting depth added 9). 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":"util/git/client.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef4f766e83a853ff80fe437eb18daaada7f3757e2fe4b6fa105b4354f1c6943"}},{"ruleId":"D2","level":"warning","message":{"text":"manifeststream.receiveFile (cognitive 23): manifeststream.receiveFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 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":"util/manifeststream/stream.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb6b8d3e077709a66125a525db6f3a36783e53e61fa941b8e9a20b02d1b0921"}},{"ruleId":"D2","level":"warning","message":{"text":"Enforcer.EnforceErr (cognitive 23): Enforcer.EnforceErr has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 1 (3 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":"util/rbac/rbac.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"697ad6428d6b94d89cd879e2cdcb95af545c134c941001c89e86511fbb2fb0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewRunDexCommand (cognitive 22): commands.NewRunDexCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 52). 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/argocd-dex/commands/argocd_dex.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5ac76f657091f1ea38a23f5cc1869ece3a6259e3a69b3441d64e759121b5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationSetCreateCommand (cognitive 22): commands.NewApplicationSetCreateCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 153). 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/argocd/commands/applicationset.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2778bc674c8f46d1981861adc3f741aa316f498b8b9700a9922ec9db6807f56"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewClusterRemoveCommand (cognitive 22): commands.NewClusterRemoveCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1 (nesting depth added 11). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 437). 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/argocd/commands/cluster.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c5c1435e4b861f2b166d2d0be3775d872074d61c1f80986ea8a4fb26486227"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewVersionCmd (cognitive 22): commands.NewVersionCmd has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, match/switch 1 (nesting depth added 9). None of this is in the body itself: all 22 points belong 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":"cmd/argocd/commands/version.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28593af876ddfbe53f7825d81a6940ab48d6f5ef1568abb34e231e6cda7754f"}},{"ruleId":"D2","level":"warning","message":{"text":"client.executeRequest (cognitive 22): client.executeRequest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), 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":"pkg/apiclient/grpcproxy.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5ae2acb77359c79c08a8d22eccf88ffcf0e2955498f7963f4a0128572bff4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppProject.isDestinationMatched (cognitive 22): AppProject.isDestinationMatched has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (8 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). 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":"pkg/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac7dfa5c849acb7e76660cae708befbc359c6e0a71c27895b8148fdb246007"}},{"ruleId":"D2","level":"warning","message":{"text":"application.parseLogsStream (cognitive 22): application.parseLogsStream has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (8 pts), loops 2 (3 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":"server/application/logs.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a361a4dcfd02cde09d6c659d85e5e5e1d6f86e699182638b3a8db1f9527069"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ServeHTTP (cognitive 22): Handler.ServeHTTP has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 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, 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":"server/logout/logout.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bb7df7714576725aeb67bc60e2c50cb86368a61bb8c2625e03e3447ef84827"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgoCDServer.newStaticAssetsHandler (cognitive 22): ArgoCDServer.newStaticAssetsHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 1569). 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":"server/server.go"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebc4c8314d68be26ed245850c1493de394264ce20708e8699ff2049379a5cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"path.CheckOutOfBoundsSymlinks (cognitive 22): path.CheckOutOfBoundsSymlinks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). 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":"util/app/path/path.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9de90f767cf7aa7811bc71aa279f7c531052cfec9efe30da756df56b9bf4e08"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.verifyGenerateManifests (cognitive 22): argo.verifyGenerateManifests has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/argo/argo.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0986c135e213cb01713d3984d6b8b9afe2c99677ddd2e06959a7025e64252100"}},{"ruleId":"D2","level":"warning","message":{"text":"git.DiscoverGitHubAppInstallationID (cognitive 22): git.DiscoverGitHubAppInstallationID has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/git/creds.go"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"184128d36e0bb28ecdfa7f425c61c21ba39be709c1d3282fdc42d182ca0f2f50"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.LsFiles (cognitive 22): nativeGitClient.LsFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 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":"util/git/client.go"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c117a88a46ce2636955fbd9583a7b3c5243f33c7d0ed965aae000e7407bf77"}},{"ruleId":"D2","level":"warning","message":{"text":"helm.DependencyBuild (cognitive 22): helm.DependencyBuild has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2, 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":"util/helm/helm.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a26b21f444726d2e268d5aa4270e9d9559dfd41e6517e0f6a3a34f72b915168"}},{"ruleId":"D2","level":"warning","message":{"text":"lua.cleanReturnedObj (cognitive 22): lua.cleanReturnedObj has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (7 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":"util/lua/lua.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3b6ed001c688e1d34da38c5c465f3ebc3fc3f7a8bbb88ded7b13ce4fc9b431"}},{"ruleId":"D2","level":"warning","message":{"text":"store.removeIndexes (cognitive 21): store.removeIndexes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706f909c296d597de9b2f58abbdb5f2246d54eb35833bc0c3aea787336e2228"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.applyPatch (cognitive 21): diff.applyPatch 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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"85790eac3716bc80fac035046665d5441f0ff2ff8cea7dd0325fda0fc555bee3"}},{"ruleId":"D2","level":"warning","message":{"text":"KubectlCmd.filterAPIResources (cognitive 21): KubectlCmd.filterAPIResources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 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":"gitops-engine/pkg/utils/kube/ctl.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e720c077ea45543dc34dd6869fb523317aab5df4b792220b6a07044fdb2f63d0"}},{"ruleId":"D2","level":"warning","message":{"text":"kubectlResourceOperations.newApplyOptions (cognitive 21): kubectlResourceOperations.newApplyOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 5). Of this number, 13 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":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a22a2d3f5977e1a2f71c036dec9857bf14064f943f2b34d653a723fd1fbf3a"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewApplicationDeleteCommand (cognitive 21): commands.NewApplicationDeleteCommand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 1 (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 1290). 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/argocd/commands/app.go"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa8a47ac00120ec2b329f2defc6a2a2693c70fd8194755ca55916940d8931a0"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printManifestAsTable (cognitive 21): commands.printManifestAsTable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 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":"cmd/argocd/commands/app_resources.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"694724c8fd191fd88e25831cbf337a5ba7789e6027eab46ecea0f3e800d34bee"}},{"ruleId":"D2","level":"warning","message":{"text":"commit.WriteForPaths (cognitive 21): commit.WriteForPaths has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 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":"commitserver/commit/hydratorhelper.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e6a7db6172fa29eaa0a2b1332d7354216ea683f32f16a890c6a609cf325f95"}},{"ruleId":"D2","level":"warning","message":{"text":"Hydrator.hydrate (cognitive 21): Hydrator.hydrate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"controller/hydrator/hydrator.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92479cc0f684ee7669109cd5712cf91ee8943bbc26a704a7e3f4d7d544a0ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetStatus.SetConditions (cognitive 21): ApplicationSetStatus.SetConditions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 2 (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":"pkg/apis/application/v1alpha1/applicationset_types.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"630beae81e19555cbe8428b9e90fe952979a3b5b629ac9bd46ae4f764ea39caa"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.fetch (cognitive 21): repository.fetch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (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":"reposerver/repository/repository.go"},"region":{"startLine":3155}}}],"partialFingerprints":{"codehealthFindingId/v1":"46384b2f799a956dfae53692c6bae0770b4dbdefe433ad4df69b6dab19f6d7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetAppDetails (cognitive 21): Server.GetAppDetails 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, 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":"server/repository/repository.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d32b0a6492584a2aee155fad4ae775aa6b08615bff895d850c18bc4651d124"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.AddCacheFlagsToCmd (cognitive 21): cache.AddCacheFlagsToCmd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 21 points belong 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":"util/cache/cache.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2486d5ce867a3cd4caae649ac09730d41415044ac3b861e337f6c25cead15d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.Checkout (cognitive 21): nativeGitClient.Checkout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 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":"util/git/client.go"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d143e23ce02c8ad35c5b48509dfd7b4115755bf4c7faf41a6c5eae3dcc2e2685"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.LsSignatures (cognitive 21): nativeGitClient.LsSignatures has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 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":"util/git/client.go"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a6d6197203f2bdb328d1868fd4c3998c031f8f73b7d91523c3c5ee27fa6112"}},{"ruleId":"D2","level":"warning","message":{"text":"helm.GetParameters (cognitive 21): helm.GetParameters has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/helm/helm.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba22245ba1859c5d1d8ff380c055b3af1fbc8bcb7b9f3ec135ded389651bf9d"}},{"ruleId":"D2","level":"warning","message":{"text":"VM.ExecuteResourceAction (cognitive 21): VM.ExecuteResourceAction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (2 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":"util/lua/lua.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3a7ddde047ba5a9837008b2b602c279833c548f211b8480448f5df5f043b46"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionManager.VerifyToken (cognitive 21): SessionManager.VerifyToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 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":"util/session/sessionmanager.go"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21dae269a28c2d38e5fe55580ff9e3b2caa91eb7342d923b13bb40694fa35a2"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.updateSettingsFromConfigMap (cognitive 21): settings.updateSettingsFromConfigMap has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (20 pts), 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":"util/settings/settings.go"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32850d0c4f9c9ae8e43eaf0ff3273506927f1ec284543cbb664ad777eb68d88"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.fetchChangesFromBitbucketServer (cognitive 21): webhook.fetchChangesFromBitbucketServer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 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":"util/webhook/webhook.go"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dd934ef2e81c99ccffd4efd9aabb3c68ca009a49552f81fb663570d4980f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"legacyEngine.watchEvents (cognitive 20): legacyEngine.watchEvents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 351). 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628ff5136afa573f39f05212ae373f9d884b8c3d5bc31c99f178e89039c4baa"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.deleteInCluster (cognitive 20): ApplicationSetReconciler.deleteInCluster has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (nesting depth added 7). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 925). 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ce48433127f4db307bdeead2a9cf4be8e64c017fc06095bdd49aee71b0b1d1"}},{"ruleId":"D2","level":"warning","message":{"text":"scm_provider.compileFilters (cognitive 20): scm_provider.compileFilters has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 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":"applicationset/services/scm_provider/utils.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96c91d7c140335b690744af70104979a6ed75dadf7451ea6141bd06f678b8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewCommand (cognitive 20): commands.NewCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3 (nesting depth added 5). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 111). 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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b732023a59f4ee7d7de5a60409fe3ee350f8d89005d5769dda835fa3f72ebd"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewCommand (cognitive 20): commands.NewCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2, match/switch 1 (nesting depth added 3). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 58). 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/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c770943c678c02b8aa1fc4341cbe8bd024de7addff245471a400810cbaa750"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printManifests (cognitive 20): commands.printManifests has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 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":"cmd/argocd/commands/app_resources.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e673570c8de1615501565006430a1aceadd1e6ad1befa62d0ad7cb5529e0495c"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.reconcileApplications (cognitive 20): admin.reconcileApplications has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 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/argocd/commands/admin/app.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f543e6ba0b33eb9105d19cfda667f5e50bc50bec32da9e4af5949c16c85393"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.NewGenRepoSpecCommand (cognitive 20): admin.NewGenRepoSpecCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5 (nesting depth added 4). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 95). 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/argocd/commands/admin/repo.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67eba307c6212a2477185a1bb6dfb70a162f9c958c8474fee8df770ca335412"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.normalizeTargetResources (cognitive 20): controller.normalizeTargetResources has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 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":"controller/sync.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"85884a346ff1e5f2969752ee4e2b8e101c429f4b4a6c0ae03b41cbf1398cd204"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.statusWithEffectiveReconciledAt (cognitive 20): ApplicationController.statusWithEffectiveReconciledAt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5 (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":"controller/appcontroller.go"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16488711960a984758170d82573b4f110071ebbfccccbac922dea93158fa0ec"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.loadRedisCreds (cognitive 20): cache.loadRedisCreds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (20 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":"util/cache/cache.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eecba52241076c3d2e7736771881be01befcbfb3c622996dff6adfbb13faad1"}},{"ruleId":"D2","level":"warning","message":{"text":"cmp.receiveFile (cognitive 20): cmp.receiveFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 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":"util/cmp/stream.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e624b2aa0bae4385eb226c8f999fa59c200f975ed2edfa69895db54a2ce43ef"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.cleanupOrphanedTempPackfiles (cognitive 20): nativeGitClient.cleanupOrphanedTempPackfiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 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":"util/git/client.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8ae4e4836f597715381179459aa3922e74c8a085bf6be00ca958a3176797bf"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeGitClient.lsRemoteOptimized (cognitive 20): nativeGitClient.lsRemoteOptimized has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4 (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":"util/git/client.go"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c9278a47cd28080804c42d2789a36597cda9a20e2bfb98deeac2a56f3ea236"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.GetLegacyDestinations (cognitive 20): settings.GetLegacyDestinations 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":"util/notification/settings/legacy.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bd7f0b64d7f3e860863df7f8570dd3137f260078fb7b7cf1d2a77e35f74c31"}},{"ruleId":"D2","level":"warning","message":{"text":"sourceintegrity.describeProblems (cognitive 20): sourceintegrity.describeProblems has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 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":"util/sourceintegrity/source_integrity.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3490d67a996bd1bde4796844bcb2cdfccea421de8c1fb0adf1f1b74b85e618ba"}},{"ruleId":"D2","level":"warning","message":{"text":"store.processNamespaceHierarchy (cognitive 19): store.processNamespaceHierarchy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). Of this number, 14 points are the body\u0027s own statements and 5 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e428de113e8522e434f6537f7f3f1f530f9d907087218d029276e62f19c578"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.dedupLiveResources (cognitive 19): sync.dedupLiveResources has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (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":"gitops-engine/pkg/sync/reconcile.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b504f25329317bbdf7784b7c5a6917a41719c38f597b28d5b5eeb9d4436bd6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.getMinRequeueAfter (cognitive 19): ApplicationSetReconciler.getMinRequeueAfter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a058e30ae7df6aaacc6caaf154ce36e2e1b1456611eab94b2fbcd8df081ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"Requirement.Matches (cognitive 19): Requirement.Matches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/utils/selector.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9119664b99a60d86fda99511c88040bf325f3827d9aee8ebe44889d2e39835a"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.oauth2Login (cognitive 19): commands.oauth2Login has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 337, 431). 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/argocd/commands/login.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"780008c5088b8d85f32951bf7a8a75366056c18eb44ddd50a6bf3ccd25b3a2cc"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewProjectSourceIntegrityGitPoliciesDeleteCommand (cognitive 19): commands.NewProjectSourceIntegrityGitPoliciesDeleteCommand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 5). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 177). 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e43cc748b3676b78a1867ad647e62f2664c5a578dd2edbe3310cf546c3d114"}},{"ruleId":"D2","level":"warning","message":{"text":"settingsOpts.createSettingsManager (cognitive 19): settingsOpts.createSettingsManager has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2, boolean chains 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":"cmd/argocd/commands/admin/settings.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a4fc8a3d5ec6e01fb74609ec2d8d7ec27984afa02f1a5965e8e6061fc6a406"}},{"ruleId":"D2","level":"warning","message":{"text":"util.setKustomizeOpt (cognitive 19): util.setKustomizeOpt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), 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":"cmd/util/app.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4f38f85f7659bcff826c16804b8c34328b08b68cf6133936869dcde4b91a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.NormalizeTargetObjects (cognitive 19): controller.NormalizeTargetObjects has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":"controller/state.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b960b860b00fb78b4986796968c20f0793e1398ccb80e23bc6ef0203d3538"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.processAppOperationQueueItem (cognitive 19): ApplicationController.processAppOperationQueueItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 1 (nesting depth added 4). 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: 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":"controller/appcontroller.go"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"87371724594277f527684a042cfd34d378540d740c847298866ef49bf202148d"}},{"ruleId":"D2","level":"warning","message":{"text":"liveStateCache.handleModEvent (cognitive 19): liveStateCache.handleModEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 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":"controller/cache/cache.go"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda8f73fe385a69ffd42e05d41781ffd8b14b17544a8496b1006ddf6f9febbc"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.isAppSyncStatusRefreshed (cognitive 19): controller.isAppSyncStatusRefreshed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, 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":"notification_controller/controller/controller.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403a0763d17869ceb6dc7447a09c8b9ba16f00774fd31eebd157be383574db8"}},{"ruleId":"D2","level":"warning","message":{"text":"reposerver.NewServer (cognitive 19): reposerver.NewServer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 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":"reposerver/server.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d706ab4caa8fa9c565aae209fb149ff45afc74ab7106ef3657ffbd31a66643"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.GetRevisionMetadata (cognitive 19): Service.GetRevisionMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, 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":"reposerver/repository/repository.go"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"1082150d89bb517fb6264106db3b23b8935a96466b013270468983b2bc9f7038"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.GetOciFiles (cognitive 19): Service.GetOciFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1bab97aad33130dfd55cd51750db896623872ab60153e29b9eb2aabc07262"}},{"ruleId":"D2","level":"warning","message":{"text":"application.isTheSelectedOne (cognitive 19): application.isTheSelectedOne has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 2 (3 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":"server/application/application.go"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"a906d5e27390d6858302b5c3c58c45e769d724f96db8ba7e4b2b7efe50cfd6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ListResourceEvents (cognitive 19): Server.ListResourceEvents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (2 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":"server/application/application.go"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bada938641262db421c06e2a9f54f8847387dc8334d8cd1a24db68c083ac7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.NormalizeProjs (cognitive 19): Server.NormalizeProjs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 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":"server/project/project.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b4309a1a4420acfa18c3ae2a620dca77da8f0a47f2659a67f69f0b5ea14af5"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.validateRepo (cognitive 19): argo.validateRepo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, 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":"util/argo/argo.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e12160012cc97f3bfd487aedd039544372217275ca9985378646acc72d8e26c"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeOCIClient.getTags (cognitive 19): nativeOCIClient.getTags has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 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":"util/oci/client.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3318de928cfbec02b400c1091ece0f3c4d1fbc43077e3607225dafff298832"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.GetKustomizeSettings (cognitive 19): SettingsManager.GetKustomizeSettings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2, 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":"util/settings/settings.go"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d9a7cc8894a23dd03bb76758af5aacd6f487d14bf87bf42fb074dfd9ffd32d"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.parseManifests (cognitive 18): settings.parseManifests has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2, 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 71). 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":"gitops-engine/agent/main.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f25f18dba2dd76ea75dbd9c0cf5e8cab9098ac47429cb0104b9961108ecf90d"}},{"ruleId":"D2","level":"warning","message":{"text":"store.checkPermission (cognitive 18): store.checkPermission has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 1 (2 pts), 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60d97e5fd07bf3cca03f44b6cc4f8e0903e390c20f7826293238253f31d77e1"}},{"ruleId":"D2","level":"warning","message":{"text":"BitbucketServerProvider.ListRepos (cognitive 18): BitbucketServerProvider.ListRepos has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), match/switch 1 (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":"applicationset/services/scm_provider/bitbucket_server.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"37413ef7ef88f8bf1ead920d06cbd920a83d2d14fe13ae8b2951d5f7ef2d5dda"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.compareManifests (cognitive 18): commands.compareManifests has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, 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":"cmd/argocd/commands/app_diff.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1538f8f7deb489d61faa7fa40e2249aa275891d026653ee62f9ba9f1745c72"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.modifyResourceListCmd (cognitive 18): commands.modifyResourceListCmd has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 662). 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/argocd/commands/project.go"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6862acb46b86d7220954b8ddb8996b54625f9c9db47db172b679281d11ee1ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.NewRBACCanCommand (cognitive 18): admin.NewRBACCanCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5 (nesting depth added 1). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 166). 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/argocd/commands/admin/settings_rbac.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b9d00eaa1d3e3e29d929638fe5b18ee5ddcc861496ad316190f9d654d233c5"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 18): main.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2531c2ef6947faf139ef5024ce36da7337b7feebb4e5c27e322653be45888"}},{"ruleId":"D2","level":"warning","message":{"text":"util.ConstructSource (cognitive 18): util.ConstructSource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 5). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 708). 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/util/app.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8763cbdb5188f2ac1110427306bffa298f1a2cb5667bd7162775ca3c0e22a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"util.FilterResources (cognitive 18): util.FilterResources has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, 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":"cmd/util/app.go"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eed8641da6005597885ef19dd6eaf51e6b4a6732648c901a17c15f4b5cb0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.isKnownOrphanedResourceExclusion (cognitive 18): controller.isKnownOrphanedResourceExclusion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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":"controller/appcontroller.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"799df86587fc999ad16edbc4a8fced9bfbb3f562b6613f6bbf70cb9659723766"}},{"ruleId":"D2","level":"warning","message":{"text":"appStateManager.EvaluateAppRevisionsChanges (cognitive 18): appStateManager.EvaluateAppRevisionsChanges 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":"controller/state.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c756f5801457b19c56bbdc49a1670e9606ba305b792acff5df9892cbceb9431"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Delete (cognitive 18): Server.Delete has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (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":"server/application/application.go"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112caa636a0b1d1ce9111fe78d78a939a62ea9f25f5912c0f77dee11a783aef"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.diffArrayCached (cognitive 18): diff.diffArrayCached has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2, 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":"util/argo/diff/diff.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e3b74f6ad5be695c3d7e4862a0d7c87a9b565dbf2a83ec926d6c503e1a4e40"}},{"ruleId":"D2","level":"warning","message":{"text":"git.newAuth (cognitive 18): git.newAuth has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"util/git/client.go"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a0aaa09dfb4c97377b74f291829aa65f8f7baffcdf38e0109786032263611"}},{"ruleId":"D2","level":"warning","message":{"text":"git.ExtractOrgFromRepoURL (cognitive 18): git.ExtractOrgFromRepoURL has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"util/git/creds.go"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"606633c61536d4c2442e591dd6f78c6682c40d06d8fc736346746f5f214e5d16"}},{"ruleId":"D2","level":"warning","message":{"text":"grpc.logRequest (cognitive 18): grpc.logRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), match/switch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/grpc/logging.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa759f4695827af27363a853f5f5c4fac737e57ce2d8d821212ab9cf1cee7767"}},{"ruleId":"D2","level":"warning","message":{"text":"Cmd.RepoAdd (cognitive 18): Cmd.RepoAdd has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (18 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/helm/cmd.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cbce42f9bc19cc7bfa5a47d310acaccc71a45cb5d6259862c63d221349d041"}},{"ruleId":"D2","level":"warning","message":{"text":"tls.generate (cognitive 18): tls.generate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 1, match/switch 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":"util/tls/tls.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee9f0e5bc27caa4cac9a8f5680fe5b9b231857978d1006befcf66a4fb416ef"}},{"ruleId":"D2","level":"warning","message":{"text":"trace.collectorTLSCredentials (cognitive 18): trace.collectorTLSCredentials has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, 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":"util/trace/trace.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e84d1db9df4e6ed1c8034f9bcb4a522bb2e9976c8127f386c07a894c5f1128"}},{"ruleId":"D2","level":"warning","message":{"text":"versions.MaxVersion (cognitive 18): versions.MaxVersion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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":"util/versions/tags.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bc71996da0fd8d80f4d1abac00784ce1fc5d5f65d45a3114d0bc5ba70bfc74"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.newBitbucketClient (cognitive 18): webhook.newBitbucketClient has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 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":"util/webhook/webhook.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdffb1935330d1aeedd2e0e702ae56962a541eeacd8695969cc329648a3105f"}},{"ruleId":"D2","level":"warning","message":{"text":"health.GetHealthCheckFunc (cognitive 17): health.GetHealthCheckFunc has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 pts) (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":"gitops-engine/pkg/health/health.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738c4073555f1e0f8d7c30e2ff38757eb1dc885f4d65eccd65dcbd99ca70c99"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.nestedGeneratorHasClusterGenerator (cognitive 17): controllers.nestedGeneratorHasClusterGenerator has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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":"applicationset/controllers/clustereventhandler.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cba9e01148970784c8fbdcf3a01b71da5860618281470c1f0da1ffeedce6596"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationSetReconciler.migrateStatus (cognitive 17): ApplicationSetReconciler.migrateStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 10 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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"35109274d796e7711d102390bba14ea8365b08c2b7edff56b241033ffc62e767"}},{"ruleId":"D2","level":"warning","message":{"text":"generators.filterPaths (cognitive 17): generators.filterPaths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/repo_path_utils.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0069e23671f437f7bfa965331df44a1e8aaee6928c4914503f3a15fa2fc0921"}},{"ruleId":"D2","level":"warning","message":{"text":"progressivesync.getAppsToSync (cognitive 17): progressivesync.getAppsToSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (6 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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b4fa89ae89d5e277e13fdb768133e479c0d55551a224ebbc22c9531565bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"GithubService.List (cognitive 17): GithubService.List has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 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":"applicationset/services/pull_request/github.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ce61c667da9b9d94ebec1017737d897529a1ba4340231e1eccd8ed83f2613f"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.warnOnProblems (cognitive 17): commands.warnOnProblems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (6 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e434dd5fca929eea2d628c41d70f58aced54da8725927bd03345dc112abc563"}},{"ruleId":"D2","level":"warning","message":{"text":"admin.checkPolicy (cognitive 17): admin.checkPolicy 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/argocd/commands/admin/settings_rbac.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d1413e42c42863dddd4da893b2484970018d9ee3ee4d31c6d0106ca42dd9e"}},{"ruleId":"D2","level":"warning","message":{"text":"application.processAppFields (cognitive 17): application.processAppFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2a38e9a1ffcf3d656791003d247fac0a230480eb6cad153c5ea00ad0a24372"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.runConfigManagementPluginSidecars (cognitive 17): repository.runConfigManagementPluginSidecars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"reposerver/repository/repository.go"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"54405e335fd05646bcd50e31bba5d574a3a58e3d62957ef2e320bf39ad43d79b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.gitSourceHasChanges (cognitive 17): Service.gitSourceHasChanges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 pts) (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 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":"reposerver/repository/repository.go"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"093283157e966d3c0c363242abac10ca4f77aafa9f4404ac2eb8ace4fed513c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.getAppEnforceRBAC (cognitive 17): Server.getAppEnforceRBAC has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"be11e136f7f984d7f907b94dd0c85213df9cdad057cee1c69bc8916622664587"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Watch (cognitive 17): Server.Watch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"server/application/application.go"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5745bb2264f4704578a0355e9096d7c8daa95ca522b10c548551d600d09bab8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Create (cognitive 17): Server.Create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), loops 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":"server/applicationset/applicationset.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"19076852c20a51cc47ccd0465b7ad349ebf83eaf3446fb0db25671e3d8022d91"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.getCluster (cognitive 17): Server.getCluster has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/cluster/cluster.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"af21cdd42703dbf73fb6b99fa6a90411ad7741558543f0fd5c5c5076f0073ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"deeplinks.EvaluateDeepLinksResponse (cognitive 17): deeplinks.EvaluateDeepLinksResponse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (3 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":"server/deeplinks/deeplinks.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb91cd0f70de3a5af769187f46b610dde2bd3680bc493fc73a364b302bf0ac12"}},{"ruleId":"D2","level":"warning","message":{"text":"RBACPolicyEnforcer.EnforceClaims (cognitive 17): RBACPolicyEnforcer.EnforceClaims has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"server/rbacpolicy/rbacpolicy.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6b81eedbb0fd246d191b8ebe04cae36cb538027f29a8ef38944243465c380"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.GetGlobalProjects (cognitive 17): argo.GetGlobalProjects has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/argo/argo.go"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44306f0dbc7460b46de2a67af112f7ef6464733531ae2a45348a237d620d127"}},{"ruleId":"D2","level":"warning","message":{"text":"resourceTracking.RemoveAppInstance (cognitive 17): resourceTracking.RemoveAppInstance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/argo/resource_tracking.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"93006540a57db244ea55c3669dac028b917505e6f4eaf05ff520da90bec35f09"}},{"ruleId":"D2","level":"warning","message":{"text":"lua.strftime (cognitive 17): lua.strftime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 1 (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":"util/lua/oslib_safe.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723d83382f3e82b5a6a8807ddbd5be2f6361859d48ec854e0a271f89ecc1842"}},{"ruleId":"D2","level":"warning","message":{"text":"oidc.hasUserReadScope (cognitive 17): oidc.hasUserReadScope has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 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":"util/oidc/oidc_azure.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3ebeabe92e6013edd2810546e73b8edd1e7398f1cebb5ed78f6d38e129ba24"}},{"ruleId":"D2","level":"warning","message":{"text":"providerImpl.Verify (cognitive 17): providerImpl.Verify has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 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":"util/oidc/provider.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"542183a3c315b0398723e8a69bcce79e031489e00df5fa3af9e4e1756cd80824"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.ParsePushEvent (cognitive 17): webhook.ParsePushEvent has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 2 (4 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/webhook/push.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12c26eac1dc882627099dea9ae41441e042e222cb2f325a55e6cd91d2c39b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"gitOpsEngine.Sync (cognitive 16): gitOpsEngine.Sync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 5 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":"gitops-engine/pkg/engine/engine.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"18639ab62e72cf0caf85cc39d0de8e02de8d5e5d58705dcdcc3a9ee54c04724b"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.removeHookFinalizer (cognitive 16): syncContext.removeHookFinalizer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 903, 888). 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85732b7aa9d3603d51579ed71cc0e8c3938ee8d25b43d0ac253312696f0ef73"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContext.autoCreateNamespace (cognitive 16): syncContext.autoCreateNamespace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 1 (3 pts), loops 2, 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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af471aae7f9fadecb33c080cdd2987cd424fb77bde52594480ffb84fdefc2f"}},{"ruleId":"D2","level":"warning","message":{"text":"generators.generateRepoSourceFileParams (cognitive 16): generators.generateRepoSourceFileParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (7 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":"applicationset/generators/repo_path_utils.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"730c8eaa4f74502d6eafef90aa784bd9ba9902941aba56c2888440ee3ff57bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"pull_request.compileFilters (cognitive 16): pull_request.compileFilters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 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":"applicationset/services/pull_request/utils.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc786b4938bfd5c9b6a71ce3bcddcd493a67755b7b2ae90390ca3eebe4b0b9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"GitLabService.List (cognitive 16): GitLabService.List has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"applicationset/services/pull_request/gitlab.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8c79e73d3ad4831ac79d2d1bc220c2a12df45332e0a725f30fc6d27c576148"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCodeCommitProvider.RepoHasPath (cognitive 16): AWSCodeCommitProvider.RepoHasPath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 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":"applicationset/services/scm_provider/aws_codecommit.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"33571f51298c4d8bfc3afa876d26b77326c388f8d5905c352499f611873a6960"}},{"ruleId":"D2","level":"warning","message":{"text":"GitlabProvider.listBranches (cognitive 16): GitlabProvider.listBranches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 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":"applicationset/services/scm_provider/gitlab.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b19b0252f8955a35295f4d807e962bfde22f844f7ef58e0e0c996304b651b"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.NewAccountSessionTokenCommand (cognitive 16): commands.NewAccountSessionTokenCommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 4). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 473). 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/argocd/commands/account.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e007a0c58d202205c70309ccf2c4314f08dcfd9fe3fbab22284f857f947b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.restoreNonIgnoredFields (cognitive 16): controller.restoreNonIgnoredFields has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 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":"controller/sync.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd65203785b4de488c8f59b76c2ff1408be295cabd8b1a718c83c27b671069aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.setOperationState (cognitive 16): ApplicationController.setOperationState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 5 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":"controller/appcontroller.go"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea001df9ba91eff921ddcc0d9c1977d18b031746ef2fec49dd696bfa6d2b2ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationController.canProcessAppWithDestination (cognitive 16): ApplicationController.canProcessAppWithDestination has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 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":"controller/appcontroller.go"},"region":{"startLine":3223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b0309f5d4a2662d22547965d4d3770e199c5cb7da35098dac7988521451f82"}},{"ruleId":"D2","level":"warning","message":{"text":"main.newCommand (cognitive 16): main.newCommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 2 (nesting depth added 3). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 37). 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/dev-mounter/main.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05eade922bf06908994aec3c986317e7e09e6c7bc1accc09ea30a8f2eb805b"}},{"ruleId":"D2","level":"warning","message":{"text":"client.newConn (cognitive 16): client.newConn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (4 pts), boolean chains 2 (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":"pkg/apiclient/apiclient.go"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73cb801a4ed89289e0cc8f1cd5cb82e2eb76d35765fe785706e105b5cc071f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationTree.GetSummary (cognitive 16): ApplicationTree.GetSummary has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (6 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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9a667e0440611f9d9fe00760691e8eda0563c6822bf2addd281b83c43e5ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.getPotentiallyValidManifests (cognitive 16): repository.getPotentiallyValidManifests has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (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 2268). 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":"reposerver/repository/repository.go"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"08690dfde4dab7acf7b120b5293492fc588bfb74a1236b6be7d52ab819d09761"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Create (cognitive 16): Server.Create has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 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":"server/application/application.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a7372dc70b25665ef319df1eadf4907d46621e0543be64d520d14bfca983c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Watch (cognitive 16): Server.Watch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (4 pts), match/switch 1 (2 pts) (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: 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":"server/applicationset/applicationset.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bd6ac266ae89a51f04a5c8d89b28cef2603ff8da1c38122b5b087fe9651f2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.updateAppSet (cognitive 16): Server.updateAppSet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"server/applicationset/applicationset.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c838add479c4da6e97ca39a1313a7a3465e2d73897b7486693602d584a654d3"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.parseAndValidateConfig (cognitive 16): extension.parseAndValidateConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"server/extension/extension.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"183ebd6248ac69fee1eebef273c713a29a6b5f9a43d9394034417d168e5e5ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.CreateRepository (cognitive 16): Server.CreateRepository has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 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":"server/repository/repository.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76f0cf0891cfc330e281bea39cc647a5432bd2d83e2bbb71135e433492b60e2"}},{"ruleId":"D2","level":"warning","message":{"text":"argo.ValidateRepo (cognitive 16): argo.ValidateRepo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"util/argo/argo.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67004348298607d3baa8f8184e7872397b04f303739c0e808f0ea39b456122d"}},{"ruleId":"D2","level":"warning","message":{"text":"ignoreNormalizer.Normalize (cognitive 16): ignoreNormalizer.Normalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, 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":"util/argo/normalizers/diff_normalizer.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"563ef8e9861779a01d90cff341ce6168628b1bedb5898fcea42badcec137976a"}},{"ruleId":"D2","level":"warning","message":{"text":"resourceTracking.Normalize (cognitive 16): resourceTracking.Normalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/argo/resource_tracking.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38e1c8bb81795b5e57d9b53231b4dad1b2991bcf83f18fe9fd6fd43155d430e"}},{"ruleId":"D2","level":"warning","message":{"text":"cert.ParseTLSCertificatesFromStream (cognitive 16): cert.ParseTLSCertificatesFromStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 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":"util/cert/cert.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d81b99f961df078b47eb35c2d1b1cedef45043cf6ea6991d407152c19273ed"}},{"ruleId":"D2","level":"warning","message":{"text":"cmp.sendFile (cognitive 16): cmp.sendFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 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":"util/cmp/stream.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"591e9e5a61eed4a41100dc43abde7f9a53df261060b282dd2d4d9cbc7fac2dce"}},{"ruleId":"D2","level":"warning","message":{"text":"db.SecretToCluster (cognitive 16): db.SecretToCluster has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), 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":"util/db/cluster.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"84728b2eac9823d16a4c8ad4c5dfb14c51e4e4560322db83f65fa60efbeedc4e"}},{"ruleId":"D2","level":"warning","message":{"text":"secretsRepositoryBackend.getRepositorySecret (cognitive 16): secretsRepositoryBackend.getRepositorySecret has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, 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":"util/db/repository_secrets.go"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577ba46545b9332574bbf5b47e8779d73492e839c480e2f4f7e34d100576237"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPSCreds.Environ (cognitive 16): HTTPSCreds.Environ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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":"util/git/creds.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dc577dd507ba9eedc45f1b0eb945a08171e5110eb03f5c9546bd56181ec224"}},{"ruleId":"D2","level":"warning","message":{"text":"Cmd.template (cognitive 16): Cmd.template has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 5 (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":"util/helm/cmd.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0125a9b9e3896eef08a6acca9b195904d503e709bb7c63cc42897c47a2f1257f"}},{"ruleId":"D2","level":"warning","message":{"text":"retryTransport.RoundTrip (cognitive 16): retryTransport.RoundTrip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, match/switch 1 (3 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":"util/http/http.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac608305e07357013f7043cc471e7814ce68f0aead52105111d748e72a56e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"kube.PortForward (cognitive 16): kube.PortForward has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 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":"util/kube/portforwarder.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3591e75132a21b02e3d86c40a61de9b0d81b1d22a02323e72eaf2c5bb4151402"}},{"ruleId":"D2","level":"warning","message":{"text":"manifeststream.sendFile (cognitive 16): manifeststream.sendFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 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":"util/manifeststream/stream.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"598bac328469294e671b9cfe0110af3d8f909aec79cd43cd29d830295cab8fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.secretToCluster (cognitive 16): settings.secretToCluster has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), 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":"util/settings/cluster_informer.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5c6b3c1b6b9dc41c55932cee1f771ebf5a5f00b08b3737909924e0a140d33b"}},{"ruleId":"D2","level":"warning","message":{"text":"tls.getTLSConfigCustomizer (cognitive 16): tls.getTLSConfigCustomizer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 1 (2 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":"util/tls/tls.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1969b8464b4894319c9cff08f4ada450ff188e9e088cd8431f9362972dd5bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/repository.go: FileTooLong \u2014 2421 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1921 over it, 4.84\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":"reposerver/repository/repository.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934f11f818ab87a5a3db9360e14d9b8088665313872c0ba74af904a4f0fe0c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApplicationController: ClassTooLong \u2014 1883 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods, 64 blocks, lines 120-3615. The bar is 400 significant lines; this is 1483 over it, 4.71\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":"controller/appcontroller.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4aea79b04e3003cf3c18a76f8974d8e624b50c1de7727288ee902e7fc816a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1alpha1/types.go: FileTooLong \u2014 2340 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1840 over it, 4.68\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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d55b630a9d7a07fcf16b1902b80a9e03ce794a9466f57e5b8c14ad9f259b95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 1858 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods, 60 blocks, lines 103-3327. The bar is 400 significant lines; this is 1458 over it, 4.65\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":"server/application/application.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42e24c34325eb5afd320d5762e0c449792ebbdc77dbeb7c0e717fc46f966f5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/appcontroller.go: FileTooLong \u2014 2258 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ApplicationController (64 blocks, 120-3615). The bar is 500 significant lines; this is 1758 over it, 4.52\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":"controller/appcontroller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb26cf539f52b9c9a4df993f13329ea2c0f54b2fd1ee8b88a58915d5dc97873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/app.go: FileTooLong \u2014 2167 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1667 over it, 4.33\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/argocd/commands/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c0567675ba69fb6db486a256bf60418e93d058f03f475083e576e2d663647"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/application.go: FileTooLong \u2014 2126 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Server (60 blocks, 103-3327). The bar is 500 significant lines; this is 1626 over it, 4.25\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":"server/application/application.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7d7d4b21cde6a602d7a0a83377d009cdbfde5506544e9f83a0e90d800f4800"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/settings.go: FileTooLong \u2014 1786 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1286 over it, 3.57\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":"util/settings/settings.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c90c633c28fa4c6e6d2d2c012358eac6be0f531c19b929011ed103e43b370a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Service: ClassTooLong \u2014 1261 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, 36 blocks, lines 93-3909. The bar is 400 significant lines; this is 861 over it, 3.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cee9b5d015f73d3202cd4e2546e6caff625513f220cc1120d8250a8c9161ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: appStateManager.CompareAppState: MethodTooLong \u2014 CompareAppState runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.12\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":"controller/state.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761aa069ed591fb9758bd9d9581e66872b0cf0f6aa6d51039ef548fa1f0e86d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApplicationController: TooManyMethods \u2014 83 methods, declared across 3 files: controller/appcontroller.go (64), controller/hydrator_dependencies.go (13), controller/hook.go (6). The bar is 30 methods; this is 53 over it, 2.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":"controller/appcontroller.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1a13ad94c9396086cddcfca810fd0db13b7ab879c8510f00173f1772609a49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: git/client.go: FileTooLong \u2014 1323 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 823 over it, 2.65\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":"util/git/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"646564badff854250e5a43930eda88916037ddd5ee4c27d12601aa6d4af412f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewCommand: FunctionTooLong \u2014 NewCommand runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd-server/commands/argocd_server.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d0fabf141626c9a49d174496cb7d3278c8be8e9edb1ecd9ddb1e513906f10b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewApplicationSyncCommand: FunctionTooLong \u2014 NewApplicationSyncCommand runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\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/argocd/commands/app.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8332d29499ec0f64c636d898cb1aa53ce9c26e615a8bcc91b9563dcc196d744"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/server.go: FileTooLong \u2014 1291 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 791 over it, 2.58\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":"server/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae1a94109b305dacc30a7b8a22ee24b1a6c658512279cf1478e57603ed29c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AppOptions: TooManyFields \u2014 76 stored fields. The bar is 30 stored fields; this is 46 over it, 2.53\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/util/app.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f448eaa8e418ef7b8ffa288540641f5f0f7e21d288bfe4254f3dab49f57a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsManager: TooManyMethods \u2014 75 methods, declared across 2 files: settings/settings.go (70), settings/accounts.go (5). The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/settings/settings.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"089066dee278a1ab76dc18bc7d7a4691e7a7af57015fc47919dab6d11eb33bc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewCommand: FunctionTooLong \u2014 NewCommand runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a679986ee827889b7c74280308bcafcf1edd801ca5fb930668b6607cda43a3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command.NewCommand: FunctionTooLong \u2014 NewCommand runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\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/argocd-applicationset-controller/commands/applicationset_controller.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"825efb78bd7b6c30c17e03201c1b1abc6eb0f4d2e2186e83e303d7ed27276bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: appStateManager.SyncAppState: MethodTooLong \u2014 SyncAppState runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\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":"controller/sync.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d33147d4d8fda8235e1ff0be47aa382c78510e65866811ffff2333cf16cf60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsManager: ClassTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods, 71 blocks, lines 632-3001. The bar is 400 significant lines; this is 514 over it, 2.29\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":"util/settings/settings.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b38ccc613f60561663bc41c267ad49e8b1cd4f6d0d1a2304f4625d6cde85aa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/sync_context.go: FileTooLong \u2014 1127 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: syncContext (36 blocks, 364-1843). The bar is 500 significant lines; this is 627 over it, 2.25\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c63dc2c924f203f524b38195152acdf69985608a19edaef5507f185ff12fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApplicationSetReconciler.Reconcile: MethodTooLong \u2014 Reconcile runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3309c24d5ff45ad2e18aa67d89267db89c997f95d05fa43856b634acc7e3e200"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: client: TooManyMethods \u2014 64 methods, declared across 2 files: apiclient/apiclient.go (61), apiclient/grpcproxy.go (3). The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. Most of these members implement apiclient.Client (57 of 64 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apiclient/apiclient.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3289d5a9f4a066266f85852c104a6f5975987abee2e60cc84c4ba847173a29cd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: syncContext: ClassTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, 36 blocks, lines 364-1843. The bar is 400 significant lines; this is 450 over it, 2.13\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d099156c54ac4d043c1438eaa0900f78afb33f2d2739cb73fc78cda8e9659357"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: kustomize.Build: MethodTooLong \u2014 Build runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/kustomize/kustomize.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d51a276db68a3321ca3642087021e026a4ede7b57d04bc633fdfd4fbde181d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admin.NewImportCommand: FunctionTooLong \u2014 NewImportCommand runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\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/argocd/commands/admin/backup.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674e64312072648838f6db857ed9a9ad22232e79b1203009b7ed5bc8d5b02a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: db: TooManyMethods \u2014 60 methods, declared across 8 files: db/repository.go (35), db/cluster.go (10), db/certificate.go (5), db/secrets.go (4), \u002B4 more file(s). The bar is 30 methods; this is 30 over it, 2.00\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. Most of these members implement db.ArgoDB (43 of 60 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/db/db.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c07bf1c4debb30cdeb25a13e861462a7689ee924d9a4c257a87e53f611b7a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewCommand: FunctionTooLong \u2014 NewCommand runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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/argocd-repo-server/commands/argocd_repo_server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6742df8b885af62af3d55f5d83d8ae426c993ed396ccbdc7adc1cdf4cf121f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"server/application/application.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fc214ae884cf2b5cb5bcdf73d6dbf99315721277e5d1529dca80c30e30a11a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: nativeGitClient: ClassTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods, 50 blocks, lines 202-2313. The bar is 400 significant lines; this is 354 over it, 1.89\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":"util/git/client.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e340a01df524542617d65d4f50fa87b7c66eeffb097b50548b24bbcf4ef6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: argo/argo.go: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 404 over it, 1.81\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":"util/argo/argo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a63affaf6d50a74534686cb7e246b08b11d5b6a38d0fd6c66e6765c0d3e8167"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/state.go: FileTooLong \u2014 901 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: appStateManager (8 blocks, 133-1404). The bar is 500 significant lines; this is 401 over it, 1.80\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":"controller/state.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a85659235d0dd0ed42b33819e1b267a5698d694f959c28a49b71a4915214b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApplicationController.processAppRefreshQueueItem: MethodTooLong \u2014 processAppRefreshQueueItem runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"controller/appcontroller.go"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e443d565cde73b8552267990143009ee262b7075235151533b1c45558890b32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/applicationset_controller.go: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: ApplicationSetReconciler (16 blocks, 90-1247). The bar is 500 significant lines; this is 362 over it, 1.72\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c94a876d42d6a2178aa49c00e6d7a22f30465b93585d34e0b8f336d47f9877"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: nativeGitClient: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"util/git/client.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3471bdeda59de7651bd7ed1645b546c0e196689395a2b44f492b14cfa07d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApplicationSetReconciler: ClassTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, 16 blocks, lines 90-1247. The bar is 400 significant lines; this is 261 over it, 1.65\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b804b1a146e5e440a6b44d48021315634f785bc14146f242846cb7e1692be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: appStateManager: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods, 8 blocks, lines 133-1404. The bar is 400 significant lines; this is 258 over it, 1.65\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":"controller/state.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"14caf4437fcfe9c347d99d0f04079b0521ad5ab01c96b89bb15db9eb310f925e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/project.go: FileTooLong \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 320 over it, 1.64\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/argocd/commands/project.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eade6bf405b7040bb3bf754ec5d6c46828dadca6266fb1a41549c315d8b84d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/cluster.go: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: store (45 blocks, 243-1496). The bar is 500 significant lines; this is 316 over it, 1.63\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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee66c3d03008d9e6ba5cd56090cbea823f2b37290dfac258b965bc74b799cde"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ArgoCDServer: ClassTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods, 24 blocks, lines 190-1890. The bar is 400 significant lines; this is 250 over it, 1.63\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":"server/server.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5775e44111e1e361676eee1626162ac82e897af34fa813695c54179f9d57f46b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: appStateManager.GetRepoObjs: MethodTooLong \u2014 GetRepoObjs runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"controller/state.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3006dc2a609796780d96f4f7e247e89e1e5fbfa6c2fb238e3f3fa95d55de22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.ServerSideDiff: MethodTooLong \u2014 ServerSideDiff runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"server/application/application.go"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab659f012fe8c4755b60798d5a1238c51c9739431636a33f16b00dc81653d88d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apiclient/apiclient.go: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 258 over it, 1.52\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":"pkg/apiclient/apiclient.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"842c6e7cf1836c0d20a1dc0c5d774f61d3b3f164da6bbc51be4a50b16137f955"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: store: ClassTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods, 45 blocks, lines 243-1496. The bar is 400 significant lines; this is 200 over it, 1.50\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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"44680fcce0b1015c43adbf88fa5954b54ad176d151b2824d25680ab8662e43ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: store: TooManyMethods \u2014 45 methods, declared across 2 files: cache/cluster.go (44), cache/references.go (1). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba6b61e97a2507ba6f23b646ac4384b9057014204509ed34bd9d30a4888cb61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.runRepoOperation: MethodTooLong \u2014 runRepoOperation runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"reposerver/repository/repository.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba7e48e52e7ff3fba1d822601875ce4c6c1d078228eb7d8756cfcb6a004406"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: git/creds.go: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 241 over it, 1.48\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":"util/git/creds.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f0af5ebdfedef627400214b427b594dd192b386518ae69c282c90c9447cc5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/app.go: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 231 over it, 1.46\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/util/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24637a7241895bedf2e04179af34f3fd1a5202e0b9d6021e3303096ce6476c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oidc/oidc.go: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: ClientApp (17 blocks, 75-1141). The bar is 500 significant lines; this is 209 over it, 1.42\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":"util/oidc/oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b723056b3e2dbea29d437164535b1c4386dd5199fa2b84a8910595126980ef80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: syncContext.Sync: MethodTooLong \u2014 Sync runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec12b54a03d1f88aa1f01c8e3b35f1b9b8831a26fdb74131351f4b8f54158a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ApplicationController: TooManyFields \u2014 42 stored fields beside 83 methods. The bar is 30 stored fields; this is 12 over it, 1.40\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":"controller/appcontroller.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f37880e11e11a2fd38f84458981da187741e09bca70cbf513790a548fdc672"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ArgoCDSettings: TooManyFields \u2014 42 stored fields beside 38 methods. The bar is 30 stored fields; this is 12 over it, 1.40\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":"util/settings/settings.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cf8c035a433f1e7005a0aa0d2a0c1ac0ef7decb433d8acb021a87ad4e7f97d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ArgoCDServerOpts: TooManyFields \u2014 42 stored fields. The bar is 30 stored fields; this is 12 over it, 1.40\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":"server/server.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad049f547dab7175a089e01e7aa434d26223bfd38045dfd78b53ee70e0b066d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApplicationController.processRequestedAppOperation: MethodTooLong \u2014 processRequestedAppOperation runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"controller/appcontroller.go"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"753846c6c9c802f6ab98ae24ef9f75458db99c1b947683ebf506dee9b3a46364"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dex.GenerateDexConfigYAML: FunctionTooLong \u2014 GenerateDexConfigYAML runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"util/dex/config.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ad69c37d8e6a1a4e6db3171c12af04aeddb8aafdbe7ceb767571709abca02f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewLoginCommand: FunctionTooLong \u2014 NewLoginCommand runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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/argocd/commands/login.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9437d87e87155ecfb5459e25464dc63ddba1085e3bbf9f06abd44fe245d813ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.runManifestGenAsync: MethodTooLong \u2014 runManifestGenAsync runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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":"reposerver/repository/repository.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d7231cf39ac4978f224af54f150326eb605d0726b611083124788479766a3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: syncContext: TooManyFields \u2014 39 stored fields beside 35 methods. The bar is 30 stored fields; this is 9 over it, 1.30\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd40f4885262eacdfea993edb821bcdddbf28108028eeb7a77115fbf5f86a87d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: controller.NewApplicationController: FunctionTooLong \u2014 NewApplicationController 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":"controller/appcontroller.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c470b0626f2a0b728732ac296a61e3588a0d494fa1768ce319113dad059834b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArgoCDSettings: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"util/settings/settings.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0136a66a0dd194b46ca2ed4d953c16ce03e3d963f02a34bae3fbe1757754632"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.ServeHTTP: MethodTooLong \u2014 ServeHTTP runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"server/badge/badge.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65c083c423eecc2db04bfa08029fccde45427b0687f15f350b8f09e7c55d5e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewApplicationDiffCommand: FunctionTooLong \u2014 NewApplicationDiffCommand runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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/argocd/commands/app_diff.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"40142160293d306b76f9853d4aa1518770a205980a65d06d892c11334b65d014"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: util.ConstructSource: FunctionTooLong \u2014 ConstructSource runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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/util/app.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"925913d7d09211a96668a395fe2789743ec730efdaa41333119544c7b76602c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArgoCDServer.Run: MethodTooLong \u2014 Run runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"server/server.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d485ddbded01a592ca43be2a013f3bbdba2e6ebf3baf944bb59b95c1d5a5082b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: store: TooManyFields \u2014 37 stored fields beside 45 methods. 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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"92338e9b5de83a91cf8fbda9d8a76dfe6578f76606b82956b830059aad8938b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diff/diff.go: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 over it, 1.23\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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b14c0fe8734291bb9bf9339d368492eff53c25a9831c17e1f43f39d78feaa68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApplicationController.finalizeApplicationDeletion: MethodTooLong \u2014 finalizeApplicationDeletion runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"controller/appcontroller.go"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5456960ba9a9c2f3bf11438d0dd0419cf3e0fac6b17c4c034e66e4a1a1399746"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/cache.go: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\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":"controller/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfeefe7d7631269836ba53a2ca011b128af9ebaf53fe310697f9eef47b0e311"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewRepoAddCommand: FunctionTooLong \u2014 NewRepoAddCommand runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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/argocd/commands/repo.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d4be751e6f0b82ab0ca575c40297af8e10bf085634cd9396ee729d7e61f746"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: syncContext.getSyncTasks: MethodTooLong \u2014 getSyncTasks runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff8b50086cc4cf97f8fc11a44a5bf5e4f6866bd2e820db80d6c4a8a6375c13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: apiclient.NewClientWithContext: FunctionTooLong \u2014 NewClientWithContext runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apiclient/apiclient.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72ec5813a7ce38e847d0b910e8a208ff5c12efc21dbec9c88fd2f3f2d378d56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: progressivesync/progressive_sync.go: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Manager (12 blocks, 71-1064). The bar is 500 significant lines; this is 104 over it, 1.21\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":"applicationset/progressivesync/progressive_sync.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f32d874cdca12d410d7c7da41162288852a2b0dac6c96b1be58b7e341650c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.PodLogs: MethodTooLong \u2014 PodLogs 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":"server/application/application.go"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"82051ddf63e5ce37ee74bdf8741f6b3354d3a6b04b5fb7188e67319480455e09"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClientApp: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, 17 blocks, lines 75-1141. The bar is 400 significant lines; this is 74 over it, 1.19\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":"util/oidc/oidc.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"23586b282e610200ff3422ac07e8c5c5cb1e7bfbc71d5fe36d836b92b09f6d8b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: syncContext: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09559c2091ad13ac1429819e1487e5e4cefb73b7f3dd48609895256a8cd21bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"reposerver/repository/repository.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ed49d86325d01275a191ddc25e9af93573e878c052ac35b5d6b2941adaf8cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: metrics.NewMetricsServer: FunctionTooLong \u2014 NewMetricsServer runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"reposerver/metrics/metrics.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51917f8e39738d4fdfac3a401ded075cb01b2852ede5a6f7d0b3d3fee118513"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.waitOnApplicationStatus: FunctionTooLong \u2014 waitOnApplicationStatus runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/argocd/commands/app.go"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe23b3c22addab58817a22464a8012b00d11adbfe34ffe7812d7ce7c14de562"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cache: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"reposerver/cache/cache.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d41e3d43ce30cb752c72bd933f93aeab8dd1d6b33cecf217278243bff2c0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.GetManifests: MethodTooLong \u2014 GetManifests 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":"server/application/application.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6b4b676e37571f00fc9e7b65b68fc07020b63599f7bc0632d7f07b19dba21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: util.SetAppSpecOptions: FunctionTooLong \u2014 SetAppSpecOptions runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/util/app.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a0607673f9f1033f026c7100a041feafee40f05b9b51375adee2cc536a6811"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SCMProviderGenerator.GenerateParams: MethodTooLong \u2014 GenerateParams 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":"applicationset/generators/scm_provider.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65802cdb2e33dc0561ed931cc2dc3cf269b09f31fb5b378c8261949a1e40b96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewProjectSourceIntegrityGitPoliciesUpdateCommand: FunctionTooLong \u2014 NewProjectSourceIntegrityGitPoliciesUpdateCommand 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":"cmd/argocd/commands/project_source_integrity.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"73edbc3cba32be7715e12808d5adf8a3f54f74c3d8f4b19c392a3ee0954994b5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: client: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods, 62 blocks, lines 164-1121. The bar is 400 significant lines; this is 42 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apiclient/apiclient.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a260c36493a8f75eb4318412021788bbb0fb24377491a29e378a809cc38521"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewApplicationManifestsCommand: FunctionTooLong \u2014 NewApplicationManifestsCommand 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":"cmd/argocd/commands/app.go"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f39f5a8b8e6f169d121a71fe4382a3ef6e2344a6c9718d610f1c293413e40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1alpha1/applicationset_types.go: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\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":"pkg/apis/application/v1alpha1/applicationset_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fe92c810eb49014b03b5c6aa3afa829c24e3429bc7713e4ee96af32a182a90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/app_diff.go: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\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/argocd/commands/app_diff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a538fed3a46a62c63d77bdbfae18cab93d851d151d7910cecbb8079ccc613850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewCommand: FunctionTooLong \u2014 NewCommand 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":"cmd/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a129c7b239d21763531ae686d367fa018471488eb8aac2144524a7a1a6cb5498"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewApplicationGetCommand: FunctionTooLong \u2014 NewApplicationGetCommand 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":"cmd/argocd/commands/app.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a89fa6248162cceb2c97e708ebacd686899ed3c38779ab3119bafe62f7988c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Repository: TooManyFields \u2014 32 stored fields beside 12 methods. The bar is 30 stored fields; this is 2 over it, 1.07\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/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fe186197d8e8598799b28b1df27ca5406c06aed6b5c81f22155ee4b25d8878"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhook/webhook.go: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\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":"util/webhook/webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d72e40edc699e45883aa05c1216662ab4a6c553afaa31fa3f7a54966eb07ebc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.oauth2Login: FunctionTooLong \u2014 oauth2Login 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/argocd/commands/login.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf8ffcf587540f1b91ae3438467e66b1d5df287580bac4b306a00ac0080c0e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/info.go: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\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":"controller/cache/info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4709e7b26a02b1aa7b83275fcaaa833467adc559ba1c4e99d8cedf12008f0d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods, 28 blocks, lines 34-797. The bar is 400 significant lines; this is 16 over it, 1.04\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":"server/repository/repository.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccf39f07d69b779365a015d9e6f29f1afd8cd156fa8d0ec5d8006f6cf5d5b36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: terminalHandler.ServeHTTP: MethodTooLong \u2014 ServeHTTP runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/terminal.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d524ae26aa7a1b1374ef6498f9ba6835c55c1dfea63dad0da24833bdbc10cf07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/repository.go: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: Server (28 blocks, 34-797). The bar is 500 significant lines; this is 18 over it, 1.04\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":"server/repository/repository.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9042a10a9b4e7b6104435353efe475eeea08393d33acee0f9ef3411782e4b11b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: liveStateCache.getCluster: MethodTooLong \u2014 getCluster runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"controller/cache/cache.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fd6fe4ff340ded359e5ad6973a7a25a2d6cb62af82e9b4b37582fb308b54e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admin.NewGenClusterConfigCommand: FunctionTooLong \u2014 NewGenClusterConfigCommand 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/argocd/commands/admin/cluster.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e7604618beeaced7502280cabe0295012158efa9793ce9ba98b66a882d6c80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cache.AddCacheFlagsToCmd: FunctionTooLong \u2014 AddCacheFlagsToCmd 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":"util/cache/cache.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795acd2083b9d208d851480a42fb98322ba2874180d90b5cf989ebfce87de25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/cluster.go: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 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/argocd/commands/admin/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4bb664dff7206ea4c37c4876dd14e7422f72491e22da0b480e2a4ca140d0a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewClusterAddCommand: FunctionTooLong \u2014 NewClusterAddCommand 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":"cmd/argocd/commands/cluster.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6ee882a8cfb29d1277bf14097281d89e22a2f7062d725c24e122e649c122ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 14 shared lines): cmd/argocd/commands/project.go:330-371 | cmd/argocd/commands/project.go:374-421 | cmd/argocd/commands/project.go:424-474 | cmd/argocd/commands/project.go:1237-1279 | cmd/argocd/commands/project_role.go:391-445 | cmd/argocd/commands/project_role.go:573-634 \u2014 These 6 members are variants of one another: a block of 14 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 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":"cmd/argocd/commands/project.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a48bc4c401034f96ede919b1e6441d456b00a21f8bd10f1aafda951a3c2b5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): cmd/argocd/commands/admin/repo.go:40-196 | cmd/argocd/commands/repo.go:58-284 \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/argocd/commands/admin/repo.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3053c8ef68ff36f4dad812787c80cff26e9978b8dc50d059749a1aaa4453e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (29 shared lines): reposerver/repository/repository.go:3343-3419 | reposerver/repository/repository.go:3421-3482 \u2014 These two members are variants of one another: 29 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8261cccfb0b3562ab4ebf153ed5b930a16e9c386ed3c5195997a0aaaa96c622e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): commitserver/commit/hydratorhelper.go:154-176 | util/sourceintegrity/gpg.go:115-136 | util/sourceintegrity/gpg.go:172-237 | util/sourceintegrity/gpg.go:239-259 | util/sourceintegrity/gpg.go:360-409 \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":"commitserver/commit/hydratorhelper.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b1cb2be2db2b62749c06b07e56e131cec7d9a13e3d0490f702ac52cc38be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): controller/appcontroller.go:503-534 | controller/appcontroller.go:560-690 | controller/appcontroller.go:692-798 | controller/state.go:229-461 \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":"controller/appcontroller.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf3b05b0ab116d679c3c36e6587de82dd770996e89e594058c7a0a1f5fa896f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): util/cert/cert.go:126-140 | util/cert/cert.go:192-206 | util/git/creds.go:407-519 | util/helm/cmd.go:234-255 \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":"util/cert/cert.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbb3ed69de754107bd41fad4048eac087cb5b52563247915e60669ce4886683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): cmd/argocd/commands/app_resources.go:290-358 | cmd/argocd/commands/app_resources.go:360-436 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/app_resources.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac18dec8a3da668186fdf5657e81ccb245f87b955717c3bc0d3fb598133ad526"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): util/db/cluster.go:428-495 | util/settings/cluster_informer.go:215-286 \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":"util/db/cluster.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ce694257c46018cfe745bf5098d4ca58ef91da899cac6cf485d8ccbb9035eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): cmd/argocd/commands/app.go:842-927 | cmd/argocd/commands/app.go:3248-3334 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/app.go"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f01c6562711e3ea38418ab417756e60e4e6464dcec5c3e95e2eb517e047a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): server/application/application.go:1290-1359 | server/applicationset/applicationset.go:80-140 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"620601e66917d343d47ea30fcda60adfe9d5b10ccfcc8eabe76bbaa192b3cec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): cmd/argocd/commands/projectwindows.go:179-250 | cmd/argocd/commands/projectwindows.go:298-355 \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":"cmd/argocd/commands/projectwindows.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98661518021c594dcfdb54b5aa900cfb85233d82abc867d55549b022e222c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): util/git/creds.go:269-338 | util/git/creds.go:552-615 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/git/creds.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f91da8d08ccb2bdfb360711f92ded6fa6a563f975ed64f30b8e6534ed8b437"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): cmd/argocd/commands/project.go:277-327 | cmd/argocd/commands/project.go:1165-1234 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/project.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f8b6b8c3d8be0bef801eb1e9d35a7b1702c8adac403942116fd0249798b2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): cmd/argocd/commands/admin/cluster.go:193-246 | cmd/argocd/commands/admin/cluster.go:479-539 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/admin/cluster.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b5f02fb9dcc2a759176a77942318acca0fe919dc7af7d2750e02fc0d8daae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): cmd/argocd/commands/app.go:3076-3135 | cmd/argocd/commands/project.go:1113-1162 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/app.go"},"region":{"startLine":3076}}}],"partialFingerprints":{"codehealthFindingId/v1":"936570e210ed3feb2d2c4371c6b5ef140b9e6678c063c9abac2749f4de11d255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): util/helm/cmd.go:93-150 | util/helm/cmd.go:257-307 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/helm/cmd.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60aa055e1bb6d80d1a6cf834356f719aebaa5abf138bf765d07cd240e8c355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): server/repository/repository.go:436-492 | server/repository/repository.go:495-537 \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":"server/repository/repository.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0559db38feae13f6801d49b0995e6a3f2e4dd9be152791a72b44126e54697f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): cmd/argocd/commands/admin/settings.go:388-436 | cmd/argocd/commands/admin/settings.go:438-484 \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":"cmd/argocd/commands/admin/settings.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d649b3140bac3bf1a1bde0e3847af1d80c0373dbb250fcd4c384e1a15cd311a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): util/db/repository_secrets.go:421-461 | util/db/repository_secrets.go:533-566 \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":"util/db/repository_secrets.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff1381c2975f642da39f0e96c92b54b4fc6a07daf6e8ef5b255f7d892d3f19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): cmd/argocd/commands/admin/cluster.go:369-422 | cmd/argocd/commands/admin/cluster.go:424-477 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/admin/cluster.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"39244c565aaf3d177c306e6eba92dba69a768efdc532be4be76173c663378650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): cmd/argocd/commands/project_role.go:57-128 | cmd/argocd/commands/project_role.go:131-220 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/project_role.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7f7e89ff30d1081aa24f42963a03e71fba05149052bdfe1abbb3c22a2a940b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): pkg/apis/application/v1alpha1/repository_types.go:157-208 | pkg/apis/application/v1alpha1/repository_types.go:211-273 \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/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fb3d58e366199783118dd6f947b5501b7a92b187532c2f5c2619143a2a758d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): util/cmp/stream.go:194-236 | util/manifeststream/stream.go:201-253 \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":"util/cmp/stream.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8298d809d65b7d99d15fc284ed9a2b004669d3681a8fe3126733aae675c995c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): cmd/argocd/commands/repo.go:357-420 | cmd/argocd/commands/repo.go:423-492 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/argocd/commands/repo.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f530638d95ec65c98ef20c63102300a5879bce0294bd52bc6c73cae0d1f18401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): util/trace/meter.go:27-84 | util/trace/trace.go:155-208 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/trace/meter.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fc459dbcace5624dcb50dffba991d698b5a16b90e849d442fffe0d81acc98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): server/repocreds/repocreds.go:88-120 | server/repocreds/repocreds.go:123-155 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/repocreds/repocreds.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329e8c059958f9adbf68f094a8cbb89cef8b6017037697485ec2df587dffeca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): cmd/argocd/commands/project_role.go:265-306 | cmd/argocd/commands/project_role.go:668-705 \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":"cmd/argocd/commands/project_role.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b4727aedff4fbf60a624e81397197bf326cb1a2dfeeba27e46c59c7dc6cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): hack/gen-resources/cmd/commands/cmd.go:50-93 | hack/gen-resources/cmd/commands/cmd.go:95-131 \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":"hack/gen-resources/cmd/commands/cmd.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e131b5a0a40b57c05cad18b07e32952e6a0e129259fd5016b8857079c42031d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): cmd/argocd/commands/applicationset.go:327-370 | cmd/argocd/commands/cert.go:307-351 \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":"cmd/argocd/commands/applicationset.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e07bbea1a3a3edcb9aa931e197d944d667e654121b6214f8367a319da3edff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): cmd/argocd/commands/app.go:3137-3181 | cmd/argocd/commands/app_resources.go:532-581 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/app.go"},"region":{"startLine":3137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fad14d2bfa1189130fba7834acea7e29e4e619c2e9b20c06a307d830d51818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): cmd/argocd/commands/project.go:187-228 | cmd/argocd/commands/project.go:477-516 | cmd/argocd/commands/project.go:519-554 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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/argocd/commands/project.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f58a77da152c1407498932136891100dd29b1edec732275991bc8dcd9307f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 41\u002B corresponding lines): cmd/argocd/commands/project.go:232-274 | cmd/argocd/commands/project.go:557-598 | cmd/argocd/commands/project.go:789-830 | cmd/argocd/commands/projectwindows.go:57-97 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 41 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/argocd/commands/project.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c998c9c0fe67505c449aaddf3702b5de031617c35580d50bc57f893c386bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): server/repository/repository.go:547-567 | server/repository/repository.go:570-594 \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":"server/repository/repository.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f3bee72b5e0ff01388cf9550179605dada7f0c2ef2c5866a60307bfa2b50f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): cmd/argocd/commands/project_role.go:223-262 | cmd/argocd/commands/project_role.go:637-665 \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":"cmd/argocd/commands/project_role.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301b77bc0c4f9e79abbd59fe2b98c5d422f971396ad2c711507dbcda038e532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): cmd/argocd/commands/app.go:1380-1408 | cmd/argocd/commands/applicationset.go:468-499 \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":"cmd/argocd/commands/app.go"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d3cd13d0aba4be5cd1721e50eb3ec48c26091f46df81828cbe52960c6ceb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): util/settings/settings.go:738-772 | util/settings/settings.go:774-808 \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":"util/settings/settings.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cba6ab041260351a4642dae1650e2d01d6d91994e5823c39ce3a1f0a0321ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): gitops-engine/pkg/utils/kube/ctl.go:288-316 | gitops-engine/pkg/utils/kube/ctl.go:319-347 \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":"gitops-engine/pkg/utils/kube/ctl.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2c37064aa4553e6fcb4afe986ceecf7d8738f7c3944cdc680dbfc8ea622c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): cmd/argocd/commands/admin/project.go:42-84 | cmd/argocd/commands/project.go:106-142 \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":"cmd/argocd/commands/admin/project.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf26f12c7d66ad11e71f6890f26f6b4237af4dca736a027d76e15a12f1fcc18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): server/application/application.go:1709-1738 | server/application/application.go:1741-1769 | server/application/application.go:1771-1797 \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":"server/application/application.go"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e139eebd255efd73cf29c607c9de31fdc54dfd5f6ab67658f5412582b91da7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/argocd/commands/tree.go:29-48 | cmd/argocd/commands/tree.go:50-74 \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/argocd/commands/tree.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba7bcac6670aa51c5a051e21f894d3260e1735d20231d94a95e67ac732ccc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): applicationset/services/pull_request/gitea.go:54-89 | applicationset/services/pull_request/github.go:59-98 \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":"applicationset/services/pull_request/gitea.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e40c0bf39e24eadfc90b7d4974513540653882abaf5ff78823ca0b212b4f11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/argocd/commands/project.go:600-622 | cmd/argocd/commands/project.go:624-646 \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/argocd/commands/project.go"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a2d60948f57c3091571cb7a8ff97b11c0989c3429d12f237eb9b7fdc5d660c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cmd/argocd/commands/app.go:2649-2679 | cmd/util/app.go:550-580 \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":"cmd/argocd/commands/app.go"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acdd1688726ed2a8e42fbb4540adaaf32f1b32924ae75cdeca6ae9c5101b841"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): applicationset/services/pull_request/utils.go:12-38 | applicationset/services/scm_provider/utils.go:13-50 \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":"applicationset/services/pull_request/utils.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4322b4eeee0890be08dec1cb9ac4317ae8c657f83a9464b6f056965a24f3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): applicationset/generators/pull_request.go:219-244 | applicationset/generators/scm_provider.go:298-321 \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":"applicationset/generators/pull_request.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd532be3891e53ad718f5c2b9e4324d4a881dd4ce79f7f32f0ebd29e73370bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cmd/argocd/commands/project.go:833-865 | cmd/argocd/commands/project_role.go:448-508 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/project.go"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c20af31204bf5918070f9b24947b060b543f5e97a39285d8d3aa8fbea00ee76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): server/application/application.go:142-177 | server/applicationset/applicationset.go:195-235 \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":"server/application/application.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5783d3c2f57101eed9211d4a755aa3e43cbabaa417855f8af1122f94e45f3305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 31\u002B corresponding lines): cmd/argocd/commands/account.go:264-294 | cmd/argocd/commands/cluster.go:533-577 | cmd/argocd/commands/gpg.go:43-79 | cmd/argocd/commands/project.go:885-919 | cmd/argocd/commands/projectwindows.go:358-398 | cmd/argocd/commands/repocreds.go:279-319 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 31 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/argocd/commands/account.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f69947b8126e961e1c6ee62ed70821917eb127c654c4313e4cfc21e8227585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): pkg/apiclient/apiclient.go:1038-1077 | pkg/apiclient/apiclient.go:1081-1121 \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":"pkg/apiclient/apiclient.go"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc921863d2b32b6e19543374b29e642afc6e09cf2f2a4f540074d405a2b4e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): controller/appcontroller.go:1193-1234 | controller/appcontroller.go:2397-2429 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/appcontroller.go"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccfd810a710d56609bf3c4a34fa15cbd4acaf8f17142de2f3b0be1e838302f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/argocd/commands/app.go:2745-2779 | cmd/argocd/commands/app.go:3049-3074 \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/argocd/commands/app.go"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70bd04ba9f1809ef01f01d8e9ae35f416e9f85eb3682837c0cc5df287d62e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): cmd/argocd/commands/gpg.go:164-192 | cmd/argocd/commands/repo.go:287-330 | cmd/argocd/commands/repocreds.go:223-256 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/gpg.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c7300c5d412037798597cc245749526ea3b8e09f6267ffd6504f30fccb1355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cmd/argocd/commands/app.go:278-301 | cmd/argocd/commands/app_resources.go:438-458 \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/argocd/commands/app.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16abc1e989c1c510271644c37432fff82be2dd553dd28ac593ddc8e3fccf73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): applicationset/services/pull_request/github.go:24-57 | applicationset/services/scm_provider/github.go:23-50 \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":"applicationset/services/pull_request/github.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04abd6b8dfb9b76019225de0445e61ba708711b497a8e7cc956c6ef65b068df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): applicationset/generators/matrix.go:272-306 | applicationset/generators/merge.go:180-214 \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":"applicationset/generators/matrix.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0498d50e63186a43ffa697a5e8b8ef79e7a12ff0ca57c6b7315a12587ee0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): cmpserver/plugin/plugin.go:219-253 | cmpserver/plugin/plugin.go:309-335 | cmpserver/plugin/plugin.go:395-424 \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":"cmpserver/plugin/plugin.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"717cf06864c2c210ee053f456bd5ff7c803e841a69080c200efccb096b1f8b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): gitops-engine/pkg/utils/kube/ctl.go:188-209 | gitops-engine/pkg/utils/kube/ctl.go:212-233 | gitops-engine/pkg/utils/kube/ctl.go:236-257 | gitops-engine/pkg/utils/kube/ctl.go:260-286 | gitops-engine/pkg/utils/kube/resource_ops.go:367-395 \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":"gitops-engine/pkg/utils/kube/ctl.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ee67c6bd61f71fe80dd0d5617fd587cc2729847e0b8c9a919a4593ff98f492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): server/repocreds/repocreds.go:36-59 | server/repocreds/repocreds.go:62-85 \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":"server/repocreds/repocreds.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dabf20724b1ea89a49ab9b1c781d725b8392f2111db9ea4144b1f4c40f9643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): server/application/application.go:1018-1040 | server/applicationset/applicationset.go:588-610 \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":"server/application/application.go"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1a2c29821e84b6d1a267158f4d7a1b4b27a051a8ff210990cd61c02f4f528a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): util/db/cluster.go:223-244 | util/db/cluster.go:247-284 \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":"util/db/cluster.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ee23b9af5759eef012630bf3888405c75ba967649ee08972cade28041ffcab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cmd/argocd/commands/tree.go:106-124 | cmd/argocd/commands/tree.go:126-145 \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/argocd/commands/tree.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a47b2fa1658fca045bcf13dcf72fdfff992229a5eea5dfbce9f24b998b2b63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): applicationset/services/pull_request/gitea.go:25-52 | applicationset/services/scm_provider/gitea.go:25-48 \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":"applicationset/services/pull_request/gitea.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bc1ecd1c1ca8bac5d265d229a8455ce5bba5011f1c185d8d252199e6b53361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): server/application/application.go:1261-1288 | server/applicationset/applicationset.go:143-169 \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":"server/application/application.go"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a90da7d822e1e285cb39a5b994eb80e55c520625dd42ebcf60c9961d9dc9d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): util/notification/settings/settings.go:65-86 | util/notification/settings/settings.go:88-110 \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":"util/notification/settings/settings.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"074c9b39b5e4f99429b43f3d8d1a729c0921a58f906bf1551c9e114d9d691708"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): util/cmp/stream.go:165-189 | util/manifeststream/stream.go:73-103 \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":"util/cmp/stream.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"246bc7e89e43e6ed214104a459cbc3c0ff0168e7980a87a7bc7f72146732a27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): server/repository/repository.go:137-157 | server/repository/repository.go:159-182 \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":"server/repository/repository.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e7d031e660650a6259ac24351cbf59252c298dbd503b4ffa68a00c4fec27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): util/helm/client.go:434-459 | util/oci/client.go:486-511 \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":"util/helm/client.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5819a6da07197d801720337e155982ce26493167d1e5de179a2c4283ce601222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/argocd/commands/admin/settings.go:342-361 | cmd/argocd/commands/admin/settings.go:363-386 \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/argocd/commands/admin/settings.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d54720ace53006bc19b7ff714ee6ff474bc7ff630ffd5e86dea71f10e5f429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): server/repository/repository.go:241-260 | server/repository/repository.go:262-281 | server/repository/repository.go:412-426 \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":"server/repository/repository.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a294212b1623da0cae6c96076741e7664f18fbd84b25a21f895f99ab33068aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): util/db/cluster.go:339-361 | util/db/repository_secrets.go:231-253 \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":"util/db/cluster.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"21187b42f066359e9b89b0774546dc867cf38a08a6914543a62f17fd06df96fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/argocd/commands/app.go:247-276 | cmd/argocd/commands/applicationset.go:579-604 \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/argocd/commands/app.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0f752a965ff42221a66d9232bd1c83d28c5bc078e63f921fc2793e4ccc04f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): commitserver/metrics/githandlers.go:10-34 | reposerver/metrics/githandlers.go:26-51 \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":"commitserver/metrics/githandlers.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"005b3ffd7490a15cb113b49a48761a2caf99fb742818edfb27ff58d5b64c394d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): util/git/client.go:1934-1959 | util/git/client.go:1963-1982 \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":"util/git/client.go"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2f079990b359413c0ba06fbc71acf94c82a569069f4e11bcafdb875422c760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): controller/sharding/sharding.go:141-165 | controller/sharding/sharding.go:171-201 \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":"controller/sharding/sharding.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"54978be1e261ce23852f8e7441404a4ef5716d0e334af7b5cc097749de4a3b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): applicationset/progressivesync/validation_issues.go:54-66 | applicationset/progressivesync/validation_issues.go:90-102 \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":"applicationset/progressivesync/validation_issues.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f09b966104199d284950da9a054c72794d58adc639ab81a2dd380fe5ef3cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): applicationset/services/scm_provider/bitbucket_cloud.go:69-92 | applicationset/services/scm_provider/bitbucket_server.go:137-156 | applicationset/services/scm_provider/github.go:52-71 | applicationset/services/scm_provider/gitlab.go:68-87 \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":"applicationset/services/scm_provider/bitbucket_cloud.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45b8bb3af86ea9560998d16e04e79a67b10154ba6516470fe2c7854c5377c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/argocd/commands/app_diff.go:473-487 | cmd/argocd/commands/app_diff.go:490-508 \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/argocd/commands/app_diff.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d0410715799b6715bf923b1e56302bf9b24a2fb78088b0e26228bf0a795a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): util/kube/kube.go:140-159 | util/kube/kube.go:162-181 \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":"util/kube/kube.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c36f64aa39e674458dcacfaca8b47393dece58f91221339b406b2c20506d524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): gitops-engine/pkg/health/health_apiservice.go:36-55 | gitops-engine/pkg/health/health_apiservice.go:57-76 \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":"gitops-engine/pkg/health/health_apiservice.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbed8343c66bce859aedfa42394a49ad2a7001e68f32908982a1da6a0ee40b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): util/clusterauth/clusterauth.go:92-104 | util/clusterauth/clusterauth.go:106-118 | util/clusterauth/clusterauth.go:120-137 | util/clusterauth/clusterauth.go:139-156 \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":"util/clusterauth/clusterauth.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0b88c08587d9eb635ca24769bebf18268b5c406a342f88da7284b8892535c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/apis/application/v1alpha1/types.go:965-987 | pkg/apis/application/v1alpha1/types.go:999-1021 \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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ed7c803478f16ed2447d02b068800d70952adc285359372565657fdd72a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): server/repository/repository.go:604-621 | server/repository/repository.go:624-640 \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":"server/repository/repository.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebeaba35f787c0ff1f8d9fbebb8c34fb0c4b578b7bedeeadd2e5ff92bdb4d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cmd/argocd/commands/tree.go:76-89 | cmd/argocd/commands/tree.go:91-104 \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":"cmd/argocd/commands/tree.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"69628d2a855efae93061314feecabf56d28ece439cc201c9729a3cf0eec34237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): util/settings/settings.go:817-834 | util/settings/settings.go:841-858 \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":"util/settings/settings.go"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb153bf1b53017cf97d406c584a4193a9d4392b186885bc9ca4000269df40f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): server/repocreds/repocreds.go:158-167 | server/repocreds/repocreds.go:170-179 \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":"server/repocreds/repocreds.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e478fae07a52b7acb4ca5d21b25097ed161710d0efb9839a12a3aceeafb41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): util/db/repository_secrets.go:281-301 | util/db/repository_secrets.go:303-323 \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":"util/db/repository_secrets.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"72832d7ca8ed015939f376eb78c61696859efc5e548bc9f0a952045a8cf0d4a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): util/argo/argo.go:98-114 | util/argo/argo.go:117-133 | util/argo/argo.go:171-187 \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":"util/argo/argo.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764ef13dbb750e68e82d8a70a8c0a9be2727427c1aef1639af4c1d3c5380489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): util/db/repository.go:151-165 | util/db/repository.go:279-293 \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":"util/db/repository.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a08b75dea14d603527821584cdf15dc1eb065d783eb0a150514f9e18c416ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): util/git/creds.go:1090-1103 | util/git/creds.go:1201-1214 \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":"util/git/creds.go"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bbfbc7bc4f545ed0df332eacd5a83aaa70c7e69669b02425a8280c9ea82468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/argocd-k8s-auth/commands/azure_cgo.go:55-69 | cmd/argocd-k8s-auth/commands/gcp.go:24-40 \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/argocd-k8s-auth/commands/azure_cgo.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12185b48bfb72c793f50b1d4ca65c66795f5716ccf4d39a7fd11149a436a8d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): cmd/argocd/commands/cert.go:29-62 | cmd/argocd/commands/cluster.go:51-83 | cmd/argocd/commands/gpg.go:25-40 | cmd/argocd/commands/repo.go:27-55 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/cert.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f5837b53a0c4b31dd3262ef0f171e6fb2230f0e7c205313bc801445fbb784a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): util/settings/settings.go:1019-1032 | util/settings/settings.go:2797-2812 \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":"util/settings/settings.go"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ddb396cfe9a9d7f150df22446277fea00138f24a2199b0eaa3ed1f3a3b1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): applicationset/services/repo_service.go:77-99 | applicationset/services/repo_service.go:101-122 | applicationset/services/repo_service.go:124-141 | applicationset/services/repo_service.go:143-160 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/services/repo_service.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0339cecd70bb00c1dc3399717d29592858692cd06643d3c53809831a052338d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): server/notification/notification.go:24-36 | server/notification/notification.go:39-52 | server/notification/notification.go:55-68 \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":"server/notification/notification.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cc70a8d52a4efe08cada9305df4efac1aff897c3a1412d239898db30b16074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/apis/application/v1alpha1/app_project_types.go:70-94 | pkg/apis/application/v1alpha1/app_project_types.go:97-116 \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":"pkg/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"65907fd23745db2fc4c945505a932d9adcbd8943c645785eada7cf92c5835577"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): util/env/env.go:46-66 | util/env/env.go:71-91 | util/env/env.go:96-116 | util/env/env.go:123-148 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 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":"util/env/env.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb151f210101df8786d78f252bc3572e19e5918d8c4b54c1585d5a1360a33171"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): util/gpgsign/gpgsign.go:235-253 | util/gpgsign/gpgsign.go:284-304 \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":"util/gpgsign/gpgsign.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f99fbf2a091b3d80174c58b5f0b612566f9022166914041a92b3514fbbe3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): applicationset/services/pull_request/bitbucket_cloud.go:78-95 | applicationset/services/pull_request/bitbucket_cloud.go:97-110 \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":"applicationset/services/pull_request/bitbucket_cloud.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fefdf23ed6a4615838025f351b074221c6b591628319a08c45fba209839abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/apis/application/v1alpha1/types.go:3227-3248 | pkg/apis/application/v1alpha1/types.go:3257-3281 \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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c57b3036f10215d6b50ef004364461778a601cb8626959285b34114481f28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cmd/util/app.go:612-627 | cmd/util/applicationset.go:32-47 \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":"cmd/util/app.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae28a56a684920ad8b1d1dbdfb81d9b60024075458c24b3c7b6f4e79c243aa40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): controller/appcontroller.go:1324-1334 | controller/appcontroller.go:1561-1576 \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":"controller/appcontroller.go"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c939115ac766b64506c91bab6e6307de86173c942100a8d82768a7eb2481ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): util/db/helmrepository.go:11-21 | util/db/repository.go:194-204 \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":"util/db/helmrepository.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf9e6b6afb0255acbc0c2295c14726c96a98e40a6c6129e631f6cc08b2830e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): controller/appcontroller.go:2688-2702 | gitops-engine/pkg/diff/diff.go:918-932 \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":"controller/appcontroller.go"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d12592bb5dda1ef0028a0b00ecb501f32fd6cdca2849c2eda49f63082c04a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): controller/sharding/cache.go:290-305 | controller/sharding/sharding.go:241-253 \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":"controller/sharding/cache.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7512ae02baa741408510e25c40eaa585d2c82817ff2793b53c48eb6369009f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): util/argo/audit_logger.go:117-136 | util/argo/audit_logger.go:138-154 | util/argo/audit_logger.go:178-194 \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":"util/argo/audit_logger.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e985b3130f6db72b600214c987dff85a3d61693f5036c65e026a5daf17c43f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/argocd/commands/app_diff.go:369-384 | cmd/argocd/commands/app_diff.go:393-407 \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/argocd/commands/app_diff.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e6263abdc29dc63b38670b899c7a1ecfae260f50e6a3069d6f22518aad2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cmd/util/project.go:97-110 | cmd/util/project.go:112-126 \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":"cmd/util/project.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ba5ed57942ba2f51d1f412f0843e06630620963d94481cafe20ae34a872db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): gitops-engine/pkg/health/health_daemonset.go:13-26 | gitops-engine/pkg/health/health_deployment.go:13-26 | gitops-engine/pkg/health/health_replicaset.go:14-27 | gitops-engine/pkg/health/health_statefulset.go:13-26 \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":"gitops-engine/pkg/health/health_daemonset.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"68513fbb174a72440f7b2c96131dbc088cce9226b541d7f583696a1c69726cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): gitops-engine/pkg/health/health_pod.go:17-30 | gitops-engine/pkg/health/health_pvc.go:13-26 | gitops-engine/pkg/health/health_service.go:13-26 \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":"gitops-engine/pkg/health/health_pod.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72f22ab62cc0497c02dd2d0112ca5175dae65ddec1a414ceeeba65a5973913a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): util/cache/cache.go:50-67 | util/cache/cache.go:69-89 \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":"util/cache/cache.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dede86441fade8303915ac4dabac426ae807a675b3c23def2bec64a93768a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): util/db/repository.go:435-450 | util/db/repository.go:452-467 \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":"util/db/repository.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc538586e360ccb6154c74be80739f59f818ad812ff8287e32a822215349f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): util/notification/settings/settings.go:20-31 | util/notification/settings/settings.go:34-50 \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":"util/notification/settings/settings.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a740115152fb58a748c034b3915be12fa56c31b465f6497e0de522bf1a693af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): util/settings/settings.go:1528-1550 | util/settings/settings.go:1557-1579 | util/settings/settings.go:1586-1599 \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":"util/settings/settings.go"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07ba92f4704abf2b51fecd13f9ab87236f5a712a91d632cf47ba10a47965868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): gitops-engine/agent/main.go:224-232 | util/cli/cli.go:111-119 \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":"gitops-engine/agent/main.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"635fb171f5268a6b7ae38f6ba98ea8704a1d11442943e9bde417d6e4588eeff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): util/settings/settings.go:2830-2844 | util/settings/settings.go:2846-2860 | util/settings/settings.go:2862-2881 \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":"util/settings/settings.go"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"526c5991307dadf423cd0f0124669b1740dbcfbc52d85ea3d3489f2b3298ebbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/apis/application/v1alpha1/types.go:1150-1167 | pkg/apis/application/v1alpha1/types.go:4152-4174 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbc329bad096d2db35a5d8d87ab37d423e9a3d8e72b3566ff90d9c0d7cd4933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): util/settings/settings.go:2006-2020 | util/settings/settings.go:2022-2035 | util/settings/settings.go:2037-2050 \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":"util/settings/settings.go"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd65ff81c10a3eec999e52bd83da461e881c2c2547a57a3055c6924f833147b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): cmd/argocd/commands/project_source_integrity.go:56-68 | cmd/argocd/commands/project_source_integrity.go:71-83 | cmd/argocd/commands/repocreds.go:28-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6116c715ad4328edbcbb8a4731c9ec95cad95c072c71d026de594a0369db2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): gitops-engine/pkg/cache/manifest_codec.go:245-256 | gitops-engine/pkg/cache/manifest_codec.go:289-300 \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":"gitops-engine/pkg/cache/manifest_codec.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5df83d791d76a9ef1f47a5f62ac4721149a795cabb0b7991fd60e33be703da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): server/certificate/certificate.go:31-44 | server/certificate/certificate.go:47-57 | server/certificate/certificate.go:60-73 \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":"server/certificate/certificate.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c88d6ddf8a1d38ca5723bb67fc98b5e2b89328ea2e7a6d6bcae07bb019508a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): cmd/argocd-k8s-auth/commands/argocd_k8s_auth.go:9-25 | cmd/argocd/commands/admin/app.go:51-74 | cmd/argocd/commands/admin/project.go:26-39 | cmd/argocd/commands/admin/settings.go:326-340 \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":"cmd/argocd-k8s-auth/commands/argocd_k8s_auth.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f450f54c4df7d70919490aa008882f6db46ba94f70c1d8a2e1eac8c66371f431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/apiclient/apiclient.go:1135-1146 | pkg/apiclient/grpcproxy.go:247-258 \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/apiclient/apiclient.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e920f1bc377a351dfc873a40c71dc73adf48113139938f83fdbded57df50783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): util/argo/argo.go:190-204 | util/argo/argo.go:207-221 | util/argo/argo.go:224-238 \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":"util/argo/argo.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab5bfa6411bed99d085a546708dd8f51135c729917d8a51bd2bd7fb46269fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/argocd/commands/app.go:2633-2644 | pkg/apiclient/apiclient.go:1123-1133 \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/argocd/commands/app.go"},"region":{"startLine":2633}}}],"partialFingerprints":{"codehealthFindingId/v1":"0811bd9353cb9844d2dc6279797cd39d2aa0b23dcdd04e197bccf393fda79bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): server/repository/repository.go:185-195 | server/repository/repository.go:199-213 \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":"server/repository/repository.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394e8fa45daa2673ec8916ca9f7f03194944e3aa189596b97c3706441863eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): util/settings/settings.go:1204-1213 | util/settings/settings.go:1215-1224 \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":"util/settings/settings.go"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b877d2a1421a43e9890dd7c7728438af5a58463bc4878e4cc10fc380f2fd9acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): commitserver/server.go:30-41 | reposerver/server.go:139-153 \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":"commitserver/server.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcec1670121acf4e3fd0fbce501d74dd7937016464d8fa95d85f9026b7cedb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): util/cli/cli.go:166-179 | util/cli/cli.go:183-198 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/cli/cli.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb226782d83eadbe913b4c74bba158f4c3e5e87a734486225cc1e88e526176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): applicationset/services/scm_provider/mock.go:11-26 | applicationset/services/scm_provider/mock.go:32-49 \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":"applicationset/services/scm_provider/mock.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a38cc6bed402b3f2aadfdadb4b0082e1f7b760bba475b66da47b6d181723a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): gitops-engine/pkg/cache/cluster.go:450-459 | gitops-engine/pkg/cache/cluster.go:463-472 \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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dadc799bb5baa45f5492b061311cd2e87be32d0c6de24b938441954a9edd8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): controller/sharding/consistent/consistent.go:167-176 | controller/sharding/consistent/consistent.go:181-190 \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":"controller/sharding/consistent/consistent.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad41389b6b97e55b09577d5a46a19094135c5b9c1af9682c1cd5eaa54f0673fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): gitops-engine/pkg/cache/cluster.go:344-355 | gitops-engine/pkg/cache/cluster.go:368-379 | gitops-engine/pkg/cache/cluster.go:392-403 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e0f57bd85d6053d2c4cbd722b5aca510c6bafca34fef4ca1bc1fcc3f2c2e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/repocreds/repocreds.go:182-189 | server/repocreds/repocreds.go:192-199 \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":"server/repocreds/repocreds.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49df89e538467b1b19d54331f8cae94f1fd9393b8b1945c45c9c2fbfd74cca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): util/kube/kube.go:101-113 | util/kube/kube.go:116-125 | util/kube/kube.go:128-137 \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":"util/kube/kube.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac6efa29338ff6a84f34c655745c6d725383d7f35b477a14942b36cc8bd03ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): applicationset/services/pull_request/github_app.go:12-25 | applicationset/services/scm_provider/github_app.go:12-19 \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":"applicationset/services/pull_request/github_app.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49ddd5ba6e64e99caa488faba73828af6495cd78e27d5315ea6ba0344a50057"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cmd/argocd-dex/commands/argocd_dex.go:28-42 | cmd/argocd/commands/admin/settings_rbac.go:114-125 \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/argocd-dex/commands/argocd_dex.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eded08eddc99d30eb0c3f091d7e7f48c813fd1d4b83b6a41a6e6581af22ddd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): cmd/argocd/commands/project.go:730-741 | cmd/argocd/commands/project.go:744-755 | cmd/argocd/commands/project.go:758-769 | cmd/argocd/commands/project.go:772-786 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/project.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e011be29e2802f8f8dafff7b65ba209acbb93b2c1f02971332cb2aba272a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): server/application/application.go:2647-2655 | server/applicationset/applicationset.go:612-620 | server/project/project.go:524-532 \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":"server/application/application.go"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a112881b3ff8068f7921f9dea9966f0a2a96c8fc5224adecad034b3fad073b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): util/db/repository.go:333-346 | util/db/repository.go:349-361 \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":"util/db/repository.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"248b3b7b6f0c0eb521b0464b6381354a0dd3c73430cc5c6d6fe9c0517a696689"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): applicationset/services/pull_request/bitbucket_server.go:24-35 | applicationset/services/pull_request/bitbucket_server.go:37-45 | applicationset/services/scm_provider/bitbucket_server.go:24-35 | applicationset/services/scm_provider/bitbucket_server.go:37-45 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/services/pull_request/bitbucket_server.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffdfbbc24cad34e3a3e9e63ac29a680b80a1d9f696cbdadadbaf1a3d13da663"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cmd/argocd/commands/app.go:1692-1699 | cmd/argocd/commands/app.go:1701-1708 \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":"cmd/argocd/commands/app.go"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbab5a603e6455afe76a71be90900e7320f031c6ed2a4b5eaeff8b9106dd4f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/apis/application/v1alpha1/types.go:627-637 | pkg/apis/application/v1alpha1/types.go:640-649 \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/apis/application/v1alpha1/types.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddbf0a6e6ef752002320667c85de7b3eebeb48f53fe3168b2117eaa2a4708fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): util/db/repository.go:58-71 | util/db/repository.go:73-85 | util/db/repository.go:207-217 | util/db/repository.go:219-231 \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":"util/db/repository.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30dc004c074e1aa6c01a50e03d0fff6c3b853d0c0a9372dd5496666990e4568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/argocd/commands/app_diff.go:87-97 | controller/state.go:562-572 \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/argocd/commands/app_diff.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"29423f49ce8c5b901046051259a14bd3617e915249221db482b4e798169ef98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): util/git/creds.go:362-373 | util/git/creds.go:1174-1186 \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":"util/git/creds.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec6749de0271a82ffe278b7fa4cc566456441d6d50aca6879c015292057ee16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): util/io/files/secure_mkdir_default.go:15-25 | util/io/files/secure_mkdir_linux.go:16-26 \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":"util/io/files/secure_mkdir_default.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2ede2f1271183676f8a812107786048d5966d0209d6bade32836dc8736451f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): util/localconfig/file_perm_unix.go:10-15 | util/localconfig/file_perm_windows.go:10-16 \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":"util/localconfig/file_perm_unix.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562442073e173183c7ca3944d5798ed2bf3d6b7693f2e5eeadf05b4bd44a28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cmd/argocd/commands/app.go:752-757 | cmd/argocd/commands/applicationset.go:547-552 \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":"cmd/argocd/commands/app.go"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b742127bd093699b491b38cd1f45cbb2918f74a9e2ea0a1ca584a28c0e8877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cmpserver/plugin/plugin.go:72-78 | util/rand/rand.go:34-40 \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":"cmpserver/plugin/plugin.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a375ba6c14997bc8ecbcd663482c35664f0e3df02bd81fa836711cf5015f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/apis/application/v1alpha1/types.go:4533-4543 | util/lua/lua.go:339-350 \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/apis/application/v1alpha1/types.go"},"region":{"startLine":4533}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e6a262f8d759ae62c1ae2f71a95bcedf67de30f9c240d60116d3423848b5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server/cluster/cluster.go:115-127 | util/argo/argo.go:307-319 \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":"server/cluster/cluster.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6313c84c4896a8ec972a87206c759d031492fd65793e28ab601994b23d63b731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): util/helm/client.go:473-479 | util/oci/client.go:345-351 \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":"util/helm/client.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4dd1c377525dbcc377ef0eb7cef4e67f7c418462dd0a06df921a63b8eb13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): hack/gen-resources/generators/application_generator.go:105-111 | hack/gen-resources/generators/project_generator.go:43-49 | hack/gen-resources/generators/repo_generator.go:118-124 \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":"hack/gen-resources/generators/application_generator.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fb3395a70a9302482dd08793d1a4962d3c51048ffda8e688f63325136e11f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmpserver/apiclient/clientset.go:22-31 | commitserver/apiclient/clientset.go:18-27 \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":"cmpserver/apiclient/clientset.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"29992cc34d42a829fca9ea62ccc7ff920a4b57e82eda3d3522dc8e6affb46360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cmpserver/plugin/plugin.go:177-185 | pkg/apis/application/v1alpha1/types.go:172-180 \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":"cmpserver/plugin/plugin.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5d93b898556fc0ad09092aa63ff4031c959506a3332c2f7772eab7d4965538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): gitops-engine/pkg/sync/resource/annotations.go:44-52 | pkg/apis/application/v1alpha1/types.go:1513-1521 \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":"gitops-engine/pkg/sync/resource/annotations.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a552cc2a72085bdc128ccd873e38286a40d7d0d8e7c8bed7a0da987d134754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): util/helm/client.go:153-161 | util/oci/client.go:513-521 \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":"util/helm/client.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66af319f85ad74d934c53b58d192e9454095d0be0a214e23153bc6810182b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): server/application/terminal.go:56-67 | server/repository/repository.go:57-69 \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":"server/application/terminal.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e41a05279ae002397afa1c3e3bb60bc13886bb3abf16d5284a6b3b695c1de43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): applicationset/generators/matrix.go:177-186 | util/settings/settings.go:2752-2758 \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":"applicationset/generators/matrix.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"540561221e0285a4295797643f3fcc78f400c71ff04650f25cfc0ab6353770db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): gitops-engine/pkg/sync/hook/helm/weight.go:10-19 | gitops-engine/pkg/sync/syncwaves/waves.go:12-21 \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":"gitops-engine/pkg/sync/hook/helm/weight.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee95adf93859ad1784469d18e96c0f0e8fcbde35be485fba3890b8830dd2aa5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): applicationset/services/pull_request/azure_devops.go:28-34 | applicationset/services/scm_provider/azure_devops.go:36-42 \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":"applicationset/services/pull_request/azure_devops.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74d9a1b79099907673e2dc6c84b716dcc1722785054e58335699224955a87a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): applicationset/generators/matrix.go:188-197 | util/settings/settings.go:2776-2782 \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":"applicationset/generators/matrix.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"058665585778592aa56975833bd8f838706f797e73f8ccb5c519ab4c8488c4f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): applicationset/utils/map.go:7-14 | util/helm/index.go:15-21 \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":"applicationset/utils/map.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"36850e274d8bc004eae6b6cdbae22452987b28c5ff01243986039e845ba7b938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cmpserver/apiclient/clientset.go:33-39 | commitserver/apiclient/clientset.go:30-36 \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":"cmpserver/apiclient/clientset.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9681e93bab165e02fe8ee44cc1b0c0c159c83e90051bcf8f874907d950f02903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): gitops-engine/pkg/utils/kube/kube.go:98-101 | gitops-engine/pkg/utils/kube/kubemeta/kube.go:109-112 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/utils/kube/kube.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"895ef5f9ad9d72b68028680493e2d1c39a83e3b255767a5f4ea1e4682365b1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): applicationset/services/pull_request/gitea.go:15-23 | applicationset/services/pull_request/github.go:14-22 \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":"applicationset/services/pull_request/gitea.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81ffb40c841bace16ec08a0c1cb87871baa32a7475e6b8f43f3519b2ce0f019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): gitops-engine/pkg/utils/io/io.go:18-23 | hack/gen-crd-spec/main.go:69-74 \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":"gitops-engine/pkg/utils/io/io.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2f159f810993f2668a5523205b0bbac20b971d246c7784692d7856ca1c014a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): hack/dev-mounter/main.go:117-122 | hack/gen-resources/cmd/main.go:12-18 \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/dev-mounter/main.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a83759b829186c0b1ac51d15df99e7eff49c0450de1c329e06c5514cc5af65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): util/db/cluster.go:429-492 | util/settings/cluster_informer.go:216-279 \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":"util/db/cluster.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"370a8ff0659cccd806a47dd59fddbd62dde65777c139446874c2bbd059eed44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201353 lines \u00D7 2): util/git/creds.go:270-322 | util/git/creds.go:557-608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/git/creds.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2cec4eb3c0efd7ffbe5b109d447ad6db37e3b54c4924eceea374172aa6d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): pkg/apis/application/v1alpha1/repository_types.go:158-203 | pkg/apis/application/v1alpha1/repository_types.go:212-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apis/application/v1alpha1/repository_types.go:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/repository_types.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc77f2368f1cf6fc4f592bfb3e1f12768fa9a364007fe90e9b2bd67c8061c06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): util/db/repository_secrets.go:368-402 | util/db/repository_secrets.go:494-528 \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":"util/db/repository_secrets.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93edc822c97bee9bf96f9c83cbc0e0bd2f2666a7647e26c1871a46e9372f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): applicationset/generators/matrix.go:277-306 | applicationset/generators/merge.go:185-214 \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 \u0060applicationset/generators/matrix.go:277\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":"applicationset/generators/matrix.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ab98b0105a4859cef55406f8f2b53201639442cc12e93206136d9a28f7a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): cmd/argocd/commands/app.go:2654-2679 | cmd/util/app.go:555-580 \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/argocd/commands/app.go:2654\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/argocd/commands/app.go"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eb06e3bc795d6f7c44d8feddb05a7c695f75ef23c345e44b7d422c90e1a08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): gitops-engine/pkg/utils/kube/ctl.go:289-313 | gitops-engine/pkg/utils/kube/ctl.go:320-344 \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 \u0060gitops-engine/pkg/utils/kube/ctl.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":"gitops-engine/pkg/utils/kube/ctl.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5783c6690edb124a9516d38b5678fb1f0a91f21f13c1bb05a0aa3630b84b9657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): applicationset/services/pull_request/github.go:26-49 | applicationset/services/scm_provider/github.go:25-48 \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":"applicationset/services/pull_request/github.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"206ffa73c7b39df802b2a4045305e10e7d5cad88d648e15935676348aef07c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): util/helm/cmd.go:116-136 | util/helm/cmd.go:279-297 | util/helm/cmd.go:316-336 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060util/helm/cmd.go:338\u0060 calls \u0060GetInsecureSkipVerify\u0060 and \u0060util/helm/cmd.go:298\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":"util/helm/cmd.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c702f04ab53e782ee98554fef2f33f4308632fe20c554a8dbdfb9e16e288d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): gitops-engine/pkg/utils/kube/resource_ops.go:549-569 | gitops-engine/pkg/utils/kube/resource_ops.go:606-626 \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":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"183ceb4313290f17a2d3d602b333312e402b3d93f660c90a66123a17175b50ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): util/kustomize/gitwrapper.go:109-129 | util/kustomize/helmwrapper.go:112-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 \u0060util/kustomize/gitwrapper.go:109\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/kustomize/gitwrapper.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d544d842fdf5ce8c9bd7249567220ba8b7f19318057067f77243bbc652ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/argocd/commands/admin/repo.go:123-141 | cmd/argocd/commands/repo.go:144-162 \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/argocd/commands/admin/repo.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e97ee65a99f22157f2182578431bee5fec693ea49b59af175c375d90a114c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/argocd/commands/app.go:258-276 | cmd/argocd/commands/applicationset.go:586-604 \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/argocd/commands/app.go:258\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/argocd/commands/app.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01acc350ee5c91eecc6b075fd0810db4ac167084f10a5b23d7995454d396bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/argocd/commands/app.go:2915-2933 | cmd/argocd/commands/app_diff.go:649-667 \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/argocd/commands/app.go:2915\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/argocd/commands/app.go"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"def19d5ac02a2f2ace81e4bafc612eb04050b2609c9a57a6c5ded7c274481699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): cmd/argocd/commands/app_resources.go:317-336 | cmd/argocd/commands/app_resources.go:386-405 \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/argocd/commands/app_resources.go:317\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/argocd/commands/app_resources.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50fc108740ea29ea476010941feb92956be4c1e5868aca9dce96f62326b9e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/argocd/commands/project_role.go:101-119 | cmd/argocd/commands/project_role.go:176-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/argocd/commands/project_role.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 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/argocd/commands/project_role.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b95572dff346832ab4cc1098cdea91c9c2150a586b72d0c540eee89021638b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): cmd/argocd/commands/app.go:2948-2965 | cmd/argocd/commands/app_diff.go:680-694 \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/argocd/commands/app.go:2948\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/app_diff.go:679\u0060 calls \u0060getRefreshType\u0060 and \u0060cmd/argocd/commands/app.go:2947\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/argocd/commands/app.go"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af791beaaa5bbf2e26d4845420b385dfe82f455b332a3a842d566fd5d042df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): server/application/application.go:1712-1729 | server/application/application.go:1773-1790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec967951901034e5ac4022de7b4a4bb23378691baa6b41a481bc02a9198729a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cmd/argocd/commands/admin/repo.go:99-115 | cmd/argocd/commands/repo.go:121-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/admin/repo.go:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/admin/repo.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f178a141fb82340c21518ed0faa41c294e86845aac059e737942b5e7396333d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cmd/argocd/commands/app.go:888-904 | cmd/argocd/commands/app.go:1001-1017 \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/argocd/commands/app.go"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f70d2e092fb875be58b4a63ec913d0b254c211178eb2d833075538b9829859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): gitops-engine/pkg/diff/diff.go:979-995 | gitops-engine/pkg/diff/diff.go:996-1012 \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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68b021e44561daa9e0386203f5c3cfe0b14ca20205d65659e288a7bbcb0ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): cmd/argocd/commands/projectwindows.go:64-79 | cmd/argocd/commands/projectwindows.go:264-279 | cmd/argocd/commands/projectwindows.go:317-332 \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 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/argocd/commands/projectwindows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da955e419dafab0fcaa0ed3a2dca33d76bdbd1d7bdd14d1822ba25ad8f48f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): controller/appcontroller.go:1083-1098 | controller/appcontroller.go:2153-2167 | controller/appcontroller.go:2409-2423 \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 \u0060controller/appcontroller.go:1083\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":"controller/appcontroller.go"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3d079a7e6bcb1343cc799ce3e1fcd1e614a09833cd714122c3490b6be0061b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): applicationset/controllers/applicationset_controller.go:1093-1108 | applicationset/controllers/applicationset_controller.go:1222-1237 \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 \u0060applicationset/controllers/applicationset_controller.go:1093\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ceff28a66d043450be9ae28965a2911dabb5887a81176d10096bc6733865e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/argocd-commit-server/commands/argocd_commit_server.go:96-111 | cmd/argocd-repo-server/commands/argocd_repo_server.go:209-224 \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/argocd-commit-server/commands/argocd_commit_server.go:96\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/argocd-commit-server/commands/argocd_commit_server.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"63af4744bb83aaf416ab8dcaf6cfee8f1b41be398d11d1fd9238c6f38fb86724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/argocd/commands/admin/backup.go:71-86 | cmd/argocd/commands/admin/backup.go:207-222 \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/argocd/commands/admin/backup.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8427cc80dedf15e12c696c1e3c5886569b59ed9b4b718e7197a00d11177d1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/argocd/commands/admin/cluster.go:205-220 | cmd/argocd/commands/admin/cluster.go:500-515 \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/argocd/commands/admin/cluster.go:205\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/argocd/commands/admin/cluster.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce37d83152205a7b9224922d13e7cdb1a3a524f3586a6385b7aaa213386176e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/argocd/commands/login.go:100-115 | cmd/argocd/commands/logout.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 \u0060cmd/argocd/commands/login.go:100\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/argocd/commands/login.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d2e706d5ab9ce1d6f2913b87bc84d90b1e10cc34d71e62382b29e21d6502de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): cmd/argocd/commands/project_source_integrity.go:274-288 | cmd/argocd/commands/project_source_integrity.go:379-394 \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/argocd/commands/project_source_integrity.go:274\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/argocd/commands/project_source_integrity.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"94124e0073542582b1eea6a3de00a9eabf280b549068174a2edf8035a330ca70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): gitops-engine/pkg/health/health_apiservice.go:40-55 | gitops-engine/pkg/health/health_apiservice.go:61-76 \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 \u0060gitops-engine/pkg/health/health_apiservice.go:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"gitops-engine/pkg/health/health_apiservice.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1881489602688acf9a7066e055f439c3432b31b94f65df55246a2024ea328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): applicationset/services/scm_provider/utils.go:111-125 | applicationset/services/scm_provider/utils.go:145-159 \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 \u0060applicationset/services/scm_provider/utils.go:111\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":"applicationset/services/scm_provider/utils.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f2913324dcb312e12f95b8060d98f6ec72d5e7c3ae93c5dcf9a5a56ed16d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/argocd/commands/admin/backup.go:55-69 | cmd/argocd/commands/admin/project_allowlist.go:54-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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/argocd/commands/admin/backup.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2244e92d549e4414359fd87af3c6da5e83a1e82360284ab3f235ca1434281b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/argocd/commands/admin/cluster.go:403-417 | cmd/argocd/commands/admin/cluster.go:461-475 \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/argocd/commands/admin/cluster.go:403\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, \u0060cmd/argocd/commands/admin/cluster.go:418\u0060 calls \u0060Flags\u0060, \u0060BoolVar\u0060, \u0060IntVar\u0060 and \u0060cmd/argocd/commands/admin/cluster.go:476\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/argocd/commands/admin/cluster.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bb38550d4c6c388b6a3559901498fa316caf0174a7726b166d9e50ed2beae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/argocd/commands/app.go:287-301 | cmd/argocd/commands/app_resources.go:444-458 \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/argocd/commands/app.go:287\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/argocd/commands/app.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"441e583ea23f50f50ecf40a3e8520652e34edcb73a243abc5b3d11e924fcf1b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): reposerver/repository/repository.go:3380-3394 | reposerver/repository/repository.go:3452-3466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1645693e9b034c4bd810eb14b675ab5f9c36ca9cd568cfab0c4aec960f89c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): applicationset/generators/matrix.go:124-138 | applicationset/generators/merge.go:165-178 \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 \u0060applicationset/generators/matrix.go:124\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":"applicationset/generators/matrix.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8812e8e10f23745a9ccd7316d71a23d6969f60cbc046439553d30b7e74f8467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): cmd/argocd/commands/app.go:3195-3207 | cmd/argocd/commands/app.go:3342-3355 \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/argocd/commands/app.go:3195\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/argocd/commands/app.go"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e6a996bf1f085dd7b4c79d6ef9b39951c2930df223d40d540bf9f7465320a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): cmd/argocd/commands/applicationset.go:106-118 | cmd/argocd/commands/applicationset.go:214-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/applicationset.go:106\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/argocd/commands/applicationset.go:120\u0060 calls \u0060printHelmParams\u0060, \u0060GetSource\u0060 and \u0060cmd/argocd/commands/applicationset.go:228\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/argocd/commands/applicationset.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d805adbd720fc4a2d27c4c317c1f08de19ffd75fffd12aa02b5b64acd0463df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controller/appcontroller.go:830-843 | server/application/application.go:3272-3285 \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 \u0060controller/appcontroller.go:830\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":"controller/appcontroller.go"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"86df04073a5560a50754b6b0bc062b3441a0357a62e72c66a94556ab35952ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): controller/cache/info.go:242-253 | controller/cache/info.go:450-463 \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 \u0060controller/cache/info.go:242\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":"controller/cache/info.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c079f07e997f859b89c840afa8ea9eb2c978f527ca5250a399801a10fe6073a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): gitops-engine/pkg/cache/cluster.go:604-617 | gitops-engine/pkg/cache/cluster.go:620-633 \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 \u0060gitops-engine/pkg/cache/cluster.go:604\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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cc2c7be9a8cb9e9a51e0743f21ed5e9ebe0c2e29897d048ba5e67e4052957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): server/application/application.go:527-540 | server/application/application.go:701-714 \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":"server/application/application.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba5b13b3784bddb987a7970e8bf298b2ba878fe4573c61e0b32459925511921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): util/argo/audit_logger.go:139-152 | util/argo/audit_logger.go:179-192 \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":"util/argo/audit_logger.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a08ac19d5d59a72f4ae2a7466d6c58c0b9880cf0636f96fbbf549bb4fad389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): cmd/argocd/commands/app.go:3201-3213 | cmd/argocd/commands/app.go:3274-3285 | cmd/argocd/commands/app.go:3349-3360 \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 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/argocd/commands/app.go"},"region":{"startLine":3201}}}],"partialFingerprints":{"codehealthFindingId/v1":"92600eb14003438e6e9465ed113c63ed7ddc40843c1b952dabb842e791ce6f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): server/repository/repository.go:243-255 | server/repository/repository.go:264-276 | server/repository/repository.go:414-424 \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 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":"server/repository/repository.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e2f8d0f01027808d31b5f35934d7988fa6e254f8106632a779bca01c585e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): cmd/argocd/commands/admin/cluster.go:379-390 | cmd/argocd/commands/admin/cluster.go:432-444 \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/argocd/commands/admin/cluster.go:379\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/argocd/commands/admin/cluster.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ce409dbe1e6a89fd7697acdc43dca95ea752e3c139cc8e58d176a26faa2b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): cmd/argocd/commands/app.go:3095-3107 | cmd/argocd/commands/project.go:1132-1142 \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/argocd/commands/app.go:3095\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/argocd/commands/app.go"},"region":{"startLine":3095}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cd5b11d1cc31e888b8d0e5c65237a861c57c5a3f068bf9ef1e31abc8fcc0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/cluster/cluster.go:334-346 | server/cluster/cluster.go:451-463 \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":"server/cluster/cluster.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a78e0bb4845d6a8aede37f15669925076684d4dd274979f7a285d47ed04288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): util/cmp/stream.go:200-212 | util/manifeststream/stream.go:212-224 \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 \u0060util/cmp/stream.go:200\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":"util/cmp/stream.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dd85f3adc8ee68c2c94e2624f11e7c75ee56590620d4f5365eb67344bce743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): util/db/repository.go:438-450 | util/db/repository.go:455-467 \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 \u0060util/db/repository.go:438\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":"util/db/repository.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5806b0cda017a6176c4f05eaa51b8963da89be62293cb0917c3fb5f7da440c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): util/db/repository_secrets.go:431-443 | util/db/repository_secrets.go:541-553 \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":"util/db/repository_secrets.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6064fc59e805267ddabc708ba337b6a8c5edb5e3ab1fc3818361a1405b9751d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): util/settings/settings.go:749-762 | util/settings/settings.go:785-797 \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 \u0060util/settings/settings.go:749\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":"util/settings/settings.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"804fe4b26ca906b7768958930a30d6dee25ef549c213e5c705dd95987d145262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): util/webhook/registry.go:80-90 | util/webhook/webhook.go:330-342 \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 \u0060util/webhook/registry.go:80\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":"util/webhook/registry.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc854994367a3cfbc73e473e840ed0e243b08b4c2799f4da299d3387b15c657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cmd/argocd/commands/app.go:445-456 | cmd/argocd/commands/app.go:884-895 | cmd/argocd/commands/app.go:3287-3298 \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":"cmd/argocd/commands/app.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c44220f62dd2584e115dd2a2f967a01e31cb9a319eb83a39804259322f851f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): applicationset/generators/pull_request.go:221-232 | applicationset/generators/scm_provider.go:300-310 \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 \u0060applicationset/generators/pull_request.go:221\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":"applicationset/generators/pull_request.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea29a6c657ca3b65e842ccc68331a4fa8fe36a0db962750913783b79f4d7cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): applicationset/generators/utils.go:26-37 | applicationset/generators/utils.go:39-50 \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":"applicationset/generators/utils.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8953f3a0352bafc0feeb961cbdb6d22939fda805701e228c71b2623cec9fb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): applicationset/webhook/webhook.go:429-440 | applicationset/webhook/webhook.go:485-496 \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":"applicationset/webhook/webhook.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d55f515ed2ffdedf5f35f21843232a1be9623e9fbe115ba286bd5b2de2c1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/argocd-dex/commands/argocd_dex.go:62-73 | cmd/argocd-repo-server/commands/argocd_repo_server.go:103-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd-dex/commands/argocd_dex.go:62\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":"cmd/argocd-dex/commands/argocd_dex.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"971c96b8e1f5df05e2dd7d29d76313cedfd0ab2345e524fa4afed846aefc0e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): cmd/argocd/commands/project_source_integrity.go:117-127 | cmd/argocd/commands/project_source_integrity.go:181-192 \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/argocd/commands/project_source_integrity.go:117\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. 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/argocd/commands/project_source_integrity.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6d38380f0b8db75134d926b9237acd3e587b125163e1b4cca4726934c9bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmpserver/server.go:63-74 | reposerver/server.go:107-118 \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, \u0060reposerver/server.go:104\u0060 calls \u0060ErrorSanitizerUnaryServerInterceptor\u0060 and \u0060cmpserver/server.go:60\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":"cmpserver/server.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1144215afc0fc3054d38d7fdcbbbba292a74d2ff71e280e17183e08ae90dd6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): controller/appcontroller.go:1833-1841 | controller/appcontroller.go:1951-1962 \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 \u0060controller/appcontroller.go:1833\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":"controller/appcontroller.go"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7b2ad17149469fc2e5d748f78f32f6eec873fe2545f43521c1006b6fb6159f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): controller/appcontroller.go:3285-3295 | controller/appcontroller.go:3581-3592 \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 \u0060controller/appcontroller.go:3581\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. 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":"controller/appcontroller.go"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"49180b442b50f7cfeb097332d6bfb0bd7c524acc024624d5e7f71a1230eb9273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): reposerver/repository/repository.go:427-438 | reposerver/repository/repository.go:469-479 \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 \u0060reposerver/repository/repository.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 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":"reposerver/repository/repository.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7459776c1ad4d6f8515270f545e19f704a0b31c174dc094f0c16aeb734b2b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): reposerver/repository/repository.go:3786-3797 | reposerver/repository/repository.go:3872-3883 \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 \u0060reposerver/repository/repository.go:3786\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":"reposerver/repository/repository.go"},"region":{"startLine":3786}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93ac1e7d9e659106f4766ebfed54637335923b51c60ab7b96b6a55d19dba5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): server/application/application.go:1029-1040 | server/applicationset/applicationset.go:599-610 \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 \u0060server/application/application.go:1029\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":"server/application/application.go"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4000e197e6606c604110a86233fd144ffa96444cc0308bee6b6847ba099cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): util/git/creds.go:1092-1103 | util/git/creds.go:1203-1214 \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 \u0060util/git/creds.go:1092\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":"util/git/creds.go"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9f9d031245e527ead3db2f89acab1148e8da1c004d0ab96487a0cd59444634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): util/kube/kube.go:45-56 | util/kube/kube.go:82-93 \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":"util/kube/kube.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e58ef6ce826f5d37488dc4f44c3d0ed604be57b25d2cf18c901261b215f510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): util/settings/settings.go:2024-2035 | util/settings/settings.go:2039-2050 \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 \u0060util/settings/settings.go:2024\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":"util/settings/settings.go"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89e8c4eabbe6a936e0df779119af4e2cc54ae904654e03ca48a26c5efc65966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 10): cmd/argocd/commands/project.go:242-252 | cmd/argocd/commands/project.go:486-495 | cmd/argocd/commands/project.go:528-537 | cmd/argocd/commands/project.go:566-575 | cmd/argocd/commands/project.go:798-807 | cmd/argocd/commands/project_role.go:234-243 | cmd/argocd/commands/project_role.go:271-280 | cmd/argocd/commands/project_role.go:335-344 | cmd/argocd/commands/project_role.go:403-413 | cmd/argocd/commands/project_role.go:588-597 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/argocd/commands/project_role.go:282\u0060 calls \u0060NewPrompt\u0060 and \u0060cmd/argocd/commands/project.go:254\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/argocd/commands/project.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da550f8fe1c9d9c2acd5b24b6a606ed5e1890ffc25129bc20da655120d38614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 7): cmd/argocd/commands/app.go:3055-3063 | cmd/argocd/commands/app.go:3082-3091 | cmd/argocd/commands/app.go:3153-3161 | cmd/argocd/commands/app_actions.go:79-87 | cmd/argocd/commands/app_resources.go:73-83 | cmd/argocd/commands/app_resources.go:320-329 | cmd/argocd/commands/app_resources.go:389-398 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. 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/argocd/commands/app.go"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce34f7449edff49463d32bef52c1592c3a739f59489a211a651dcf1d2b1c0a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cmd/argocd/commands/project.go:339-349 | cmd/argocd/commands/project.go:387-397 | cmd/argocd/commands/project.go:437-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. 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/argocd/commands/project.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d0caf43b151bc58644f632fb2c315b8af1a95883d4b909d0536fa2364379f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): gitops-engine/pkg/utils/kube/ctl.go:190-206 | gitops-engine/pkg/utils/kube/ctl.go:214-230 | gitops-engine/pkg/utils/kube/ctl.go:238-254 \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 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":"gitops-engine/pkg/utils/kube/ctl.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd76cbfeb83fb8754a836bfd18e80130b2937ba447799f05842991fcbfc5172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): gitops-engine/pkg/utils/kube/resource_ops.go:515-525 | gitops-engine/pkg/utils/kube/resource_ops.go:550-560 | gitops-engine/pkg/utils/kube/resource_ops.go:607-617 \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 \u0060gitops-engine/pkg/utils/kube/resource_ops.go:515\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":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36a5cc61283beb643b660347082e4a1126c508c35b17df4a49dc86fa33d3743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): applicationset/utils/utils.go:414-424 | util/hydrator/template.go:38-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 \u0060applicationset/utils/utils.go:414\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":"applicationset/utils/utils.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b22fb1e7dfcf6f0be3f78c4c54b9056f3bac3cbf038a4dbb5d8c898748a1352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/admin/settings.go:415-425 | cmd/argocd/commands/admin/settings.go:462-472 \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/argocd/commands/admin/settings.go:415\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/argocd/commands/admin/settings.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a80706af6d3df82b4dc7a10e289006849d86f2831a15a81aa29b5392badad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/repo.go:387-398 | cmd/argocd/commands/repo.go:459-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/repo.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae6ddccef845a7ea0759a7739661ef58c9005455900c3f0bf24e9168fb2328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commitserver/metrics/githandlers.go:11-21 | reposerver/metrics/githandlers.go:27-37 \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 \u0060commitserver/metrics/githandlers.go:11\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":"commitserver/metrics/githandlers.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"12672e506ab8a7bba726102fcdb4848869632578248172a19b5338a9eafd80fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): server/application/application.go:1302-1312 | server/applicationset/applicationset.go:91-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/application/application.go:1301\u0060 calls \u0060NewNameFilter\u0060, \u0060GetNames\u0060 and \u0060server/applicationset/applicationset.go:90\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":"server/application/application.go"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e3b677ba78738a69561a96f49b2e3ca923c6723dd309084d4b9b2a9d707c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): server/project/project.go:96-106 | server/project/project.go:215-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/project/project.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f0855c5c03d3d3f465822769b1931cb5b88d3ba8f7ee290dbb9e648a3a58eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): util/cert/cert.go:127-137 | util/cert/cert.go:193-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 \u0060util/cert/cert.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. 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":"util/cert/cert.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19099533115da9c5f17e1e0d72f4d228393fc552af5aaaa0f9f0732bdef5492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): util/db/repository.go:61-71 | util/db/repository.go:75-85 \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 \u0060util/db/repository.go:61\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":"util/db/repository.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e1ecd7ba3b72b2cbfa68a3dc5c7561d329ad9435d6e6b90d66d161c1238075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): util/kustomize/kustomize.go:190-199 | util/kustomize/kustomize.go:210-220 \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 \u0060util/kustomize/kustomize.go:190\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":"util/kustomize/kustomize.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7b52f7a535edb5c76fa8a24cc914444be5566d0cf6c2066357d7ce7337a5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 28): cmd/argocd/commands/account.go:426-433 | cmd/argocd/commands/project.go:196-203 | cmd/argocd/commands/project.go:241-248 | cmd/argocd/commands/project.go:297-304 | cmd/argocd/commands/project.go:338-345 | cmd/argocd/commands/project.go:386-393 | cmd/argocd/commands/project.go:436-443 | cmd/argocd/commands/project.go:485-492 | cmd/argocd/commands/project.go:527-534 | cmd/argocd/commands/project.go:565-572 | cmd/argocd/commands/project.go:797-804 | cmd/argocd/commands/project.go:1080-1087 | cmd/argocd/commands/project.go:1121-1128 | cmd/argocd/commands/project.go:1193-1200 | cmd/argocd/commands/project.go:1245-1252 | cmd/argocd/commands/project_role.go:233-240 | cmd/argocd/commands/project_role.go:270-277 | cmd/argocd/commands/project_role.go:334-341 | cmd/argocd/commands/project_role.go:402-409 | cmd/argocd/commands/project_role.go:480-487 | cmd/argocd/commands/project_role.go:542-549 | cmd/argocd/commands/project_role.go:587-594 | cmd/argocd/commands/projectwindows.go:63-71 | cmd/argocd/commands/projectwindows.go:216-223 | cmd/argocd/commands/projectwindows.go:263-271 | cmd/argocd/commands/projectwindows.go:316-324 | cmd/argocd/commands/projectwindows.go:372-379 | cmd/argocd/commands/repo.go:449-458 \u2014 there are 28 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 28 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/account.go:426\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/project.go:191\u0060 calls \u0060Examples\u0060 and \u0060cmd/argocd/commands/project_role.go:268\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/argocd/commands/account.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfdf5486cd426ed8c9f2f04bd12819a53a246c88fba81221fd9758554473990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 10): cmd/argocd/commands/project.go:245-254 | cmd/argocd/commands/project.go:489-497 | cmd/argocd/commands/project.go:531-539 | cmd/argocd/commands/project.go:569-577 | cmd/argocd/commands/project.go:801-809 | cmd/argocd/commands/project_role.go:105-113 | cmd/argocd/commands/project_role.go:180-188 | cmd/argocd/commands/project_role.go:237-245 | cmd/argocd/commands/project_role.go:406-415 | cmd/argocd/commands/project_role.go:591-599 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/project.go:245\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":"cmd/argocd/commands/project.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aaf800ae74f341d4a2c2a677d8172a084ecf612929a90dae9ae7972a41b76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): applicationset/generators/pull_request.go:143-152 | applicationset/generators/scm_provider.go:180-189 \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 \u0060applicationset/generators/pull_request.go:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/pull_request.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06997c32a4adc7c7cfcf8af03bb653fd0fa4b2ed391802a72eca72ee558f436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): applicationset/services/scm_provider/github.go:53-62 | applicationset/services/scm_provider/gitlab.go:69-78 \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 \u0060applicationset/services/scm_provider/github.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":"applicationset/services/scm_provider/github.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a368fb38416a3262442cd5972976965578dbf482a37cd7b0b6b02a2a97993b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/argocd/commands/account.go:185-194 | cmd/argocd/commands/app_actions.go:118-127 \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/argocd/commands/account.go:185\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/argocd/commands/account.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab55d5f5067b87238189fec49fd45f4e97bfc5dfb24b945a353d9c51e38c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): cmd/argocd/commands/admin/cluster.go:231-246 | cmd/argocd/commands/admin/cluster.go:525-539 \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/argocd/commands/admin/cluster.go:231\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/argocd/commands/admin/cluster.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e768e2ade4d27122db7aaf04d36c032187b9cba2ae7aff408e9393d032f91de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/argocd/commands/applicationset.go:154-163 | cmd/argocd/commands/applicationset.go:263-272 \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/argocd/commands/applicationset.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"416ff2cf27d5f9665e0f1ed2cac22a309f692796250313b4d245f1a0f6f89551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/util/app.go:613-622 | cmd/util/applicationset.go:33-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/util/app.go:613\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/util/app.go"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90f15f1c7e33d8c10b7407c639528ba7681c545da4afaf6d446dde4b4a8cb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gitops-engine/pkg/cache/legacy_engine.go:188-197 | gitops-engine/pkg/cache/legacy_engine.go:253-262 \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 \u0060gitops-engine/pkg/cache/legacy_engine.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gitops-engine/pkg/cache/legacy_engine.go:198\u0060 calls \u0060Lock\u0060 and \u0060gitops-engine/pkg/cache/legacy_engine.go:263\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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b83010c6bd36634a0b4a27cef216475a28e07830c0c1f572fc19216b75bea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): server/application/application.go:1057-1066 | server/applicationset/applicationset.go:398-406 \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":"server/application/application.go"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3961fcd7c9730f84534a26bbcf2dddf4812e3289bea9e81656aa815ee6f2b071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/application/application.go:1604-1613 | server/application/application.go:1647-1656 \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":"server/application/application.go"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a48b32a1435a261d78c9125166d2190ac8b577141f808958734ff104643e42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): util/helm/cmd.go:176-185 | util/helm/cmd.go:263-272 \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 \u0060util/helm/cmd.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060util/helm/cmd.go:187\u0060 calls \u0060GetCAPath\u0060 and \u0060util/helm/cmd.go:273\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":"util/helm/cmd.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec42dd6d54bdcda081d729d5a82b95eaf64c61e804f16cee98546c1a0e93a2fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): cmd/argocd/commands/project.go:161-169 | cmd/argocd/commands/project.go:1125-1132 | cmd/argocd/commands/project_role.go:546-554 | cmd/argocd/commands/projectwindows.go:220-228 | cmd/argocd/commands/projectwindows.go:376-384 \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 \u0060cmd/argocd/commands/project.go:161\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":"cmd/argocd/commands/project.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"41da98d39cc64015284017a816e8e2850cb33ec05c6450698b61094454b81029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): commitserver/commit/hydratorhelper.go:160-168 | util/sourceintegrity/gpg.go:126-134 | util/sourceintegrity/gpg.go:222-230 | util/sourceintegrity/gpg.go:249-257 | util/sourceintegrity/gpg.go:373-381 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. 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, \u0060util/sourceintegrity/gpg.go:372\u0060 calls \u0060Remove\u0060, \u0060Name\u0060 and \u0060util/sourceintegrity/gpg.go:220\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":"commitserver/commit/hydratorhelper.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0baf1ad579c622cd924d07d84552d07ec9e1be80d35fdc42be275af9f3c3388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): applicationset/services/scm_provider/bitbucket_server.go:140-148 | applicationset/services/scm_provider/github.go:55-63 | applicationset/services/scm_provider/gitlab.go:71-79 \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 \u0060applicationset/services/scm_provider/bitbucket_server.go:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060applicationset/services/scm_provider/github.go:64\u0060 calls \u0060GetName\u0060, \u0060GetCommit\u0060, \u0060GetSHA\u0060 and \u0060applicationset/services/scm_provider/bitbucket_server.go:149\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":"applicationset/services/scm_provider/bitbucket_server.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc77e042976834b035b918ff3542cfafccbfd18cac5c2599c26a47f8f39b9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): cmd/argocd/commands/account.go:91-98 | cmd/argocd/commands/app.go:3194-3201 | cmd/argocd/commands/app.go:3341-3349 \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 \u0060cmd/argocd/commands/account.go:91\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/argocd/commands/account.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0097574986b03c0bdcf83bea9a50aa6db4b7219db9b9362a25503c01f456c5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): util/helm/cmd.go:104-112 | util/helm/cmd.go:175-183 | util/helm/cmd.go:262-270 \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 \u0060util/helm/cmd.go:104\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, \u0060util/helm/cmd.go:273\u0060 calls \u0060GetInsecureSkipVerify\u0060 and \u0060util/helm/cmd.go:113\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":"util/helm/cmd.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13ecb95279ba8cc64ef67f8ca0cdfc4a784c6a037a97c9b91bcb1b1f2ef315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): applicationset/generators/pull_request.go:167-175 | applicationset/generators/scm_provider.go:206-214 \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":"applicationset/generators/pull_request.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f359f6b6a3e70133c5e1be52842be8e22085511aa781344a0eaafe7d2c7759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd-application-controller/commands/argocd_application_controller.go:130-138 | cmd/argocd-server/commands/argocd_server.go:141-149 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd-server/commands/argocd_server.go:138\u0060 calls \u0060SetCacheSize\u0060 and \u0060cmd/argocd-application-controller/commands/argocd_application_controller.go:127\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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be1b78d8faeafaf63f36039154de1c9329f78017b1e0edc7c371c6447d64b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd/commands/admin/cluster.go:560-568 | cmd/argocd/commands/admin/project.go:164-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/admin/cluster.go:560\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/argocd/commands/admin/cluster.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb504f39303e59869af42b61edafbf1064a5851baa9ed05273db7e5e35867faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd/commands/admin/settings.go:396-404 | cmd/argocd/commands/admin/settings.go:527-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/argocd/commands/admin/settings.go:396\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/argocd/commands/admin/settings.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a22b1effb9511c541d10c448d64213ef8911d3f63290896c13b4a17bec76c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd/commands/applicationset.go:91-99 | cmd/argocd/commands/applicationset.go:393-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/applicationset.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4f99c78223ff4c6d02cee1a7ca190a048b8e9b238de125082941a417cafc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/project_role.go:642-652 | cmd/argocd/commands/project_role.go:673-683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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/argocd/commands/project_role.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd53b99c4cef0040f3e940ceadab45e6e623c845b4daf696a9784fbabacc57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmpserver/server.go:51-59 | reposerver/server.go:94-102 \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 \u0060cmpserver/server.go:51\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, \u0060reposerver/server.go:104\u0060 calls \u0060ErrorSanitizerUnaryServerInterceptor\u0060 and \u0060cmpserver/server.go:61\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":"cmpserver/server.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"855df2e00f8bd4b09c1c8afdbfd45365c368772ff168513a0f58c6dbeb72ecc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controller/cache/info.go:154-162 | controller/cache/info.go:190-198 \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 \u0060controller/cache/info.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":"controller/cache/info.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1148d68309cf0b137701a7d21623d519aaed101b647f2c6316bb344882fe08c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): server/application/application.go:723-731 | server/application/application.go:868-875 \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":"server/application/application.go"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3bee5f24db9bf37ee6df5937d1ec0a996ff90f2b08bfdf8764ccd34faccde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/cmp/stream.go:217-225 | util/manifeststream/stream.go:233-241 \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 \u0060util/cmp/stream.go:217\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":"util/cmp/stream.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f854e6465203df81b64cdd153fe5da79a28cb2ef9bf25a2336c479d455faebce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/db/repository_secrets.go:331-339 | util/db/repository_secrets.go:476-484 \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":"util/db/repository_secrets.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"981ec8bdd2f0e82908f485c5dcdd28ffea28f4fb923ab67efba30adb1acfa3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/kube/kube.go:145-153 | util/kube/kube.go:167-175 \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 \u0060util/kube/kube.go:145\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":"util/kube/kube.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f80a604d4800407275f475b0fea6097c6fb9fbf604a3581dbb9eeeeb98373f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/notification/settings/settings.go:66-74 | util/notification/settings/settings.go:89-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 \u0060util/notification/settings/settings.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":"util/notification/settings/settings.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73d5a7d262ad343680715a5dc1692fcd3f20a5586327cbead8ccb2e38616c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/notification/settings/settings.go:78-86 | util/notification/settings/settings.go:102-110 \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 \u0060util/notification/settings/settings.go:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/notification/settings/settings.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cc0b55deeaada44d340f621b8041492f0bd2ca75b953c19b22924b3b479680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/oidc/oidc.go:265-273 | util/session/sessionmanager.go:172-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 \u0060util/oidc/oidc.go:265\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":"util/oidc/oidc.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcad9ea26d5eb3366b5f9c1cd73e0f146c3975ef2d2c1abd86bf0b763038ab25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 14): cmd/argocd/commands/project.go:248-255 | cmd/argocd/commands/project.go:346-352 | cmd/argocd/commands/project.go:394-400 | cmd/argocd/commands/project.go:444-450 | cmd/argocd/commands/project.go:492-498 | cmd/argocd/commands/project.go:534-540 | cmd/argocd/commands/project.go:572-578 | cmd/argocd/commands/project.go:804-810 | cmd/argocd/commands/project.go:1254-1260 | cmd/argocd/commands/project_role.go:108-114 | cmd/argocd/commands/project_role.go:183-189 | cmd/argocd/commands/project_role.go:240-246 | cmd/argocd/commands/project_role.go:409-416 | cmd/argocd/commands/project_role.go:594-600 \u2014 there are 14 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 14 sites; resolving a subset leaves the remainder to drift apart. 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/argocd/commands/project.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1c25507ec8e46a1c83d1abf40f17e98836db82fec4895850c883035a1d716d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): cmd/argocd/commands/app.go:579-586 | cmd/argocd/commands/applicationset.go:90-97 | cmd/argocd/commands/applicationset.go:153-160 | cmd/argocd/commands/applicationset.go:262-269 | cmd/argocd/commands/applicationset.go:392-399 \u2014 there are 5 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 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 \u0060cmd/argocd/commands/app.go:579\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/argocd/commands/app.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af8d04e80ba59352315e5ea83f8781224212942566e2397fef72204074f31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): cmd/argocd/commands/projectwindows.go:62-69 | cmd/argocd/commands/repo.go:117-124 | cmd/argocd/commands/repo.go:448-455 | cmd/argocd/commands/repocreds.go:98-105 \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 \u0060cmd/argocd/commands/projectwindows.go:62\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/argocd/commands/projectwindows.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"553bfbe47a0fb921c06a8836765e5190f96435bfdbc9b2a84a4fda4ab08b6050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): server/cluster/cluster.go:180-187 | server/cluster/cluster.go:337-344 | server/cluster/cluster.go:454-461 \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 \u0060server/cluster/cluster.go:180\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":"server/cluster/cluster.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17347b92903566262d00b632ee96cb5b0aa96d06c0f222a3f31bc86d27b73af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): util/cert/cert.go:131-138 | util/cert/cert.go:197-204 | util/helm/cmd.go:244-251 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also 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":"util/cert/cert.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c647902264f51be5a5bc6adf2a2dbd029488beda657d292fad0e2beb047dcc03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): util/kustomize/kustomize.go:192-199 | util/kustomize/kustomize.go:213-220 | util/kustomize/kustomize.go:263-270 \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 \u0060util/kustomize/kustomize.go:192\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":"util/kustomize/kustomize.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ad24c490a4ca2452d62146f92a646c7be9d3faa27ef13da9eb8e827c8d9ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): applicationset/controllers/applicationset_controller.go:1089-1097 | applicationset/controllers/applicationset_controller.go:1135-1143 \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 \u0060applicationset/controllers/applicationset_controller.go:1089\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f78e5d517f404ee235a827ca96d23c8d94202e5a5bfdffcbebd2644972b8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/argocd/commands/admin/settings.go:343-350 | cmd/argocd/commands/admin/settings.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/admin/settings.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2079355b16e87a81f967c81666da523bdf4ece6e646d65f12d7db56446655bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/argocd/commands/app.go:2822-2829 | cmd/argocd/commands/app.go:2942-2950 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/app.go"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095f1827f2372e24d19b46828f9b9f746b7242f81e3fc4793c9ee39ebdf9475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): cmd/argocd/commands/app_resources.go:80-87 | cmd/argocd/commands/app_resources.go:562-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/argocd/commands/app_resources.go:80\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/argocd/commands/app_resources.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e52e1c866cd2ef74ad29f70e247d126b951ce71d526c9a952d90e6a9f6c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/argocd/commands/cluster.go:357-364 | cmd/argocd/commands/cluster.go:438-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/cluster.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a1405e58f3c54258011967973d4184e611b9d3f9503986761eb4c8a9e33db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/argocd/commands/login.go:172-181 | cmd/argocd/commands/relogin.go:85-94 \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/argocd/commands/login.go:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/login.go:170\u0060 calls \u0060passwordLogin\u0060 and \u0060cmd/argocd/commands/relogin.go:84\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/argocd/commands/login.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4de3fb01926b1dd8d4f26e40e9c0f7b1eacb71b30c0c317477d612362486f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): controller/sharding/cache.go:298-305 | controller/sharding/sharding.go:246-253 \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 \u0060controller/sharding/cache.go:298\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":"controller/sharding/cache.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b753675923ec7ca489fa3030e3cd37e0386557c0318c35a2a2db2f2a9cee4206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): gitops-engine/pkg/cache/cluster.go:1378-1385 | gitops-engine/pkg/cache/cluster.go:1393-1399 \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 \u0060gitops-engine/pkg/cache/cluster.go:1378\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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1da0afda94b6d12871433bebecb9f10e9667b2d61a8aedfaccb0d2cfa22773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gitops-engine/pkg/sync/sync_context.go:632-639 | gitops-engine/pkg/sync/sync_context.go:753-760 \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":"gitops-engine/pkg/sync/sync_context.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863e0564a25884c7561f37d334cefc36330f95722d3fdc12a470d6219c0b383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): hack/gen-resources/cmd/commands/cmd.go:62-69 | hack/gen-resources/cmd/commands/cmd.go:101-107 \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":"hack/gen-resources/cmd/commands/cmd.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fbfc946ac9b46c7a47b049aa53b0842863d69c428390ef053c783f8cdb9b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): reposerver/repository/repository.go:934-941 | reposerver/repository/repository.go:2684-2691 \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 \u0060reposerver/repository/repository.go:934\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":"reposerver/repository/repository.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3dbbc904e7999d2c4a1dd59d6b4e0bc2446f243c83c519246ad3eff13b7a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): reposerver/repository/repository.go:3367-3374 | reposerver/repository/repository.go:3439-3446 | reposerver/repository/repository.go:3513-3516 \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 \u0060reposerver/repository/repository.go:3367\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":"reposerver/repository/repository.go"},"region":{"startLine":3367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aa5e30801956bddfdd269f766d5985c714ad446cd091f38575fa1dc4c10222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): reposerver/repository/repository.go:3772-3779 | reposerver/repository/repository.go:3858-3865 \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":"reposerver/repository/repository.go"},"region":{"startLine":3772}}}],"partialFingerprints":{"codehealthFindingId/v1":"100bcfcdb8a8b15631013c8fbfb7f7ea345029e2725176fd8441c61d67839b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/application/application.go:1020-1027 | server/applicationset/applicationset.go:590-597 \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 \u0060server/application/application.go:1020\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":"server/application/application.go"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5521c88e0afa3b5af82fb2a7e3fc3e89bfa44b3dba4ce1ddf99e9873e6af2742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/application/application.go:1743-1750 | server/application/application.go:1773-1780 \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":"server/application/application.go"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db1d6c354449e44990c4065b206593dcc7f3a4759344ca9c095b02bded1099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/repository/repository.go:160-167 | server/repository/repository.go:625-632 \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":"server/repository/repository.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dcc3f44ed61aa35a68ea90ec75c8db58415496dba1db4470662be44061a419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): cmd/argocd/commands/account.go:171-177 | cmd/argocd/commands/account.go:227-233 | cmd/argocd/commands/app.go:869-875 | cmd/argocd/commands/app.go:2753-2759 | cmd/argocd/commands/app.go:3054-3060 | cmd/argocd/commands/app.go:3081-3087 | cmd/argocd/commands/app.go:3152-3158 | cmd/argocd/commands/cluster.go:586-592 | cmd/argocd/commands/project_role.go:641-647 | cmd/argocd/commands/project_role.go:672-678 | cmd/argocd/commands/relogin.go:36-42 \u2014 there are 11 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 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/account.go:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/account.go:164\u0060 calls \u0060Examples\u0060 and \u0060cmd/argocd/commands/app.go:2752\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/argocd/commands/account.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d011351c810c3df1924e3d41b46719157d4727a5a471e41a6a06721a717fa8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): cmd/argocd/commands/app.go:870-876 | cmd/argocd/commands/app.go:3055-3061 | cmd/argocd/commands/app.go:3082-3089 | cmd/argocd/commands/app.go:3153-3159 | cmd/argocd/commands/app_actions.go:79-85 | cmd/argocd/commands/app_actions.go:173-179 | cmd/argocd/commands/app_resources.go:73-80 | cmd/argocd/commands/app_resources.go:320-326 | cmd/argocd/commands/app_resources.go:389-395 \u2014 there are 9 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 9 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/app.go:852\u0060 calls \u0060Examples\u0060 and \u0060cmd/argocd/commands/app.go:3053\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/argocd/commands/app.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7669640bcd6c52bd9a33a5281aa36a5ebf7bd23b6073ee361460bfdc2990c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): cmd/argocd/commands/app.go:579-585 | cmd/argocd/commands/applicationset.go:90-96 | cmd/argocd/commands/applicationset.go:153-159 | cmd/argocd/commands/applicationset.go:262-268 | cmd/argocd/commands/applicationset.go:392-398 | cmd/argocd/commands/project.go:157-163 | cmd/argocd/commands/project.go:841-847 | cmd/argocd/commands/repocreds.go:231-237 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/app.go:579\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/argocd/commands/app.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c79a6e18ef1862260337046d1018e0a8a8a9ac23319f3b7d14be3f2980c3f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): cmd/argocd/commands/app.go:389-396 | cmd/argocd/commands/app.go:583-589 | cmd/argocd/commands/app.go:3197-3205 | cmd/argocd/commands/app.go:3345-3353 \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 \u0060cmd/argocd/commands/app.go:389\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":"cmd/argocd/commands/app.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d466bcf8bcef3cfffa7251bc32ef02ca8f98e8dbee2386e10a1830b3bb9867bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): util/cert/cert.go:131-137 | util/cert/cert.go:197-203 | util/git/creds.go:416-422 | util/helm/cmd.go:244-250 \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 \u0060util/cert/cert.go:131\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":"util/cert/cert.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d993e8e9554c5002cd192365bb5845c79fdc0ff39aef48c42d75be99416a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/argocd/commands/admin/settings.go:395-401 | cmd/argocd/commands/admin/settings.go:493-499 | cmd/argocd/commands/admin/settings.go:526-532 \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/argocd/commands/admin/settings.go:395\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/argocd/commands/admin/settings.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"938a585698d86f8eb21ba2fae20f76f0f2d48bd3714cc6231b4051ba0c315e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/argocd/commands/project_source_integrity.go:113-119 | cmd/argocd/commands/project_source_integrity.go:274-280 | cmd/argocd/commands/project_source_integrity.go:379-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/project_source_integrity.go:113\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/argocd/commands/project_source_integrity.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30d578fa5ee1eeebfc710c4ae9ba82a1bc187c17a4fa9f581621eda1ab424e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/argocd/commands/project_source_integrity.go:125-131 | cmd/argocd/commands/project_source_integrity.go:190-196 | cmd/argocd/commands/project_source_integrity.go:392-398 \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":"cmd/argocd/commands/project_source_integrity.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b6f7491b1788bc298b5b9e134196b83d03f271e5a93445a38f23fa678ff15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): applicationset/controllers/applicationset_controller.go:575-582 | applicationset/controllers/applicationset_controller.go:1219-1226 \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 \u0060applicationset/controllers/applicationset_controller.go:575\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"995efb379b6f2e55928642e2d1426439f06166c64db0e6edbd61567d95c4312c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/argocd-application-controller/commands/argocd_application_controller.go:154-162 | cmd/argocd-applicationset-controller/commands/applicationset_controller.go:225-231 \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/argocd-application-controller/commands/argocd_application_controller.go:154\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"157f95f1c9c8c73da75e81ad8ca26d1023c243fa4866211cb4b207d1e7a1a754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/argocd/commands/admin/settings.go:534-541 | cmd/argocd/commands/admin/settings.go:599-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/argocd/commands/admin/settings.go:534\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/argocd/commands/admin/settings.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d621e75e05a48e2001d295266b4e4cac419b35a5d9027969744d09d61b8ee90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/argocd/commands/app.go:984-990 | cmd/argocd/commands/app.go:3262-3268 \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/argocd/commands/app.go:984\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/argocd/commands/app.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7a2a9957efbcafc7c5f8c79c229c27efac001bce9fd0591cd95d85a4d688ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/argocd/commands/app.go:1290-1296 | cmd/argocd/commands/app.go:1633-1639 \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/argocd/commands/app.go:1290\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/argocd/commands/app.go"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ac90fc98b8c92ba0264e5a6194fea065897ab57b68387ae457de3bffac5abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controller/appcontroller.go:1107-1113 | controller/appcontroller.go:2986-2992 \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 \u0060controller/appcontroller.go:1107\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":"controller/appcontroller.go"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597a14ab0c02fa4a58a19eb21fdeda1048c15e58d98d4334ef8dcf3ca448d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): reposerver/repository/repository.go:1005-1011 | reposerver/repository/repository.go:1080-1086 \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 \u0060reposerver/repository/repository.go:1005\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":"reposerver/repository/repository.go"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bac5e48ab115533dc5b948605d38ace21c530299fc642ae923547e9342e19c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/application/application.go:422-429 | server/applicationset/applicationset.go:348-354 \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":"server/application/application.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc9706a8d51c4cd72a7b59255da974d9141de04232f8936dad9fdc0c0ca404c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/application/application.go:2252-2258 | server/application/application.go:2400-2406 \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":"server/application/application.go"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25bd0c8a8ec2a0ac5b6e0aa1194ad4a3ff084210c984e2e0ea7fe4950a68a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/application/application.go:2298-2304 | server/application/application.go:2323-2329 \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 \u0060server/application/application.go:2298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fd705cbd66b426dee2c8f1dee8bb5765c2ff7f9b4ff635f5c2e0b5961a31d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/repository/repository.go:287-294 | server/repository/repository.go:338-344 \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":"server/repository/repository.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4642e52c74f1912e3dcd9ce52d03f407557e2d3d27a63a24b592c10927fd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 32): cmd/argocd/commands/account.go:91-97 | cmd/argocd/commands/account.go:426-432 | cmd/argocd/commands/app.go:3194-3199 | cmd/argocd/commands/app.go:3341-3347 | cmd/argocd/commands/app_resources.go:555-560 | cmd/argocd/commands/project.go:196-202 | cmd/argocd/commands/project.go:241-247 | cmd/argocd/commands/project.go:297-303 | cmd/argocd/commands/project.go:338-344 | cmd/argocd/commands/project.go:386-392 | cmd/argocd/commands/project.go:436-442 | cmd/argocd/commands/project.go:485-491 | cmd/argocd/commands/project.go:527-533 | cmd/argocd/commands/project.go:565-571 | cmd/argocd/commands/project.go:797-803 | cmd/argocd/commands/project.go:1080-1086 | cmd/argocd/commands/project.go:1121-1127 | cmd/argocd/commands/project.go:1193-1199 | cmd/argocd/commands/project.go:1245-1251 | cmd/argocd/commands/project_role.go:233-239 | cmd/argocd/commands/project_role.go:270-276 | cmd/argocd/commands/project_role.go:334-340 | cmd/argocd/commands/project_role.go:402-408 | cmd/argocd/commands/project_role.go:480-486 | cmd/argocd/commands/project_role.go:542-548 | cmd/argocd/commands/project_role.go:587-593 | cmd/argocd/commands/projectwindows.go:63-69 | cmd/argocd/commands/projectwindows.go:216-222 | cmd/argocd/commands/projectwindows.go:263-269 | cmd/argocd/commands/projectwindows.go:316-322 | cmd/argocd/commands/projectwindows.go:372-378 | cmd/argocd/commands/repo.go:449-455 \u2014 there are 32 copies across 7 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 32 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/account.go:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/app_resources.go:542\u0060 calls \u0060Examples\u0060 and \u0060cmd/argocd/commands/app.go:3340\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/argocd/commands/account.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"49634821362a93a97de658fea215720e19238df98c0205b68c912566baef1895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 18): cmd/argocd/commands/account.go:171-177 | cmd/argocd/commands/account.go:227-233 | cmd/argocd/commands/app.go:869-875 | cmd/argocd/commands/app_resources.go:555-560 | cmd/argocd/commands/project.go:297-303 | cmd/argocd/commands/project.go:338-344 | cmd/argocd/commands/project.go:386-392 | cmd/argocd/commands/project.go:436-442 | cmd/argocd/commands/project.go:485-491 | cmd/argocd/commands/project.go:527-533 | cmd/argocd/commands/project.go:565-571 | cmd/argocd/commands/project.go:797-803 | cmd/argocd/commands/project.go:1080-1086 | cmd/argocd/commands/project.go:1121-1127 | cmd/argocd/commands/project.go:1193-1199 | cmd/argocd/commands/project.go:1245-1251 | cmd/argocd/commands/project_role.go:233-239 | cmd/argocd/commands/project_role.go:542-548 \u2014 there are 18 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 18 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/account.go:171\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/argocd/commands/project.go:306\u0060 calls \u0060buildApplicationDestination\u0060 and \u0060cmd/argocd/commands/project.go:494\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/argocd/commands/account.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb45f6e62fbd7e7140ecc037ed029aa769820092432b1b59a18da615779217ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): cmd/argocd/commands/app.go:2809-2814 | cmd/argocd/commands/cluster.go:356-362 | cmd/argocd/commands/cluster.go:437-443 | cmd/argocd/commands/repo.go:305-311 | cmd/argocd/commands/repocreds.go:231-237 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/app.go:2809\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/argocd/commands/repocreds.go:227\u0060 calls \u0060Examples\u0060 and \u0060cmd/argocd/commands/app.go:2808\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/argocd/commands/app.go"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ffa18bc237549a8115e0fcbb004179406bb9c881f716e23bfc5b260c6789fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): controller/appcontroller.go:504-509 | controller/appcontroller.go:561-566 | controller/appcontroller.go:693-698 | controller/state.go:453-456 \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 \u0060controller/appcontroller.go:504\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":"controller/appcontroller.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"25766b3564ba7a78a829368e995417bb7ca15f00f604e278d4f7025afc4418a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): controller/appcontroller.go:1108-1113 | controller/appcontroller.go:1638-1643 | controller/appcontroller.go:2987-2992 \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 \u0060controller/appcontroller.go:1108\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":"controller/appcontroller.go"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ec3455b9cc50661b77f07ca16f7a5e1137336f9697d8ef26f394a921988aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): server/project/project.go:342-348 | server/project/project.go:505-511 | server/project/project.go:535-541 \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":"server/project/project.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ec53a6dab212432723c3d2b5f048d5109ea918bbbf1edc3e5697fbac4d468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/argocd-notification/commands/argocd_notification.go:129-134 | cmd/argocd/commands/admin/notifications.go:58-63 \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/argocd-notification/commands/argocd_notification.go:129\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/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7579b572e7dcdee56b0c9655985df3e93ad777eda83dfb948615fb8a12caae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/argocd/commands/admin/app.go:293-298 | cmd/argocd/commands/headless/headless.go:137-142 \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/argocd/commands/admin/app.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fcd95b36e97fef80734875fd11bf0158ebd11ed0a007fc8c31632ed97edbf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/argocd/commands/admin/repo.go:160-165 | cmd/argocd/commands/repo.go:223-228 \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/argocd/commands/admin/repo.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbae355baedab8d007f76bd0b707bc0a5037dd87e8d66482bfa4f9379d7b7ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmpserver/apiclient/clientset.go:47-52 | reposerver/apiclient/clientset.go:130-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060reposerver/apiclient/clientset.go:128\u0060 calls \u0060UnaryClientInterceptor\u0060, \u0060Duration\u0060 and \u0060cmpserver/apiclient/clientset.go:46\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":"cmpserver/apiclient/clientset.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf28a69c820c097dd2e0c5145effd9d812d54551ead4372b78da370ec5073768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): reposerver/repository/repository.go:3353-3358 | reposerver/repository/repository.go:3425-3430 \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 \u0060reposerver/repository/repository.go:3353\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":"reposerver/repository/repository.go"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f98034f3a8e6766c0bdf06fbf6aca4947aee9c04fcec5f1707a5cb0f91d57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): cmd/argocd/commands/project.go:211-215 | cmd/argocd/commands/project.go:307-311 | cmd/argocd/commands/project.go:494-498 | cmd/argocd/commands/project.go:536-540 | cmd/argocd/commands/project.go:1214-1218 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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/argocd/commands/project.go:306\u0060 calls \u0060buildApplicationDestination\u0060 and \u0060cmd/argocd/commands/project.go:493\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/argocd/commands/project.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1b3813fef3fce6c9d53b23a541247d802af1c30372019fe1539bd6a7cc575e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/argocd-dex/commands/argocd_dex.go:140-144 | cmd/argocd-dex/commands/argocd_dex.go:206-210 \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/argocd-dex/commands/argocd_dex.go:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/argocd-dex/commands/argocd_dex.go:212\u0060 calls \u0060Flags\u0060, \u0060StringVarP\u0060 and \u0060cmd/argocd-dex/commands/argocd_dex.go:146\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/argocd-dex/commands/argocd_dex.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7b0369271223708e9b53eb699fd8a85182ed2a54ed4b51601e7b146352148f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/argocd/commands/tree.go:107-111 | cmd/argocd/commands/tree.go:127-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/tree.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf82f825eb48b590a9b08c0f870ccc3271f12e73cfd8f89d91576c48d43b6335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gitops-engine/pkg/cache/legacy_engine.go:170-174 | gitops-engine/pkg/cache/legacy_engine.go:322-326 \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 \u0060gitops-engine/pkg/cache/legacy_engine.go:170\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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"821d152556290fd26c8a21b068e10dbb088b5147150d9df93faff77143f2b7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/application/application.go:1882-1886 | server/application/application.go:3154-3158 \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 \u0060server/application/application.go:1882\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":"server/application/application.go"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de96988278ef12e803629aaf06ca4539812becd8e1d1206e359c828226dea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/project/project.go:113-117 | server/project/project.go:232-238 \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 \u0060server/project/project.go:113\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":"server/project/project.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d898df979fb7999cfc8f769a90a1efbe17bdae47211fff4aa617d8f3b4265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): util/webhook/push.go:36-40 | util/webhook/push.go:58-62 \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":"util/webhook/push.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a8c973d2f4b51bc517fde979315e00d5a549f56a31b2f9b39bdb984f7468e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): applicationset/generators/git.go:60-89 | applicationset/generators/oci.go:58-87 \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 \u0060applicationset/generators/oci.go:58\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, \u0060applicationset/generators/git.go:96\u0060 calls \u0060Contains\u0060, \u0060WithField\u0060, \u0060Infof\u0060 and \u0060applicationset/generators/oci.go:93\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/git.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6aa2d49d6cd20d9834c45d40164a4ff243b128991824666941153d7150f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmpserver/plugin/plugin.go:164-170 | util/exec/exec.go:122-128 \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 after the matched lines, \u0060util/exec/exec.go:130\u0060 calls \u0060String\u0060, \u0060Error\u0060 and \u0060cmpserver/plugin/plugin.go:172\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":"cmpserver/plugin/plugin.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231570e58f60c75d12bfdfe57839f24525e073c7ae8843ea02f633ea62674b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gitops-engine/pkg/health/health_deployment.go:72-80 | gitops-engine/pkg/health/health_replicaset.go:55-63 \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":"gitops-engine/pkg/health/health_deployment.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d0c3e76a99ecbe65248c3eb9aec76bc56cdd385a9c7a73dd64e732eb5df59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): util/cache/redis.go:222-227 | util/cache/redis_hook.go:20-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/cache/redis.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590c52ea801559ddba2bb34a827854400985c8714e696227d7a200bfeb44f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): util/hash/hash.go:13-17 | util/session/sessionmanager.go:113-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/hash/hash.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"46745b161c4b827d929b4f20476e758078eea9a0aa98b9c3fa43f23547721e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): applicationset/generators/duck_type.go:47-55 | applicationset/generators/git.go:50-56 | applicationset/generators/oci.go:36-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 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, \u0060applicationset/generators/duck_type.go:57\u0060 calls \u0060GetTemplate\u0060 and \u0060applicationset/generators/git.go:60\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":"applicationset/generators/duck_type.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e619a8f7833a72240620bb282720942de97d6d6935f7e9b08dadc627d99ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): applicationset/generators/plugin.go:41-49 | applicationset/generators/pull_request.go:40-48 | applicationset/generators/scm_provider.go:94-102 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060applicationset/generators/pull_request.go:50\u0060 calls \u0060GetContinueOnRepoNotFoundError\u0060 and \u0060applicationset/generators/plugin.go:51\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":"applicationset/generators/plugin.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3187471f613ac6fa762e83ef89d8042a95959e8e73a44079c39488264252833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): applicationset/services/pull_request/bitbucket_server.go:51-59 | applicationset/services/scm_provider/bitbucket_server.go:51-59 \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":"applicationset/services/pull_request/bitbucket_server.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"45533f7d52375188e79276383b0ca3b0b702af3764bf899be754584e7bb9d2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/app.go:1186-1196 | cmd/util/app.go:910-920 \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/argocd/commands/app.go"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"607eee825209fcbe9ae4726fc3fbc4bf22ee5ebd1b886ac33ed48f017eafd3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gitops-engine/pkg/cache/settings.go:134-141 | gitops-engine/pkg/engine/engine_options.go:33-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/cache/settings.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0462847fc8f02ddb0f9684383cda61c299790495a159f000f44b058f2c85d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gitops-engine/pkg/cache/settings.go:144-150 | gitops-engine/pkg/engine/engine_options.go:43-49 \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":"gitops-engine/pkg/cache/settings.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9648c36c7395d435fbce5a82f4ef2db50595fae50c708d3dd2a9b094e892913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): cmd/argocd/commands/account.go:84-96 | cmd/argocd/commands/account.go:421-431 | cmd/argocd/commands/app.go:969-989 | cmd/argocd/commands/app.go:3147-3157 | cmd/argocd/commands/app.go:3192-3198 | cmd/argocd/commands/app.go:3257-3267 | cmd/argocd/commands/cluster.go:270-277 | cmd/argocd/commands/cluster.go:584-591 | cmd/argocd/commands/project_role.go:269-275 | cmd/argocd/commands/project_role.go:577-592 | cmd/argocd/commands/projectwindows.go:196-221 | cmd/argocd/commands/projectwindows.go:257-268 | cmd/argocd/commands/projectwindows.go:312-321 | cmd/argocd/commands/projectwindows.go:363-377 \u2014 there are 14 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 14 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd/commands/account.go:84\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/argocd/commands/account.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34189cfdc68c08e29a2a1814c4706eb953fd3c5f21bae06225072a4dade643f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 2): gitops-engine/pkg/diff/diff.go:512-533 | gitops-engine/pkg/diff/diff.go:549-564 \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 \u0060gitops-engine/pkg/diff/diff.go:512\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":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e849f1817094548dde2935fccd94e94b082174f5b6f94e04fe5b1782ed86322a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/argocd/commands/admin/repo.go:137-149 | cmd/argocd/commands/repo.go:181-193 \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/argocd/commands/admin/repo.go:137\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/argocd/commands/admin/repo.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8133a24b2c6e02e72959e3095b2dcbc2e141ecd9e1df0aa9a68fcbfee35b4e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): applicationset/controllers/applicationset_controller.go:929-941 | applicationset/controllers/applicationset_controller.go:945-954 \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 \u0060applicationset/controllers/applicationset_controller.go:929\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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ec8a1b92d72b0afc318405aeeddce8af4e96a60a9533f1d075d3e6ebce444a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): util/db/repository_secrets.go:290-301 | util/db/repository_secrets.go:312-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 \u0060util/db/repository_secrets.go:290\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":"util/db/repository_secrets.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eed718c9334f8a0e08f2f78cbda49a4f051dfa8b686e684d5c9769750af765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/argocd-application-controller/commands/argocd_application_controller.go:115-126 | cmd/argocd-dex/commands/argocd_dex.go:55-66 \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 after the matched lines, \u0060cmd/argocd-application-controller/commands/argocd_application_controller.go:127\u0060 calls \u0060SetGLogLevel\u0060 and \u0060cmd/argocd-dex/commands/argocd_dex.go:69\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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b27cf2bbcfc1dede5afd89b174287f4809ceccd7e004804de4f7124aae9a08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): server/application/application.go:1069-1080 | server/application/application.go:2619-2630 \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 \u0060server/application/application.go:1069\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":"server/application/application.go"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea155a1be421cef04be3fd317381230c6e19c383fd24b38485a1d11cbe4b302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/admin/settings_rbac.go:188-198 | cmd/argocd/commands/admin/settings_rbac.go:281-291 \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/argocd/commands/admin/settings_rbac.go:188\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/argocd/commands/admin/settings_rbac.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c3bd88b447f91cdc1081987b8a3b460162ef13b50c53c5a0e08196ba53eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/argocd/commands/common.go:25-35 | cmd/argocd/commands/common.go:59-69 \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/argocd/commands/common.go:25\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/argocd/commands/common.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab308a9bbd7cb4eb84f7e8003ccb7fd01395075ae64fca1acecc24c027cf1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): util/helm/client.go:411-420 | util/helm/client.go:534-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/helm/client.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9b0b8f60542608796598155ad8e8db4e4077663d6a61860831dcd4fd9fec8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controller/hydrator/hydrator.go:230-239 | controller/hydrator/hydrator.go:265-274 \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 \u0060controller/hydrator/hydrator.go:230\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":"controller/hydrator/hydrator.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a747c9e9958e9a044cd86c5e38a0e4eefac4784efd8ce334737be359ee3405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd/commands/tree.go:78-86 | cmd/argocd/commands/tree.go:93-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 \u0060cmd/argocd/commands/tree.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/tree.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1748041f3ccc307710fddcdb1417a18e6d2855ca0c70fa5dfabdb81ccd810180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/argocd/commands/tree.go:113-121 | cmd/argocd/commands/tree.go:134-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 \u0060cmd/argocd/commands/tree.go:113\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/argocd/commands/tree.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb04629988b4636386c9391b1cfdefc6775efb48a6cf020387ba890e8851b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): util/helm/cmd.go:341-349 | util/helm/cmd.go:356-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060util/helm/cmd.go:341\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":"util/helm/cmd.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcfc7b9fbd6efaedfb3c063abc00f123632549db128077d8c71d4c0f36f445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): hack/gen-catalog/main.go:203-210 | hack/gen-catalog/main.go:227-234 \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":"hack/gen-catalog/main.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf04eea5bfd78a3ed56a2c10d5f4ae0aef60984d638f5cc3259677d680538260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): reposerver/repository/repository.go:1104-1111 | reposerver/repository/repository.go:1119-1126 \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, \u0060reposerver/repository/repository.go:1100\u0060 calls \u0060now\u0060, \u0060Unix\u0060 and \u0060reposerver/repository/repository.go:1118\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":"reposerver/repository/repository.go"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a4a43b0c9eee4a25845a90c780d8ed78530ef9693d3ffee39b0c9926d277ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): util/kube/kube.go:25-31 | util/kube/kube.go:103-110 \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":"util/kube/kube.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc09eb8011024f57325ce76e06ccad796aeceb981d14d03b108001b8f722d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmpserver/plugin/plugin.go:230-237 | cmpserver/plugin/plugin.go:403-409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmpserver/plugin/plugin.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5810a974b55b04f9572800f0a3f3c9395cc2986a8cb0554433e312fcc35c4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): reposerver/repository/repository.go:434-441 | reposerver/repository/repository.go:504-511 \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 \u0060reposerver/repository/repository.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":"reposerver/repository/repository.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0f1f7bfe8f3a13d5275a2e21ad8889d4b49bbf7db4e5bac59f7197db120a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/argocd/commands/admin/backup.go:322-329 | cmd/argocd/commands/admin/backup.go:356-363 \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/argocd/commands/admin/backup.go:322\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/argocd/commands/admin/backup.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6386d2383e1c1df525bfddeb52ba8ccbb3999d690e900ba8f7d16a7139c160bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): applicationset/controllers/applicationset_controller.go:1254-1261 | applicationset/controllers/applicationset_controller.go:1265-1272 \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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e096bbec219437e3e3911e11d5bd53d4cf62d478cc0072b958b268896cf8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmpserver/plugin/plugin.go:310-317 | cmpserver/plugin/plugin.go:396-403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmpserver/plugin/plugin.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41a2ca5663563956b1d4d1463152d6e4db73d10013a2aa72a12f6c132055681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/argocd/commands/app.go:1471-1477 | cmd/argocd/commands/applicationset.go:359-365 \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/argocd/commands/app.go:1471\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/argocd/commands/app.go"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e42da27c431d3e1a91a762922641a7aa2a6eb34d6c997bdbbae84d09af39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gitops-engine/pkg/cache/legacy_engine.go:142-148 | gitops-engine/pkg/cache/legacy_engine.go:231-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"gitops-engine/pkg/cache/legacy_engine.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40f747351a6d3b1fc4f54944ea62f12d50d86742f4ad2d73f2ac2d54dd8a91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/application/application.go:1339-1345 | server/applicationset/applicationset.go:122-128 \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 \u0060server/application/application.go:1339\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":"server/application/application.go"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"930a571f5fe0d4b6963612935594aafe9c339f1f516f0b13e3286dc544dc284c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/argocd-commit-server/commands/argocd_commit_server.go:123-129 | cmd/argocd-repo-server/commands/argocd_repo_server.go:260-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/argocd-commit-server/commands/argocd_commit_server.go:123\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, \u0060cmd/argocd-repo-server/commands/argocd_repo_server.go:268\u0060 calls \u0060Flags\u0060, \u0060Int64Var\u0060, \u0060ParseNumFromEnv\u0060 and \u0060cmd/argocd-commit-server/commands/argocd_commit_server.go:131\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/argocd-commit-server/commands/argocd_commit_server.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d97d146475820248cd8d72e76c860dd87e940f12e36a8659012f5396325f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): controller/appcontroller.go:1962-1967 | controller/appcontroller.go:1998-2002 \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 \u0060controller/appcontroller.go:1962\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, \u0060controller/appcontroller.go:1968\u0060 calls \u0060isOperationStatePayloadTooLargeError\u0060 and \u0060controller/appcontroller.go:2003\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":"controller/appcontroller.go"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"135dea124ca5f77d6a607f492491480fbb7a0a6495ffee77feca8839a8b8f537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gitops-engine/pkg/utils/kube/resource_ops.go:266-270 | gitops-engine/pkg/utils/kube/resource_ops.go:340-344 \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 \u0060gitops-engine/pkg/utils/kube/resource_ops.go:266\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":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"de68263cff2b27ed49ea563c0267a3b98a1d40c03ed34dc18a4df395d96aa127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): util/exec/exec.go:270-274 | util/exec/exec.go:284-288 \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":"util/exec/exec.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc4fc08b846084a5009bae214c314f2803f695cd7740596e96da852d1f54a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/argocd/commands/app.go:1255-1260 | cmd/argocd/commands/app_diff.go:777-782 \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/argocd/commands/app.go"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab000cb7da717652ce8bcb79fead0b29cf1c1d4ad92fed0b829bad8d46deec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/argocd/commands/projectwindows.go:238-242 | cmd/argocd/commands/projectwindows.go:347-351 \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/argocd/commands/projectwindows.go:237\u0060 calls \u0060Flags\u0060, \u0060StringVarP\u0060 and \u0060cmd/argocd/commands/projectwindows.go:346\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/argocd/commands/projectwindows.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"db309a52de8b1abdcfcdd4ffdc6b28ba05b901ef168eb9b54c6e37900cd38b4e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/argoproj/argo-cd/gitops-engine/v3: github.com/argoproj/argo-cd/gitops-engine/v3: abstractness 0.20, instability 0.00, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bfa2df57e4c53e0dd0b8de5f01b3f805ae4f2e78c5f91a654ab580d0e3a7fd65"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Application (LCOM4 10): Application\u0027s methods fall into 10 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 10 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/apis/application/v1alpha1/types.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279fc382634f7a04a0a5cb46c356560c597e9f07b8be9e9154a0694a569800c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockKubectlCmd (LCOM4 6): MockKubectlCmd\u0027s methods fall into 6 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 6 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":"gitops-engine/pkg/utils/kube/kubetest/mock.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2a764c9ab36477c193ea194b86e463e6ae48f2d271ae0cbb03fb54a75690a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders without crashing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/form/__tests__/compat.test.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a982371dc2d1f379ef81b0177598e6f1f822a12c7c548d7b87a3776045863a6"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): a failed cluster list is not an unhandled rejection outside the summary view: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/applications-list.test.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cee9b7711d134679b6367b48c8da102033a8be1b7aa4573bc09bacd4a5028d4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: only reports a refresh as successful when the refetch succeeds: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.test.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68f5ede3c3cb44cc271ecc7de22bb006083f6078bf2dfb6d3dcc6e96ffd680f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: notifies when removing a certificate fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/certs-list/certs-list.test.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed236d4b8c7e287031dd486651e4c88888043a0ea6063ecb487ddc133e516f50"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/davecgh/go-spew: Direct dependency \u0060github.com/davecgh/go-spew\u0060 is required at \u0060v1.1.2-0.20180830191138-d8f796af33cc\u0060 in gitops-engine/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2018-08-30, 8.2 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/davecgh/go-spew\u0060 and has not moved this requirement in 8.2 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/davecgh/go-spew\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bb8c6d80b56888e83f1e40106647202a202f2f81695ac44c7eeafe54ef5a4f0"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/gogits/go-gogs-client: Direct dependency \u0060github.com/gogits/go-gogs-client\u0060 is required at \u0060v0.0.0-20210131175652-1d7215cd8d85\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2021-01-31, 5.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/gogits/go-gogs-client\u0060 and has not moved this requirement in 5.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/gogits/go-gogs-client\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":"0b7d030f5c9ad07b30c7a966bfea17db07522a2591e03af5692732dfe1639839"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/google/shlex: Direct dependency \u0060github.com/google/shlex\u0060 is required at \u0060v0.0.0-20191202100458-e7afc7fbc510\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-12-02, 6.9 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/google/shlex\u0060 and has not moved this requirement in 6.9 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/google/shlex\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":"393f56a0f4acccb36553d9860d5e0c6e212b1104845cd37f996783fc5836e24c"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/improbable-eng/grpc-web: Direct dependency \u0060github.com/improbable-eng/grpc-web\u0060 is required at \u0060v0.15.1-0.20230209220825-1d9bbb09a099\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2023-02-09, 3.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/improbable-eng/grpc-web\u0060 and has not moved this requirement in 3.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/improbable-eng/grpc-web\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":"ceba25e941739553bcd08f2bcc1a018fde0d1b7fdf00a4c58a7ab6e71de73fdf"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/jeremywohl/flatten: Direct dependency \u0060github.com/jeremywohl/flatten\u0060 is required at \u0060v1.0.2-0.20211013061545-07e4a09fb8e4\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2021-10-13, 5.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/jeremywohl/flatten\u0060 and has not moved this requirement in 5.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/jeremywohl/flatten\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":"1d9448b23d701a3136d78f210d47a7bad45fc906964b5432d022be41a0c256e0"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/kballard/go-shellquote: Direct dependency \u0060github.com/kballard/go-shellquote\u0060 is required at \u0060v0.0.0-20180428030007-95032a82bc51\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2018-04-28, 8.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/kballard/go-shellquote\u0060 and has not moved this requirement in 8.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/kballard/go-shellquote\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":"3de3a47e4c18b4f2d61a7422838abd8127082e3b2fb25218679bc2314cacb3ac"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/minio/blake2b-simd: Direct dependency \u0060github.com/minio/blake2b-simd\u0060 is required at \u0060v0.0.0-20160723061019-3f5f724cb5b1\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2016-07-23, 10.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 \u0060github.com/minio/blake2b-simd\u0060 and has not moved this requirement in 10.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 \u0060github.com/minio/blake2b-simd\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":"a28f2e6f200466361f79d340adac53c9421873ca032b4123ed8184f31d588430"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/patrickmn/go-cache: Direct dependency \u0060github.com/patrickmn/go-cache\u0060 is required at \u0060v2.1.1-0.20191004192108-46f407853014\u002Bincompatible\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-10-04, 7.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/patrickmn/go-cache\u0060 and has not moved this requirement in 7.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/patrickmn/go-cache\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":"f427af3f2fbbb74ae910a99979a66a5c7ef70affd8b3151e9d36b46916ce1907"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/robfig/cron/v3: Direct dependency \u0060github.com/robfig/cron/v3\u0060 is required at \u0060v3.0.2-0.20210106135023-bc59245fe10e\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2021-01-06, 5.9 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/robfig/cron/v3\u0060 and has not moved this requirement in 5.9 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/robfig/cron/v3\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":"9626e298ae9549db17ae2f7f3b4248194a0820290b999e282b621b27db3deb94"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/skratchdot/open-golang: Direct dependency \u0060github.com/skratchdot/open-golang\u0060 is required at \u0060v0.0.0-20200116055534-eef842397966\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2020-01-16, 6.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/skratchdot/open-golang\u0060 and has not moved this requirement in 6.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/skratchdot/open-golang\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":"3025a280e132b09af6ad1eccd044c5e9408035a88d1b8a473fe94a442c0e4fcb"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: layeh.com/gopher-json: Direct dependency \u0060layeh.com/gopher-json\u0060 is required at \u0060v0.0.0-20190114024228-97fed8db8427\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-01-14, 7.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060layeh.com/gopher-json\u0060 and has not moved this requirement in 7.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060layeh.com/gopher-json\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":"5fa361166d3c2cb80453479acf2bc29ddccafc2eafdc34c7e8b82099250d91a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controller/appcontroller.go: controller/appcontroller.go changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in ApplicationController.finalizeApplicationDeletion at line 1367. 7 of those changes were fix/bug commits, and the other 8 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- controller/appcontroller.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":"controller/appcontroller.go"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1db9968ec2002b64e93d9cfbda10df8e2ca7965770888219c5f8045157db14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd/commands/app.go: cmd/argocd/commands/app.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in commands.NewApplicationSyncCommand at line 1711. 4 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd/commands/app.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/argocd/commands/app.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b0672ec5bf253087dc04b5dfa29b066e4e2a54d4b47ff4d500eca51712f520"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controller/state.go: controller/state.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in appStateManager.CompareAppState at line 682. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- controller/state.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":"controller/state.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a89e0ac83b032a96bf6e56da65f1f9d1474dd774c640cadb75206afa26de00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: reposerver/repository/repository.go: reposerver/repository/repository.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Service.runManifestGenAsync at line 871. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- reposerver/repository/repository.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":"reposerver/repository/repository.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"918fdf19d71eff61ae5a42a7fad311ba89be2eeb8b553c75490e5ee9986957b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: applicationset/controllers/applicationset_controller.go: applicationset/controllers/applicationset_controller.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in ApplicationSetReconciler.Reconcile at line 119. 1 of those changes was a fix/bug commit, 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- applicationset/controllers/applicationset_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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa11b90eb8c81f493ce9b7bc3dbde0ef38d027dfc9da2faf047d233f308971"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/apiclient/apiclient.go: pkg/apiclient/apiclient.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in apiclient.NewClientWithContext at line 223. 4 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- pkg/apiclient/apiclient.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":"pkg/apiclient/apiclient.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ef48cb61bf770615b58d0f9df95d74d60701bd716cdd38a6fc2fdfb87a16ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/apis/application/v1alpha1/types.go: pkg/apis/application/v1alpha1/types.go changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Cluster.rawRestConfig at line 4394. 3 of those changes were fix/bug commits, and the other 9 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- pkg/apis/application/v1alpha1/types.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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":4394}}}],"partialFingerprints":{"codehealthFindingId/v1":"690590645907baa363d3dd79366c3d14a3de99bdab4c5799334c5c097d0d7887"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: util/kustomize/kustomize.go: util/kustomize/kustomize.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in kustomize.Build at line 124. 4 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- util/kustomize/kustomize.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":"util/kustomize/kustomize.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2c213945e20d49924b85ce491842e41aa94615d3aa57058f7b4eb5fd2e967"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: util/git/client.go: util/git/client.go changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in nativeGitClient.resolveRevisionWithOptions at line 1285. 5 of those changes were fix/bug commits, and the other 7 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- util/git/client.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":"util/git/client.go"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac93b76e980d0dc0e7bcec404b944cb6c7ced0d66c124cb74d6ea4243c633fae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: gitops-engine/pkg/cache/cluster.go: gitops-engine/pkg/cache/cluster.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in store.GetManagedLiveObjs at line 1309. 4 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- gitops-engine/pkg/cache/cluster.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":"gitops-engine/pkg/cache/cluster.go"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a7bf50076b8875ef443a7465b723af11f09e2e9255683b45e9a1abc30c57cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: util/dex/config.go: util/dex/config.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in dex.GenerateDexConfigYAML at line 20. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- util/dex/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":"util/dex/config.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e03d76f191fec31c964d6f4ab3ea99790cd88b2ff607b837730b9c2cd8fca6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: util/exec/exec.go: util/exec/exec.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in exec.RunCommandExt 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- util/exec/exec.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":"util/exec/exec.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2107fe7a0d2e1acf25eef95845747cc9805041f6b15016edf80752d3cca67e30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controller/metrics/metrics.go: controller/metrics/metrics.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in appCollector.collectApps at line 489. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- controller/metrics/metrics.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":"controller/metrics/metrics.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8518a804ff60a5944237c87108d4025de3ac15333c021eae3b12ca59001b757d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/badge/badge.go: server/badge/badge.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Handler.ServeHTTP at line 93. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- server/badge/badge.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":"server/badge/badge.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d445a64a5d259c955aaa245ebe3f665129134366d5eb7f57ee92adf9faaf984"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: util/git/creds.go: util/git/creds.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SSHCreds.Environ at line 407. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- util/git/creds.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":"util/git/creds.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e4fa594661eb6fc876801e4a8feab62bf8ad5bcc3b05776024da4296f5a4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd-repo-server/commands/argocd_repo_server.go: cmd/argocd-repo-server/commands/argocd_repo_server.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in commands.NewCommand at line 54. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd-repo-server/commands/argocd_repo_server.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/argocd-repo-server/commands/argocd_repo_server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e374ba1b444230695144ade1b870f1f1e480a60d7832b8dec052d410a133d75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd/commands/login.go: cmd/argocd/commands/login.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in commands.NewLoginCommand at line 43. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd/commands/login.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/login.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"664dc3f9ee806e35536587be2c0de8da732f406cde8f953b197bc9d22b2b8db2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd-applicationset-controller/commands/applicationset_controller.go: cmd/argocd-applicationset-controller/commands/applicationset_controller.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in command.NewCommand at line 57. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd-applicationset-controller/commands/applicationset_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":"cmd/argocd-applicationset-controller/commands/applicationset_controller.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a358b35f709123f4f87460fd575c97baec823d65a9f43d3860518bfc1020d0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd-application-controller/commands/argocd_application_controller.go: cmd/argocd-application-controller/commands/argocd_application_controller.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in commands.NewCommand at line 52. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd-application-controller/commands/argocd_application_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":"cmd/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"486fafbc9c80609fe7bd9dfdb4552a546fc810f1bb999edaeca1cbd50d840eea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd/commands/app_diff.go: cmd/argocd/commands/app_diff.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in commands.NewApplicationDiffCommand at line 624. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd/commands/app_diff.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/argocd/commands/app_diff.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"df495f794b5203fdb17b964a022d402d80ed2aafb226c44178b23c91aa804016"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd/commands/cluster.go: cmd/argocd/commands/cluster.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in commands.NewClusterAddCommand 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd/commands/cluster.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/argocd/commands/cluster.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e8ddf42fc00f366ccb61b1478aaf9dcc1d21edd2a14483868372341909130"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/apis/application/v1alpha1/app_project_types.go: pkg/apis/application/v1alpha1/app_project_types.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AppProject.isDestinationMatched at line 507. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- pkg/apis/application/v1alpha1/app_project_types.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":"pkg/apis/application/v1alpha1/app_project_types.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd490db71d40ab783eb14ada8c48365780273ad806766e84c6f6b659103ddf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd-server/commands/argocd_server.go: cmd/argocd-server/commands/argocd_server.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in commands.NewCommand at line 57. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd-server/commands/argocd_server.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/argocd-server/commands/argocd_server.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"579e2e3c2d38a4c8db6d138d3bd61ff430e8063c4e23754e0bc73f5d97d179d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/argocd-notification/commands/argocd_notification.go: cmd/argocd-notification/commands/argocd_notification.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in commands.NewCommand at line 38. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- cmd/argocd-notification/commands/argocd_notification.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/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"97170fe0f5f47a3b092a11594fcabf4341191ebc57b04b119a21a51ca250d60c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/apiclient/grpcproxy.go: pkg/apiclient/grpcproxy.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in client.startGRPCProxy at line 112. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:49:25 -10:00\u0027 --until=\u00272026-11-12 22:49:25 -10:00\u0027 --full-history --no-merges -- pkg/apiclient/grpcproxy.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":"pkg/apiclient/grpcproxy.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e73e1f73d319b1aa5dd60eb297ab5304ffe402133e7e0ac5fa2575b7b2b7111"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: util/trace/trace.go, gitops-engine/pkg/utils/kube/kubemeta/kube.go, gitops-engine/pkg/utils/kube/kubemeta/internal/benchfixtures/fixtures.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e9f4f51d9c8e16ce3053b85095fd0ccf98ccb3bb44c6114fc4d256dd1fb9821"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 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 (12 single-owned of 303 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; 303 of the 490 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) (\u002B1 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: util/manifeststream/stream.go, util/tgzstream/stream.go, util/kustomize/gitwrapper.go, util/kustomize/helmwrapper.go, util/webhook/push.go, util/webhook/harbor.go, applicationset/utils/template_functions.go, util/cache/twolevelclient.go (\u002B1 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment repeated across 18 files: The identical FixmeComment appears in 18 files (37 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 37 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//nolint:revive //FIXME(var-naming)\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/workloadidentity/workloadidentity.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209a428add6d192944a4f829a86166de69f38a429d917374d3ac3b977ffa1e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: bitbucket includes multiple changes as part of a single event. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/webhook/push.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e354f49c23c2fb4482262b5343b601664fee13b1af7844f9ec5e9d852217226"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to support multi source (calculate refSourceCommitSHAs for SetNewRevisionManifests) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/webhook/webhook.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd8f7661215cdd8b551267e7cdcf347b2af6479be172549698ffac39653b4df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"408b6589a3ae6e00652e986521c5bc02fadf7c3252742089abaab4c6c0c37d06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1178a2ccca4c4ac77ef3e547596ea3fcd772ca46adfef521f9bbb605c9a088"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"4910fb0a4518627b81b3c41ca993f51434293564080f1a6c7ba81d1ef9038c55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"562c5068648ada498fa5b964f866e48c1a988d358baa0e9cbcb3b2341bab9fc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a0415a5e3eee16cedbb101a3ba9a0cb312d46cfc0101788bb7d87fdd195e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32378bf53ed955a24fe7fb821970c154c4941d22668c0f807674a892d19b001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc880e8bd8d15f47189d1154539c6670ebfad092d7f478fc822f8c07efa0be9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/gpg.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd32cd9fa8bf18bc522e49663b49a256ca7d9e9e6f3d04e5f71fc1265b9ea81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/source_integrity.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb9bce3e9f8b600e206edad439a4ac98faf8760e8701ad53c89f99ba3aaf448"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/sourceintegrity/source_integrity.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e75c9d5916a7bd61ce8df15e36d8117da016603986baad69e2014ed0cd5fdb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9d1fa1fca7e2a689114caac8409a6a700ca2e6b75a8be3959591e4b95ac86e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4902ecc44162a20099f339545e82e02106210caef1dbf62ea2d8b47857d9b1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93093282c201e706413cf4921e70a7942830c928e6c68e5d1c475ca20ffc70f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c5a6bf0b9e88e673a5d101f9b2e9225c6f42a45983115ba486529f5c7fab5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":2937}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde2c7aa0755f0f81b0bbdbf93c0c3f1cfad590b041b72da6c43a7a4435f16c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a046570e2413a9834ae3697f9a1b0fad52ee8af5ce9f1aa032a705db570d41d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"549906fe5d0efcc40a00dec4f9b43b2b234cc1f09b468893a699756c1fcb91ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaa3ef84350e769015fe6739c8f879f064bf86fa1cd99b2234fdd1aa851cffb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/project.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e91e49996adceefeb25a7cd7b45d30673f32d0c3adc03917f516dca24e1df4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/util/project_test.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"39115590a8aa49120148bac78270ea2090666033177dd121ecd23a3901473492"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/project.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed234eba4b293220cd313c3347b498fec25428df32ce4165b41a626d87f8f175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove deprecated https://github.com/argoproj/argo-cd/issues/27695"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/project.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4156807b0547fbad66a05f0905ca32cce580e18a449b4081b80262992dad62d4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove when we have proper WatchListClient and InOrderInformers 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":"util/settings/settings.go"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bec1285a8361aad4be9f945b31980bd61491674e070bd74f2a006e57135141"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: if we failed token verification, it\u0027s possible the reason was because dex \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/oidc/provider.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"491e816d78b74fd833b137607f294cb918bdeb0b2a44c558998d50aa074de5d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ericchiang): replace with better internal server error. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/oidc/templates.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46df04235e40c9ec3bd129fa7a946b5046284b2aaf0bcfe1090505eeb529498"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: A content layer could in theory be something that is not a compressed file, e.g a single yaml file or 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":"util/oci/client.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ecceded832265dd45c4a055d34294b28a5badf872c86de3e75224961de5c21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is zstd something which is used in the wild? For now let\u0027s stick to these suffixes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/oci/client.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e764cbaa488f51bb7b0c9213d75b2b69834a4fc141ca17184f56b4397babcccd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe this should use a normalizer function instead of hard-coding the resource specifics 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":"util/lua/custom_actions_test.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd43dd48eb17854716820e24dd74d2748dfbcd962116a394e71e3cf682fb0c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe there is a nicer general way to marshal and unmarshal, instead of explicit iteration over the enum 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":"util/lua/impacted_resource.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57caca10fd3296e30e9d39313821f2b820eaa18f21bfa1499cb2d027e550f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO dst: the \u0022isdst\u0022 field is ignored \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/lua/oslib_safe.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e91f41184d8d9ee733c215643dde6eb63c29ea120e2bef43646676ef2634b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO yday \u0026 dst \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/lua/oslib_safe.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0483b27d76205d1d8b0deb30a71ab8f46956141cb103916d419aa052d520452e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"util/localconfig/localconfig.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae134d41cb7b79147318dd62500b2a7ba25a9f204098e565fcac32a9863576f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove support for v3 value in a major 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":"util/helm/cmd.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb6463dabef0e9c7a9ef26272326bc4eea35503293d302f7e327007db719b86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement this method to return the username and email address for the credentials, if they\u0027re available. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/git/creds.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2a4775eae66c5c2b9b74a13141a885b56f751c57ca4bf5e99ef0c9cfe27ed8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement getting email instead of just username. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/git/creds.go"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"442265d9237bb75886feb3427ae6a806998a887621f1e57a5d845cc01c9b8ff5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alexmt): dockerize tests in and enabled 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":"util/git/git_test.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48eca56eadc83b881af9f1f95206bc9aaf415fb3233a59080ef1b51d6718bfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement error heuristics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/cert/cert.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef9b966da4172baffe19a9c6229d7c2a98341fa83f08cd3c866e129196510a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: There is a bug with annotation tracking method that prevents \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/app_autosync_ns_test.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd54ab1c8e36080fcb74ebd44ffe0df12a38eb4a363eac73402bed6187c7a5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jannfis): This somehow doesn\u0027t work -- I suspect tracking method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/app_management_ns_test.go"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1e5751c8e633a68a706b52e8dfeec868423942f1eb8ef0d8de5f031600e679"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: you can\u0060t delete application with invalid project due to enforcment that was recently added, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/declarative_test.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7cb092b778b4a20ba3041ab6611aa006b15b423edbdcef5f5887fd3c4ec21c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - I feel like this should be a failure, not success \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/hook_test.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e7f0176532b876611cb29f174965eb01c4376619b79d00bab12acf4048aed9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: First we need to create repo with valid credentials \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/repo_management_test.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7520c803b967e378ad0c72447bf53f4e9591c6ae9897afbbd7e4bcd50b523a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RBAC policies are currently an all-or-nothing approach, so there is no \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/certificate/certificate.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f841c018dc28c1b2bf58af4ea47d16de9cccdccb64239ff4ccb8dea8fbb5567"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jessesuen): probably should return cancel function so tests can stop background informer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/applicationset/applicationset_test.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"baed87d757d30313f50642fb9eec2ed9dce75aa0b0769d0181950092c44daa45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jessesuen): probably should return cancel function so tests can stop background informer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application_test.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a97e937686145c9e32a429a2985d8e82f48bedccdc904d6691de69900bfc7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when apply/delete operations would be supported for custom actions, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38e0ea0c6c1852250980cff100a8c247d5f308d32c5d3a8c6e47ba0a2f79cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe create a k8s list representation of the resources, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/application/application.go"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"26277dbd28c913dc64d797a73493f10c8f3777ff1619869a04d6a62a4a74c506"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: omit it 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":"reposerver/repository/repository.go"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f69d79f7ca2a9507dc2be62c04a678cdec0f02584fe26280045cff549286816"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add this field at a later stage \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reposerver/repository/repository.go"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2b6698c3ee2cb6c821de534bdfbe7c9019b0bf2a25f2c8a0cdaf50413a9dfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: demonstrate an OAuth2 compatible 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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"be077baba6bf32f73b2fde8bf6203fddfcc24a85757614f35f855d581b21fe7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also should provision service for vcluster pod \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/gen-resources/generators/cluster_generator.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1d065153e8b3ceb12659f32cecc3189d9a010e7d5400540a81238d3164c5cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be moved to service instead pod \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/gen-resources/generators/cluster_generator.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40b7530ee0ccbbfea4ddff4ea0afbbcdfe3f937daedade5fc70966d92e7d68a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#29484): Remove this wrapper after the upstream kubectl panic fix is available in Argo CD."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/utils/kube/resource_ops.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a38ae436034cd27bb45a40c98612c1365b079eec09f318c666fef2aca3bc225"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO The two variables bellow are necessary because there is a cyclic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gitops-engine/pkg/diff/diff.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"31856f17903ba7dabfac3fc03f06e95535f315c00c0ed731b734793f16bfc67f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how to simulate real watch events and test the full watchEvents 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":"gitops-engine/pkg/cache/cluster_test.go"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5de7d2be26776a7a73f8b09ed0dc047ff0ab7de59297ac615366f46d8e67b76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find existing Golang bug or create a new one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/appcontroller.go"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7aa50bb65fdb349d63f3a21ad45fbd1db47a9784955066d68b83d9a5a35a7c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove check when caller function in hydrator gets tracing added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/appcontroller.go"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"28964c006f521c79b6b6d6274eb16a99471c79d30f54ee2f56b88c2073d8636b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: use cache and revision cache \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/hydrator_dependencies.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"301a07c27fe5ed895d08972338d96e9155041c43670fbca138c09cc3a5e788b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could be optimized to not call the repo server at all if we know this specific source does not use reference. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/state.go"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b32bdabbd1dceb109144f80b55e286f2431395860baea05739b9b536d3d6ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/argoproj/argo-cd/issues/11196"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/sync_namespace.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1361aeb791ff4ff9ae767ece1227691998393dfd43505e039a75751c88c9c239"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:staticcheck // FIXME: complains about SA1015 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/metrics/clustercollector.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c526e7ddee1f8166c90df4b1c130fc3246b57d40a9857aca4893e75d08ce57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: determine if we actually need to get the app, or if all the stuff we need the app for is done already on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/hydrator/hydrator.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"11632a1c1a8c12389d3af2e93c1c15c3f1aef6e199da7c3f91edcc75db4f2b19"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: As a convenience, the commit server will create the syncBranch if it does not exist. If 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":"controller/hydrator/hydrator.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafffa3341193f5ace88349c14f4093725f274f987ee9b09e0c060db0a3c5902"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: make it work for GHE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commitserver/commit/commit.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f27db96e24dd6ec7b5b5a4b66499e1a6805abeba3d970373c9112a7cd74bea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // GetSignatureKeys TODO: Get configured keys and emit warning when a key is specified that is not configured \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/util/project.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f8d87463af91c0266e20085ce5ceb51ef6c9a0e2cb2796aeb95d19f0c5d0b6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: record.EventRecorder -\u003E events.EventRecorder \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/argocd-applicationset-controller/commands/applicationset_controller.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb9fe77333adcea114356ced7fac2383a2ebd2e2b97b978a9756160dd36986c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for parameters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/argocd/commands/app_actions.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3249fbd59e7d55b676a59e871505c6da3e155fba151f3e301b55df843e1754be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we decide it\u0027s important, it should be safe to start comparing the format. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/utils/createOrUpdate.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1fa699efe18f4bf9922242ef6415bb2eeb38615c240c984143d359609c198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: propagate a real context once Generator.GenerateParams accepts ctx. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/git.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd06147ea8f4adc9dc6306e0c2dd57400724418c91ecda2a94d4ab067fcd3ab2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: propagate a real context once Generator.GenerateParams accepts ctx. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/generators/oci.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d899f5f80981ca564a7f8162260fa5aeddd592430cc9bb08035a88fdf336be7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(oci-signing): Add cosign/sigstore verification 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":"applicationset/generators/oci.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9ddb8a633b2a31fd65aef3e6c2c3c1501d2b6ca59ea18178ee479870c5e406"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only queue the AppGenerator if the labels match this 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":"applicationset/controllers/clustereventhandler.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61f6633d2aaa06b149ca41dfc0282da941e78a69f04445751286651ce01f4cb"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. The recognised ADR directories in this tree were read \u2014 \u0060applicationset/examples/design-doc\u0060, \u0060applicationset/examples/design-doc/proposal\u0060, \u0060docs/proposals\u0060 \u2014 and none of their files is a decision record (a README, index or template page does not count). 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 \u0060Procfile\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Procfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b3c632dcb3a5b1f5081d3b666758c9880726936f7a67e2cd967ba590ec0d2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (100998 LoC, 1337 module-visible types across 265 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c3f72c6ba89cb32e345f1994aaad484e2e27f7fe4ee270cd3b0d88f398d900c"},"properties":{"commitSha":"4c41f82d185809e4dc6cbd6d427fe914e1d3f872"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31b8d0d5c5e46141228dd07e141186f7c6e46835c26c806dd4899b31b31ad307"},"properties":{"commitSha":"173ecd9397a6a91c85931675874b0a9550be1346"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18623120937afe8656aef3d5662a166d4fffdbfd1fe64ce38a99d10a2dbc94bf"},"properties":{"commitSha":"670921df902855b209094b59f32ce3e051a847fd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff3a0c1e5836ce978598d3803bdad9617222b788e45431b07463deac53afffed"},"properties":{"commitSha":"670921df902855b209094b59f32ce3e051a847fd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1723bb1051f587e905ebbffd0125fc1d1d051678ac1cbdeb68dd9da9990c5fb"},"properties":{"commitSha":"ac938fe8a3af46f7aac07d607bfdd0a375e74103"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e011678100f6e4dff914d1cbeb5659d993c6c6004522fa47fa8ccf9702863d2c"},"properties":{"commitSha":"670921df902855b209094b59f32ce3e051a847fd"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e05564a88bf67be594c0cf1e857274824a9ca3adc4f6a1d65c58180178166074"},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"d63634160eb6a603bb61721eec48df4b79c7544b09dbcba43ae3a1bfcb4afcb5"},"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":"6a97a96e0f153da6e166977673666fd43e26f6c95af7e795bbea462fb387feb5"},"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":"2e28b8f8929a6a67e573cabb90ee43e85bf07c85dfcd2a9b7c233ce07d3151c3"},"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":"f3b42c73fd568e1f795b5aaf9cef7fc98fbf3bbf65fb00d3f0f0163693b90a26"},"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":"074ed5225d39024a0c3a32846f5ab0d1f89e89a1b6ef53d2cad4d0b63f679271"},"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":"c14f541d600eabc0b0a81c64ba745a910f84a2bcf0dbfea39ddc9079fe2939e1"},"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":"153f3c463e6f40b218d6bc3c140d9d7eddfe54839165e78eec29a3fd9e510ee5"},"taxa":[{"id":"CWE-94","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":"8402c6ff520bec7aaf2e5d8dc446ea40788df21efc2d8be0e876de25402a960a"},"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":"6c293cac2e356ac8421739db44247e0c26f381a8e364f1e0942e9f59f11aa269"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"4a8b3a5027721db786cf0adb010c185ea34dd8c0f40114bed10df736b3baefc4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"f4f31f32baa5724bfa8a7cbb773ea104c08bcf7f1d7d6ae785a3531d6c1bf04d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4d7220f0d52d6827091a45a7baeb95f04887a1677f001039d1c04a07a683d155"},"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":"f3b9381e6f81c34104c83ad163112ba33ee3664b5bd66d63228d02659f0a3231"},"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":"95cb79c41a1c72847fbebf6fe246b2439ce78e1f3613c92dbd682a123c55013e"},"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":"7df294e7fed628edf805997c223632ba2d555129ac4dc4ef59528f8326f05975"},"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":"10f8bdbf997924ef90b4a892e8dc83c9d5c95d3f75ceb05a398534451bc4c686"},"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":"cdf1d02f659c4ac71578565c841f867282a5473803fbf1bd4fea1a717b857deb"},"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":"ea56f65ae650e63a430c8454d3b9667fdd144bd17e33c22c06673e560e8bca37"},"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":"7d1f00f11c583014f3b074295badf7f73585c96db99fee767c07ff0c95f9d89f"},"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":"e506f4058c0c72d0faed4d84b3ff23067560c0e59fee1fe84436153538b2ed72"},"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":"dbf06078b70b6f017023f1f837432b99823d0f507c0514e9ab7fa909b578419d"},"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":"3aa0cf89128bdb14e509e14e6b9a3e78493eb1f5db15a1cae7f4c3c19c1d0823"},"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":"0b3e4755f3f31fe2a615b5114eb090f558a9d0e9c2ef10ad0da326154dec60ee"},"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":"7b6da35d1615f17253da417261953b8628a9c0a19c6344018ac839551daf1279"},"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":"1eab0d0f3be5af36246debb8fa13189af0b787ddbe6ca2dfa8a9c1bb5992cf67"},"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":"9ff9da328b5efc30f4dc85ea8831321576f3cfdf03c4be65f5b3ab76f6331d7c"},"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":"3c3cd460af0d6a7557ec63899d80deaab04876678d255ae5decaab10cfcddc4c"},"taxa":[{"id":"CWE-362","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-567","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00aad9ca738758a6831f7f287cb154e31e29846f1e1086044b9b82b5b8d463d0"},"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":"18fc37956535761027961999efc6a7834a3b1160d866e1bbda57d487402839fe"},"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":"7706c4e52f9a4c7a5f038890f623a62041fa02cfb691732aedd6609e64e8bdd3"},"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":"b8b6d797c478547e1761e026e3a48e07abfad26ebc23d6be912cef1e93b032f5"},"taxa":[{"id":"CWE-665","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-908","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddc969aa3a1e9c30c658b2b2e55d21fabef4e123d9dcfc822ddc983e7d1f3ad6"},"taxa":[{"id":"CWE-665","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-908","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83f537a37d3a792391fe4937642619c93bc01aee40993dce5089a9b9d1aa83c9"},"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":"c8e9c937feb9b0613c82c45f2909525470027cc7c75f99db219a058effa385a4"},"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":"69ea751ecbcbe13630454c41042b5ba305e986ece09bb2564e9fec99e72b4dd1"},"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":"4963aceec6149a3f065f187c754b471a5ec93750f0a18482334d47331db20d8d"},"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":"200fb4c43aa57b1629ab77b8b3ef4ab2a5401cdb8f724737b782843a0759a9f7"},"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":"a19d3a06baea053e1d333adcdd8fa0300fe6a2a5e79e91724530e514086de13d"},"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":"c57a18024de8ff57b9e049b31cb9a6c9cc27ba58aeff58785edbb6c4b7f4423e"},"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":"7e13b22e07badb86eb0ebf53e9b0824bfe214a51acbd18ffe8509f41d8f5b152"},"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":"aef24258b79cc98ad390c9ea561c619c7e26fd8c75d87aceb656966d96d3969f"},"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":"e3098abf55ed42fea751db34057ee817a85301fb1f284c6a26c5ef98cdfa3d65"},"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":"d5d94bd56940e886e6903472edca6fc5724d3536054bb0c9ef27dae0ae32456b"},"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":"46c4deb0d203dd7c7f5e6407921d137a7ab6be92a65a0f9f234a8234c1709646"},"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":"fb8397c78d39ee11e349ca313b2208f86bd68a4bc7a87f4f0de6ddbc18c82d63"},"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":"c1b5806047a0b3825f6233388cd6bbf515db70b0c16282cd087b1ece914308f5"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"5d8e8ab9ab8390c66341a8738349c7f9140b498fb16baf15ba311779c70f8c77"},"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":"9bbe8c27408c1a74bea73344d48448eb4672d8d406593a9f00df8a731f2c3bfc"},"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":"0a3da02cb43ec83411fd221a4240c34d03d91aa0a50ddd81adc8fa7d0dd8eb99"},"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":"800ccb4c3e3a26fa8775be08bdc6388ea503f051125167527e89b6d4ed9ebb8a"},"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":"f6d3bf655436e90216dc8656f6575f3ed8ef154711089e21d907a5173010638c"},"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":"bbbb3f907486784c1868c8ce74b38d00aa9b75e3b0710aae11f466f380cac1bc"},"taxa":[{"id":"CWE-665","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-908","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"658f100569718fe6e8af75c0e380b682a9c94175ee20fdba207900a28e5c807d"},"taxa":[{"id":"CWE-79","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":"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":"ddeb71603f30f18f243154f5f89bfa323cce7cb06bff647d94dc7edae2f94b87"},"taxa":[{"id":"CWE-79","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":"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":"cb2a52f520d7cff340ec8627da2acda42f4bb6912c3a018952ed73f3b9489817"},"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":"565c3711caf0550f3689493510e6435a089c783f95554e9e924b2bc30935b067"},"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":"805302c94e07ade962bfd09955c784d979aa95e1181c6551fb4732dce79699f6"},"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":"4b74d16e02d51f3572a130595af5effacd36268e93a8a22b149bf320db84b1bb"},"taxa":[{"id":"CWE-694","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35398a5896aa6d434aec8e6e3ce2431cc6b599dac190c0b0b2133efe12a1bd5f"},"taxa":[{"id":"CWE-694","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16f6063fa114ee665bd2ca6828da2c223e83c05b944c6b54412ac60c6c3cc0b8"},"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":"2431a648c4bc322bfa7901cd69fc5c14d7878d1dcd89555f7824f0d07f121f7b"},"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":"f845d107f273f71c362a3fb8961f50bdfed49515145dfdc802cb18f78848929c"},"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":"4dae12de0ad4e0ce88c508ccba61dc9df93748e0c08996c9f3a631839fba1dda"},"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":"44950de77c861156301df8d83dbaba5c56775feafbec6976da918b17874b762a"},"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":"9568851d0bc805faf4ead053a77b4c12509934abddc2f78b3f91a860ea57ac01"},"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":"07649bf6252a45526bc7e8e9b626b213dbb82ced7a6a0594c4308b03c8c66a2c"},"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":"b3c49272de0b93512c97e78f6f303784b8ab078c360475917b0c3b3fd77b4c46"},"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":"b47ad885696138d31541bbef2433aff4c31d896a0e3372b0b41e746b12d205e2"},"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":"b994ada94478cb4b467587ca6d49a10bac84606df941ebc6c1faa833febf8cf4"},"taxa":[{"id":"CWE-694","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9f2a610dd1cb2b7da14414a436fefaea550390b7b97489ed83e5c92c2d3f644"},"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":"92052ea16f01b515737c315d34b6bbd4712b36dbcf338cdf287df1bb6000f709"},"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":"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":"f9d7677b3e1bc9044112cb8c393183af444fba38985ad4500e22e8150c48d41c"},"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":"8350e795f5b3007aefd577fe235a8668c11ce6d8743285a957a68102d63365de"},"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":"0aec468202e2c76d2ae9b3440f70ed35bacbaff4c14d4c95a3c38e2f5b5aed3d"},"taxa":[{"id":"CWE-242","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":"ce6eb04dff675f087a1c73d670da53817067c274e5646fba8fcbde67f886f421"},"taxa":[{"id":"CWE-242","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":"8dfde5d7b46f11d746de6a959fc5af1e04c034f3e2fa046ac9f669cab68db4ac"},"taxa":[{"id":"CWE-242","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":"da3f8cc68ac1756ea9c805c6017ce02eb98a135ecad3b9803b484796edd490a4"},"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":"60714f5ee443ac76d32fd4f9b82a4eb40c3bb51c715cf3b2165b248fc8082037"},"taxa":[{"id":"CWE-377","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":"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":"ec5ce6ffcab0bc3635c8c677de821367b082582acf106ed7a51cc347311fa481"},"taxa":[{"id":"CWE-377","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":"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":"53390b16d0caabf854c573cfda06bcc02d9f72167ed1d7baed8b1b7a36355a73"},"taxa":[{"id":"CWE-377","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":"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":"2a0311045484913d90fd90474d4c1c88d59c65c98f8276d23231a323bf261039"},"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":"3c0e32ce154ec3f47402729b9d990c1823daed9b244312b5cbb24a203e185419"},"taxa":[{"id":"CWE-489","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af01d6ec5540aa86cec43d87baa0d6bb63fa9ffc8fe9175a136180e51b1c2798"},"taxa":[{"id":"CWE-489","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fb33eee58b02402e6f2afb5605de98b3bd7fc65fe9d9011a4e41ea9371b8afb"},"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":"f9935edae0e9c10fb6aae214363ab54762369b88b6aeb71a3ee64ec4497084b6"},"taxa":[{"id":"CWE-352","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":"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":"41e466ff47e1cf9919e2e58e93e284016a582d9c81b6456a0ea812e46c04733c"},"taxa":[{"id":"CWE-459","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-613","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":"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":"cf64fbeade544a074d668eee076401dc4bc06a8299874a2c9639208ace581a0a"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73dbac14fb52aeab1db144000fa62806cf5f21634ce62b998e24827abb6dfabd"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"b473fb3596745a5432c42f66ab1027e325b127ec3d9cdd58d0e42c0475dc6882"},"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":"0350a60eb0c14adfe2f820c840d649e6afebc27a449d311bce01dc576c18cd7f"},"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":"634e52f696388184044666f612569cc325655aaca62b6076688d64127d374117"},"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":"56199c8122f4b5f288937ea4dad20932126e862be6bd3c51275ef891d5229047"},"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":"2294b47f92733a2b2ab7725301dbca968e46ce6b002080e77681e8bb993c72d6"},"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":"284281aa4a7b495c8c81e6193aa1fadef35eb6f83235f250a0069efb9ab662d4"},"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":"7d70e4d7df43644265cd5d29ac8b6f068e9913997d32b9859fb164b684e92458"},"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":"7449af45dbc93f814190bec344bc2d360587e73efef10018fd73c67df1ab0fe3"},"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":"2773075eb52e3cfc289f5cf5be704c5c45e14d66093478d7f82663413af3ff4e"},"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":"a9449c5425bca747f8327470c0de4f70074f0b358c4802a1d5ad5b3046aafc1b"},"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":"ab517564cf85a58f612deb269dec6f5fd955adc4c47a9539c0521c30fcfb32ca"},"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":"88d9d50162a45288e824c2a52a9eaa785a77544c7dbf2dd729494ee7108ff282"},"taxa":[{"id":"CWE-459","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-613","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":"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":"fc782124f306a07780d10dadb4e584f5da16f78f70b20e00e5890d7203ff6efd"},"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":"73d93a880a0149e00e7adbefd0b938dfa11621f7e16fae56f6429946621b3e45"},"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":"2c7d876bc23cc9ebe3711e705b54e50db5bfa1c9b0b142f42184370df190347a"},"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":"ca69243e375304aaf3386d890032287fabe10fa590cfe907e30346f9accdf8e8"},"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":"06b96bc2bd5cceed662c1659454cdfaa910690c20ec6268475d5c5e09e967f94"},"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]"],"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":"a2e080a285d91b3caaaeb013657788bf5e93188d6140a9b8e23b0eddd923bc89"},"properties":{"dependency":{"package":"body-parser","version":"1.20.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"08d43443308183a6e460cf6765c1dd85eb7789d40e27fd21d2650356a317d939"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"c1bb440ee224979f8df64763d1befdf557cfb76b6550831f24955edb781dbab8"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"a99ad6262d65e3c709027bc3055bae44fd9eb6749e1a5020518827359b857267"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"81885b20e8367ebb479dbffc995aa93e38ab63c54755f4b1b101e206e30f0400"},"properties":{"dependency":{"package":"linkify-it","version":"3.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"06a30d2ec6fdb814ed8d9dbb1ddfce4f67acf9e62795237856fc02dd8f1a4910"},"properties":{"dependency":{"package":"nanoid","version":"3.3.17","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"9e0d1175722c571633eeb14389bc0b7cda6039b5b98a372a679541f47c8f8d9a"},"properties":{"dependency":{"package":"webpack-dev-middleware","version":"7.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"816d4863effc0df082e9c3399d086a8de9a0ebb545dbe89bb8472fcd276fa298"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"dcf7a2fd85ac90ed86a665470a526b100c614bbec1f71dabb3b816224d826720"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ed871e3cefe3d51d936644cf73741a0d5351b2fc92222885785739b4934200a6"},"properties":{"dependency":{"package":"k8s.io/kubernetes","version":"1.37.0","advisory":"GO-2025-3521","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3547"],"reachability":{"kind":"production","file":"gitops-engine/pkg/utils/kube/scheme/scheme.go","line":4}}}},{"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":"c0c173d2cb334dfaa058a9159ac61c267028350a83831387e9a8d6e00031c05d"},"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"],"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":"fee38f1a9b4e9ce62c5d075d52f53dff5957614ef95b6be5e034b05bba132810"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.40.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"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":"5695666cebe9f1992f0140f9ed695874808202c2d64162de1b9f582b726fdaff"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.19.0","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"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.20.1","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"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":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","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":"5e475d07482e9a498aeb4a585c157025735da0a7f004bb6cc0a52023c45d08e8"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.21.0","advisory":"GO-2026-6179","aliases":["BIT-golang-2026-56864","BIT-golang-2026-56865","[CVE redacted]","[CVE redacted]","GO-2026-6180"],"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":"cc6555febdb32ffdf46c1cd488cd351cc35976c27bc715fe91aa9558b39fef1d"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"a8f362a2424ccd08c2dd65ccf8de5d883778c4ab085fce5b7b3775fe1d8a4f74"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"7c114cfa8239a6499d65a3f43f5cf28e2fc388a80dc5c30788ed89980c2a6d25"},"properties":{"dependency":{"package":"qs","version":"6.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"8c61fc5025452932d7eb72911fc87cac8ba3cd523799de61341c8a933d52edb4"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"bb99c64a4d4c3f21784d6d478c3456e9ec9bae7ec9d643d0d5f31240bbacd339"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"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":"f9874acf9e9a4829618bff2a4a9c76b62db680dec5a0505cb39ee721d2734d60"},"properties":{"dependency":{"package":"uuid","version":"9.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ceca284363ec1ad6291e8c491c7dc5f72b98a40d521a381e9cd0460f9bac31d5"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6be837250d385b6468958f32f0e5b326c79f65cd1f3566ab004698f6a240e891"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93979e0965d462d280b71d2247ec8adf9a22bef6679cfdecbe556232198782a2"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"477178783440b5536fee0f39f3c88096327d8111ce97a2234e6b0eff682b0496"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9665964f93222fadc4ad7f9253fe0f58ff465038f91062aa89a1cf37724ad048"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d7328b54c72c6d80b33116828a7545f37b51054494169b26fd9170af57af22b"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45ee9e3b8fe77e848d43e8f2cd804cbe7f3aa4f73dbbd57a318fe7a0b9096317"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7ef5407e35a927c113ff285dfa6a9214c0bd86821e18263c58060aba637d682"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"492deb8ee043693d0349d3158b996715d7cc0f0c97fe7aee4369d8e24ca34817"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c32019bb37d1d4e7e716b32573a9f8545b14f30556f5b08e6fbe1125cf5799bc"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"521551871b842044e09258fa4c02c235a1ca2d99e5e91b97e651fff77dadffee"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bdf59a9fda913e32310491a457e0df1c69f1049ac85ae67f2d419889d60495a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15207d6b7f3400d62c561d186684839d4eff5c0b1860b3993f711f1d760cfec9"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7f6343bdbacbd2aa2a1421ee39b4175dda4074b34b8ae4d25eff559f42ad881"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9dae5c57f2c4c969ef2b3493e394630fc7087a13f21ede0ad0d2f61edd1c07d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78f94a7d0f307187cbbbb4a3a300e5c976106279274f41b6dc3e5131a5529f4c"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c07e5e04830a45fedabfdc4a1d68ca63148f331f85074e440b508923736e528e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03862ddcb4074ae320140ba910f4264a33b9664497061c9ac915405ac2e4ebd9"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"831ca72220de5100224f4dd6166bcea62b0e1d021c68a97626fde25a611523b3"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5b52c748cf3de4d168ae3600041b04e90c6f5a52f1f207037bf9af0ebfb8adf"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53c3b7f5b73f6e6e4605f7e19c083357cd1e4c2befa6e1a3be2a2c2c13f1654c"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7002667cb5d4c3d2a7fde70ea07fe744ff92f321d491f0e3e6e75bab80c34d2a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d24fa8a0af62c897b18fb1159d53bcf60e9425b2f4519396ae1979bbd4161e8f"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86f12bf7bfb7de083a6e7c367a5f965567b029bc2c0992cdc217eff42678c1a5"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e339e4f5c2420dc03f942d15d23146ed4f8c01393ef3aed0f7682fc72e01b9d0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ba771af064358bb6d8eed8ce2eeb726055222a180ae1dde0b4bb3aa60cb3668"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7c9f251626a6d9fd046ee00f600363099d10a0b9d55dfad92b43d2d47259102"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03706c12ef82391d52d5512f0ffd5eb4dd147eab48d24a26c024f4dfa55354e0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c47969c464088e0536a3ce525bdbe49d273044a0228805f8e08be876f03458f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66c86c684e1187dc3605dc33c65fc6b2da5b7334a51c56e9c42db96b44de22d4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ff5216f431ac232313f92d8647426707442aa1f9a0e827342be2336fd480fa4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fd8642d019047eb85ae5a933b68b3b818bb2cf4f42e60e1aec53fb98e49fde9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e8c1217d6166cac0d92ddeff921ebab498098d3238df1cfcff06dae8589006e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"607900a59db68e9a2e2886b5fa4f0ceafc17aa647579f051b1c86986d8d37491"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92e8e02ab58ec3c258a5d3d6d8c5688326cbd60f7ab6999d848026aafb818cf0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68ebee954c863d069da1a04c167fc813e3ec0ec3affef7743bb6bfd082d903fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04a279ffd27db96300b163f4a1acae910e3a652a6b8dfe39c716a71d6563dab6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b8c8c679e60c944da7d347f9b217930f8cea790d66a603bbe29bd9e0ffd77c7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8724857aae6083a97d7b18aa176421747155124c374067708477aa0c7c5aacf7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b663c4504cd2dde44ccfcee5eaf4875ac7081cbcc10460208304018de5caf032"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51fcd804ecf84887dad9a24904fc3d11acc7fe2fd05e689863e428a69f43ba3a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"603a4e6c7133097ad46b90a8cae167a445854ba2b6d0754a4da1af71db0d27ad"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"010b5d2c165ddd2bff4e10a21dc965fbdf81c7787c72bbbb1c54d15a37a073b9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eeb9b77216a316acb2e10541069e23677c21bf0ed1aaee57979c4f928fb46af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c31175eaba3e6980678dfcbc550c55a295f02c506eabd9ed22ab4aea062bc7a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2a53af216935060478ec96b547eaa73336422f9705ff1cf4fcce850135431ec"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c31162f7b8ddfb90b8c7dbfde92519c5d68e060f5e4b10022e97c8271be525f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84095b19383983d72b10b5655147c5c36c85230f96ecaa30a5ba37176cea94ec"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9c5e7096e3a501cf828f91790cdefe2b81b9a3d97f99904877f912c841979bf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7c2be790cfb474038d9429e919dc44eb7497a5044cddb14bc179e894769c67c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a759f959f10f6ddd7e655e8f7a12cde31492195a7a8e74dc17bc109d6a69d48a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81f78fa7c363be66daab63c516d7cdf0639b9039daab77c57f201a761d991ebc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a430756257ae4d4864764cfb4a0827a466f1ba21921f006d753fd893d93deed"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a5d8ca7f88537e60ff4f7106aa9894606580151ac7bcb8cd5768a90ebf1e7de"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41a155b0afcc410c5961836ec903649248fe52f095ea25eae2359dda5c42e16c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f8fcced7c744799bb604b5508422f214837da05a71b91158cf789c404820dfd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd2e0e216ff703596cd5f5346d20813f2df3b235d24913d4178b2785a6f969f3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"253d0b19ca854616e3e60db744f092242ef1aa4b8d7932d5f1e26c8804c3081d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9243fc27a73d539c97c12b3dc97533ce3ea42d7f0665566531a89e0c222ad7bc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6ed2a187b19d8e6e2a0b30eb96822a8771c3ec286559130a7b6728bc24d44a8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aedc855b58787a13a197a86f791508148f4c972cfebad365e6f3abd399d63a4b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24138a08a3a0b4d90835717290ab6507da565c5a1a9da71abb328d7ee3aae8b8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eec13262fcc526c2cb0ae8a0c01572b3dc19ce05426d69ce4c5b684b5614de9e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c6c5fcf4bc28947029def6dd57652da32f5efb9034ed5d33ed02cce7796f794"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b2a1b2fb5ebe8e79ef310d6f13c1cd6a9e3659633d87d88f04be76a13557bca"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95d82b3614d9958735e5930d945eee5671cbb6469f73869f4fb3233c2172b45f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da94405ef7e8bd6bebb8a1bffbe6f19cf8c47b5617c3cbfe4815bbceb807d707"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54385fbe7e58b056814d6526644a7ef8e50c97adf66b36ef497b2a4af89c0c08"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cabf4835f1edc152031850fbaf8cac2cd147e5b5fb75ccd64a6b3c403f868ae"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef6827fb663018ff96058ab52a6e732cba7742136d9b547cc26fe7e1223854e9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c7d11c0f145393817e2577235694b93e22faf118abdc210031dc34495829f7d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63f4ec5e14541e107020403b45eedcbd86eec98002dda80f69f79ce2787aacc6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ac12ab1d365e69431923916820681573ec06ac45edf4b07e197234081b96147"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4cc25c68bfb153b0eebe8b74246773867397e4c8e0c3fba7871f93a32253609"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30e4847438814e717904e88974d017f7e88ca7cc18ec26a9bae675bbe27297f2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db1676fb21e2989c1eb17822fb4cac58dcfbc8f1667eb71f5b7edaa9fe5a256f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70cdfa798542da2bd387e09ac3006f51e49332ce5dcadd766072c181a07fbba2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17f9715c871ef03136f827df1ec78756329c48fe9b87e9de698ac16f73910e0a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a66f2bf585136ab79405c3724ff9fa0b7183f29311982fabe123fc8ad9ca7fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7763df6d9add75b827162024494a65d2198d6fbbb3359853c04c20e227493c73"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4f9b46de5dfa4aeddbab431aecaeb102d7d7643f0afd239291ed96c1a4b48c9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e579a119145f4bac8f5e83b5aa90470c2c20edbf2b7d6691ee93b5caa5c88eb8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a1b7a0a98023f07c01671e0cb73d9c7483db897d21ec4fdee18fd9309735d62"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10fffe11c3e2c41f69655bb70343ac45307cc59ae46754db87ac151d0bf34389"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb249869a5c68db2573158a29939e0fe213a213d8c1da798ac353d6a6023fb8e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f7f9339f5acfd57ebfcad2447bf3a792677c154c0c8315281fa6f910d48dca9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"141fee08ab1838abc34b6006851f00864f0dec2fe26d4516662c9f03d1b29b54"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7e22422228d039154e5a11ed4d03df068cdf5e63a8537f57445dec04aa0c3e2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5b7ef5ed306f1da7f19c89b28d2d38c68f38bb09bfde530608595fa0319c9b7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4410159bb2d54bde5159e9f850f2407a44a79267faa13d1c53010e2b3821f707"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55796e04a027b99649b27be20f256ec506cc2a463cd966dc5142e243365903b0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3beb3811adb409b67f8e89c44f6a44ce860b8f4100105066af6410ccfbf05e78"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"935ad6e6c79381c2b3083b451cd176876a52fe1bc5658ca491bae68767e0551c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c3a8b484617a6ed7aa73cc0e356bb0e2a86df921b0a4aa30659c74864700980"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc4085194489ca97d93fb2a76884e7e3a54a21c2c8a38fe8d70056a8990d3702"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2253451d9283a980733a2e0ec6cc51c406381e1f091c9d904aca7c59fb3a5d40"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"770431f2070037083207569fafb200ade084347b14c639a7cde9760f3d82eb60"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4888f9afd1bf4504fe98887cadc7796cc43c5a8b9b506af842b4858df9d4f065"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25c33175dfd0a260bba838addd5b78ad8e599b6441dff601205174e20d50e0f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b13bd4fc44a8a7046287c6438890eef74697567f95432865dc1469b9df521619"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba508ac7834e87a0d4d5f4cf16e547571241d94e5eefadc9fdf853b0b7d71909"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff54fc52fe2b47064cf77a8d3cf6442620e08101aa80d7b94be3b9cf118ece70"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc8ac7cbccedc648fce2e3b3d634e318c2707748407a8d36f2714180371d119b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3cb54c2e8212e6f4aba160d301e4d81734953281e06fc5dcc8e7c740c0e4746"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7813d3de8f5079ebd60b625cc79ef828c77b1187cd0df075eb8ffa45fa18e712"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2e92dd41d6be968fca118be0ae0ffd4a5de90cd1dafd2222c064b727c30041c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01b44b6a724e61826f0a694f2c5d36efeafedf2ac74ea2a5b60116bf18b4c038"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09af02223aad1dadc372b0740b73aff4afb23ad0c0fe0322b7f625e1cfde8872"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"823771472f5708e791110185e85ecb69f5ed5b49abd64f8df2d0f5ed840fa8ce"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4f1c17d0b8aa8e4a191d710d0f93ae7e9c8e33b911a5ecb252f503a7d4c8f12"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ff932494766bcbdc929408bc3d58f36850df2987f1ffbf3477bcf01f562290"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bef951383fb63b5e4680fa972c7c4a0ff12d44656484398e4e7d4a1e01698ce2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"155cf5e97e7c465db6760ec84e1836965224ab2a621d81e2c5cbb233e1784d3d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46109fd751d934a98b562a76a8c4149b70dc45c4b3e383720c01477030271edc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7769ade8139d090bcda0695f256b54ebaeaa7d4076f8a4b3918f963b02bdd275"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b28e7546d1d1b337e28f4f92f9a65dd5d6d9fb539d3d29e2c22e2a6f92a69697"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759aaf24abf5338bbfdbbda3db1afc5dd970cca3a8b5ed4a53d078325c2f591a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9921817d49fd73b7746ddb1282f8a716017d6b7d83a90e76487a3584132f2a6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1d2611f7066445d4e37e7b718e0f54adf5fef2867733a922f79ab6a71332591"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d349bfff06c9e7221112fdff23928ee607d887510cd6094f9cea21460f242d8a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6d1a7c7dfde4f92493cc1b312baf96d3a1cd39a96a5cc1678d01c808f7c4dcf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff26786f001d068b994be9ecbb8e6c6d504de74d6b25b141a13e9f64222b33fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4709d7716937e5cd1e6e84c92755878456fe3a0d79da49606463ca7acfdd70e3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"025b52fb88c0bc640a6944f6ee79858b0e69f4e04a614bfe7ef8184e396d4a15"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a7e18672ee7e07b9a87f6b0315a754ca13ea1544a7a6f1283b7e038e412150d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dcccadea262816230594f4117318f589d4351ff7ae200c1f1cf7ad24d019793"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b18d2e8b41392663cf35d6accfcb443f7ba1be77b079e13c08d328745247053c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e7c1547dbec2a4c5e6eaf153237da2f18597c97e91c1c9a0c0083f1b2ae4695"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9561ff08356459fe5838238f2736a806edffe2490d1695b9f9b49a1d7299195f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"584c029d2761d6c8c58d0d7b4837a13695eeda4f045345f9d08a72f344def6af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08490be69113ed579e4cac2534b480fc47e71952ed20046285c468fc8970190c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d9f46eade939e87ac7138f357b913055a4728714b01802510527e815f60bec1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b763a14b47a6d8909a28b3866f9ac32ef581e490ea9e394338827e2e7a0284ab"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcc05eab510af94efdba53d85389e60bf6e594c32813d0940ca8bcccdfc8a0b7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ab5867f1b217ed25c98ccc52af35d99c3356be5fecc665ff7aff3abeac03040"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2c4b96adfceede34b1f89b865aef204f8fd9a5812eed6150a64ea1645e049e0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eadb5103c125dfbbd8746ba47d93b408c07c91aec89bee7b94e09faa3422237"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"229eed15810c7f42b49fbe2b68b90d7429ac6b02f30d29207fb07e1752229042"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b81623fd02a03982dff4548174a77678c88acf060c67acbe2ab80a0fa293b00"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44a810290a2c6bb1c23f247be57d733152639e6ec796328ed63d638c92d9d50c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99eff437a41d106598be4b53b7a114acd735e71c8450daed4dec562aa800d623"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3a3eb439559ad4a45f9c0e242ec389e7a345f87ad81346717522a16ac4e00b6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd554894c541804b4063959051c1bcf1ddace65f6953c2a6458dc3e2776e8ee8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8d8ee0f9f4d690d5a074d1229e325f56c599972a8e9a36c5b00ec4666211542"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27d6860e2a30f24de6cd3caab220e922ca3e9dfbb1097f6bde71277c00518d6c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d07088696a2d218b72445d43522819d68fa2e66d52652bc2c784c1aee013"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ad7d3b01a2c625bcd71ff2e13e92f9c87096f1bc09b76daf133eba8163bc23e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37e53c86a6f957247291c999174bc793360220a0174647808e610b0687e5d06d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e96c88c0210aaa5619f18b77c1b63286a4e449db061afb0774f6a86312ca0c7f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8939f0c86f6c6da1164f185d3ca5bef0e52348f83f7ef07ab0fdb34eb7b2df7f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"803a9774c3f6e82cd09f6ffc9b2a461d8318ed978a6672ba4ae0bac287bee434"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2bc2692bfe5dc31b6a216ec93926127135a7211d6a25782ab4604a3a3cbd85d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21dbe7497dd75df9617ec7d8c122a4970c2b8a60f6d32cfa4e9813206245596b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5657f268b750ec9e07e2eba8bb1f5b8b7f5842c6d3bf1af80061b76c2c63f0cc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6383df05fe7c1ff81b9886e39fb166517e6525cd2ba872047fbe71764dbe0af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fff80e64dddb3bc798b092263406bd6c56bbaf08ed51b082aadb49a60690998"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbfcb8cce301240d75d8c481590631c6712e52a7dfa7e199147f4850a9d19ef7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"731981a4712180a7356ce33f4af19002231bdd2e25026e587c149df91ccd5fa1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21c5f9a66689e8f14eb02a0edb724a8f645e9f1042b7a3798545ae6ea1d9e9fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c73eb52ebf81a63b4977eaff189af0974347af69a884bbfcb2dada024bd180e2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5111d43ad6a9b42399f507217cfb15b7405acab2dcccbf93a76e8f4687ebaa28"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdeb3d07985cfcf647f5ae06480ae6c9c0a783a66aa9d193b52d8f0fc94bfd6e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c44eea1eb5bdb3ce352d6fa14a62c3b07f3bdf3691e21564f62afad21c973dcb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d048bcc87e35d373afa1f9ceb220a53aef072fe00216eaa139d270235c4a571"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2421f7ec7b62935717236e2a5404a4b8c0eddd198b97dcb5d66e7c6b9ac797b1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98dc22a78732544fec27cf113e710dce047fcc6b480f5dee7f49c80fd56b0baf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16c0ac43d03d3a3bfa85b6e35b8983b53b35fbb59c9750c2ff8efeceec34d5e1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"311bad4956db15965eae72a20f1c876e8083a8fa8f220070a93a609452f2a97a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3d37fb05afa7dc5b6794b533d046375477565c56d0e6af548325b9f4911cc4e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"398764f5fc9dd6742cab73fdf78b3d9a8ebd0ee50043477fc2735a1e653b6f9b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e708549cdcab9a7f47c41c0e4059bf13ca56ab8d86f549aa2129b5b9d127cb5a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9733bcdc107bd953e325ce3ffc0e084577064e4b727ad8db42ac0d573ebdc7f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76168963eb0bcb5ff79d30c9e274bb4bb9ea8bd2020bf5faa3dab675b163c692"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9af592a3f6d8ef7752b3c21524026c27a978611fa726495a992e0ccd7e69a5c9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a936b3b5f71e14ef585ceb4488b8117cbcf78f926fc3257468cbe304cad1298e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5aa1788a5c7ea9cda24c687816b1a0cbac54af8bd0eaacbd8a521a55f7a2b77f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538d2c85884d84bc38d7c1d8bc898bc44778cf73ccadc4b699555c90379f81da"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09f146d8d005afa22b5288c170972eaf02ba596d400e95ddb2b385e9e4ed29d2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5334159568f45ba9022dd5f182ad1c70fc388b049eba552127dbc63a50da170f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5e38aa91021cb9c13962df00ef54ee72fa2b0ded66d4f0f01da5e7434d167e0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26928e8effce481981e993f6598bb311b981493e12864e6df63d73143701943e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6aa3b2e785912a98a62a9aeab2e63d94d4663cb6be48b680661c19bfe707154"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"597f74334f395731f13f537c83100e1d450b8bf89a32b4796864483d0e1b0e44"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc3e49c05e0d2f55ff93d5923dff960aa271223d5ad09c6e9d835032e8d52993"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"663ee71a3f97e4a8e9e5235e0cf3937e76ed6fdc082aef6982784c6ae96713b3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d03d78eca274115b91c98285e104ce4d4497b3a02529242b1cca1c8be4c8cda8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc14522eca14bdb25883f69533cbfb0911e93b464a4cc2029b15ad133ccfc08d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"294ee525116c3b0c69f6631552a813d133aa7632f920be955bf498504e28b118"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4322271f008816f370465d301a1ded63a9da139c75344f180dcf6b4aa341aa1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a5c01a8cd461a3a065f036be32b9a389ab6b36bb78f231bf3773f06f68a3cf3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d152203b6adcb95b8d62a33d669a2d4b084bd8bab2743ceceda312d4b25b2e0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37295dd7d7f2d973f688b4177694a87c147d0b92d497a50e90c87455e3774521"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a854f80125597b0916c860dcd4dee16bd2dccbf88f9507c5fcea8c128fce7672"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74867e10d50367903b0eb0ab5407d3479504826817812b4403eed84f38c63a05"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edc1f375a9dfc2e29a8a93cc24a808b39edebfe673de68344f25f35f387eb0f1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70930d8ea72c401d55d23b362d1485d994649c908ab09e37d76f2ca616b72cd4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57af2558e4deff3566cb581a5bd5d4d23b1b014764f2c7119f91d2eb1c6f33ba"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cae93b0cfad9ea6e0c96bfd1849806ec79182f33c2f6639da87e105d6a582e27"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4e15636a7ab4c069835fd40af7568b6070214857582eec703060618c45dfbf5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b40ceb943951286d222d9b7ae6a2c915becda8265a7f9aa999851e7c5a2ae148"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1b1330aaa217edde2c18282897b998d48b843ecb0ba7fb498db0f6a2fe0918f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ecbafe44da0693f0dd6a0171c651169e38dfa224c80278d5d4d82425b1e4dac"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a979fe7d519018f04b8dbe53add796efe402014fa25659ee35414ec8f57e4516"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7065f1a4e3c8a42db998b9fbbb785aca050d4b427825d647f4804a9aa4d16987"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eef7904271dbd19d3db08f37091b568fa8d9721e7ae91ad9880a6e3d5f9ce08"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5859711c86e0dac67464889e83beea41a18906cd3c4c364f33c62c91b8a47858"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df290e9e83dee81819814fd2b948f97abb424c90aa94e14b4c421928a4a42941"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cec4389f96ece925e110be6caaeadc8268b8d1145e9146e9b740a21fdedf8e06"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"209a283ce0b60a278da39692c38a6aad35ef68ce7506d2dac42b7d9424fe844d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fff3d3f0147dc12b008520ad766b088c33e083d3d63a17fb6e965bcaa6cd166"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb6fb71fc031f41b5287d0870f7c0e25a20012d94799981feb86bbf9d6deaa1c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f8c4a94c33e429b0b650024a23c9afa94bf49132a9e340d10a71cc4d8963080"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7545558d1f237d0d44f14a25e7615476f9c67e8e2935c62621568ed0354bd4fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f21eb762f1796e12a0c19c06c0741ed6d9f3b5376923c661ab1a86178e36fb36"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55f4fc12ff2290b7643c2089487e3963226b023a5bd7644f35b7c187f07b8083"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c18a572721561c5576186e725e94f36c757176338cb462888d7ad4472b8c9bf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe8614dca0d83a0716aa71762cc966999a7581022e1473ca53acead65e8d7949"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f413dd2254280590d04a8c4c79afe064a6b2d5f60565c8a01376d02affc324a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3edaffed43969fbe83edd538c6f85e91242cd160c64f945f8aa595e8b935e8f1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55a3f64087d1e183a71bae878222784f4b45f10976544d23e84f436b768a1b22"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ef64f95daf2aa2eaafc3ca0a29eb6c401ce3b28ba3b358b370f0ad90d7fa96e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93ea9d8952d4b7666ffa2636bb038d1c062d71aee17206d1e4d7ccea295093b2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16c73402bbb5cc5763395160e0f17cb4c821e001b94d2cac5aa3602eefa709a6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6b47e73030d5f1610cba8b1e4835bf4b9ba2d84413b20caf27e8efbaaeba9b3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49b1a1e5967e004bcd629558dcbbfbbff38d9bb1b61d700e84fdfdae2764dc44"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9aeb85870066a4ebf034faea66b6a06b1ce524f31633cf11e4b6e69f8632f64d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df50e4a551dc9953fa8521885946f00cf86322f25743c534a8a3e9d3c0d4660d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8830e34d34b6bdc8c87338dcc6ec77907d2829aebf3f7a706fa427712d94717"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73c62e08ffb21a84751abeb7773c9fb332e981d0129a2f5b27270be8cabccfeb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f62d222794952e2f2827b7f2b566cf3720f04784590eb5e21eadbf0503a36a75"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a76b3fadcc20887e7037384bd36c7d890e26c919b310623d011140590898dd3b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3528e047d0f0c6b62bfe687d454c35b816b37a0017eed77f36947c58f3f0191a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11350baa8254ec358c6540ffb0a1ec1099fed6870b9e22a4c74613af47d3a3bc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05745f9581c7c3f3613aa417026fa235a89036adb58491f29224ef01c7115dd4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d9b2ed1a21b1953604a4eac6781223ff77861a6a92565d94a18083cfcbe0a1d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6b30c4be279a0f821c23f73d12489ea71d4465375f83aaedf00bebc448e51b5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"303c5c7b133692e33b5fab1b8d9d558d01d5ccf779d5061a86c54b8f71954a93"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be61ded437c248a780ea316a42cf4de9410a07b81fcef903d03c00ec14c6b6b7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72fe92bbbb2e3c1f9a3ed6713f863156bcc4c56a5a2c25b77f25d55179c80929"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48104fbeeb8f7712a30786d5dd60b6ac20261ba391586648426a9c6bcd9410bb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d394871a570c68913f6b9aa3fb69dcff5cf9a76507097398d46e98b93f46d347"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bf2b4d8eba59a1dfce948404b0b03cfed455a6dc84bfd0dc55fa6047f4e0de0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a9cfaad57137364edf630ce4dbfc1efd4736df67113cee16fe6580bfa552584"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba60cbd50baa384485f2834af4bf0d9606a5e62aea1fe559ea67c916b12415a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f773463865e98bd1c3ff727b5c3ea780f7936e7e9787e20b29a38ea0a4d627cc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a555e10b585154999502b107eba3339c6322569a02a3f2881c0ebc997cae142"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a30be4c547452060b24ad76b30754e9e81bc772b509693ffa33e382649059d3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7de3873a381d11341da7883c304328be2b89e403e14f558a04a19c10019f7526"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eac992a3de5105d8716b945aacbecacf801e8443591f0b2b29dfefeb0c9b28a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ec99a0d4156f77ffb3e680f63c77b282880bc330ee83017465a405f4f245e1a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"096ad77b94a27a91eee9baff535fa88da6b252729f76a1ec4a603e7638dc9226"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab5db11886565631ba8dae66f9cd67083633331a581a68b801858b60aedcd956"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fd9ffd6527d3ba2dbcdc7514911a514e9d63a2b449d732d29d613a2bc3ca3f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70dc1d64074d56778a85d0ff9e612ce2e18d3c6d204d9756a05c03b70bba4330"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a41e575b199c16aa823da97ce17bb69902e98e4d2449a0bf12bf9a1d59d2ae5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea2f3da99445eae5dfa5144714be2e8126786aed7b06eda6e9e517cd6b30d9c5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83a7e199425172efeb283263877b221913100b5e2ca077f4308d6f9f7a12e19f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8968c1b6280ee8d46adc8298063c774c7e187b6da97cd5e4d43c7f6da28a5623"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b848af09f52d675e1676a97cdabae3af2aa027f65c4390a3f0c51a750d1c7582"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45c63dd6db6c41651fd99386ba668b54acd1e1485dfeb7a20393f42e3546073e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4ddbcd1506709fb2e8cd89ac0fb1e678535d14c3efc75352b51567fcc14ddd1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d96ee604259b15437598126cf520ea4dbdf6a8d49f05f9697090a620a297d4bd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b4d9dea25603974366ab32295e885ba5e85cc9c15641d96e26dc62b5306df59"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8791678dde03400e4178a4d30df9f9a1e9e17b36a2f45f3f0b88020baf177e8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f626361a396022e5389e1388216a984aa5a0b94cd4afb875a523a2b08c95b89"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5def716591666c9dbc40071ca946ede7a340db4b1ff3c9ff3aea88da2fd133d7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83ca096db34b2df8fe51f052424651c73638621140eae33c78eda0a560d5746c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01e1ee2f1eef72b4394769409379ee9e7c0a028a93ec341309e3961e5019b73e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa2a5f3edcc0f726cc72e0dc753c0907ed7239efcbbac0f49fa8a9d5b81b287a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd477c0dbeb54113e741e249a437710e9efd1c929db073f11078dc9572bf8a92"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6d27e1d337a9ee024f0999449ae254307aa916fce4a8d62c762a8cc2d056871"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efe62e8dedfab86aa82ac6717a366eeb4afd85bea38b99de56e3d3a4431a637c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5211c7560cb738085091f2b53f485c49b2d23b84a2dd5f3b16f1bc9b6cae269a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"299e3874d98422bafbbc136d6c3f1f443a20ae51002a8eb513f5b61a7aa10354"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e5fc8dd64ca8934acb8b8b274fc63dea7e33ada555a1428a45b7067cac576cf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfc62524a0a38d5d4069d922e5a919574bdda68392534486a9285b08f3c4b962"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cb1f0990f1740b0ab535c2dc0654c33bcc1e5ba73938088af032554c859d5a6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af281804157532e5383146e24937c21928f253340a91f5ddf7eb837fe1e6f272"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d49ba9f98c708f39dfcb70aadb4c7b0488363c47d71dc58d255645c30939f4a1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f63962ee91e5ef6f3094fbe67cd362998af1e74a6d906fd35b1670146bd5935a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a4430cac30f9adfe902d3467c828ee25ecbe99e164f34c4e5dbaea1e6c093e9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc17bc4785a105026402351079b8bd8f4b0246a059f752d32e71bd67592361a6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"359cd2dd1ff34051a345e752d510caf6afa770eb939f8eb14f7cc686c6fed146"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbfca369a7b98d7b56e6ceac558abe2130df9435bdbfe05c7f86772c15985feb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09d4c97505e4cdbcdbecb9ba939298fd3d1f612f676f3caa69ea2fb4108123ec"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"251e9a1d2a7722ebff477d0ccbde0ecd325f0ae9eeed7acb07bd209174f425cd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"609804251ca3b8889bf421e916a237d18c74e22adfe589cfb7a99c9fc1d4263e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a05c5cdf987e7fd86a82c53ef895d342be5615cc124f1f07e8df470473803716"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8db4ca26daf9d3cf42a20cd172944742b3f1c65e263b8d7179ccc33a8b4d9b6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a17393605f1ab43da3f47585eab2d6582cca6dc892a08e992954e5c44e80d200"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70b6e4989fa7cb168137c68980a8f0f9c9ae2fcad0227c07d061328d9a598850"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4606627e793e836e54150f35ba23db8a00c9f9960e58263c1eebd9f7d049974"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d81d7b7d7283910dbda5993d56716b3ad3fe9b7e9ddf335f95511575dbd7b214"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbed71a940e2ac4b7d12e86b87f58b43ad0a72e8b6a03f55e1b8de2ee639fcae"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ceb62b65fb5bcac9bce91682f8b56eeba91b30f9aabe058dc3f384677a1784ef"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb7eff4b898dd7eb9b5c6910fb67b8b689540de25065e9bfa6011feea38d0275"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3b67c3248f2aed9ebab3e48de4e8b2c212b5e0de05fec68e212c8b92fcf252d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01c8765d82f5d325f2f7b0776114c444a7d9e80f944820a950dd97feb5605289"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73701f4f96df62a2efb75d11dc227486900d7a3423f98956a0df439717a4091f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b273cb56b2c6c892a0d53c7f0156c7554216d77fbfdcd2e1ab56355f0c7e1a55"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00118460e9cb8a6105ee836cbff1fd6e5dd25a5b5d174a3c424ecd2dd3f761c1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b0863a4cee00178b3c3c6f94e12df1ae6b6d5be531ba08324ea5975f8f24583"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"893e77362088222bad0368522c68f2ef7bf0c2920a664d6025def56af5c9966a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df5ec0b85a5be7fed0701af6b52b13a0601383aa5d2714107bd453eddbb71798"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4c5547511195523872a5adc675d053a191f08a802789cd5e00f21edfb96e67"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa786eb9c63fb928da0b42fc4e2d3e401cbf655aa40d2c8507b3bbae3cb8a327"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba19601c7700ddc57d0f8c1b62d19f2cef42a8cfba500008492b179f5de3d4a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e86cb12b82ba4fd315defc051581ece2d6af71ea8aaae90b1265159114c0bd09"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a25287d405a6d273222aa283974cf079f9e0609c4d355ced9ab84f4cd0936f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b2ee28c452e19279e59d68a670a343c503da40736f036cc59f7597d7732e206"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b2b583d5a256faf3b9e4c79e8b0af4a5b1bedd704c100664e994008467144d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d157f67f6094d030d3ee4f5ef4cc365a73c4f2bc3378cfe0cc6e6989910ae673"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a87455d6171c47ec2924db7dbce51af2263ae2ec53c3065dfa79362b993077d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da42671bbcab0eb82c78353c82ad739fd08a39c58fabf5956508770940305959"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0496e0da1d8de4bdd9a7f512df36c71809368fd8eafb262473e0381b4e936ddc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af459a6f4234b3351b1cd19f7187a9d53918849d47a6712ebed6a46c403ad15c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccdc63d86f60c6593d1b183c041ba457886445bcd5bcfee76b4d1c42bf23c32d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"809171d3483f8be2a0ba44b873a4000ba7550f649b8b1cd30e0ba385720d88ec"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9512635365c09577c29025c382406f5aecbdfb01b6557a5f7a401820aa0909ed"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f3d241fc952c32e5b2c9c06f61b2626dfb2aaf8b08617a1919a565021e2eb17"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80b27fca14663af6f668d66eb660cc4a9b412d016f4b60ef7ebae416eae975cd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6eb39e1a9eab8de6a2cbca322a8673eafb3902c40e08269a19cd8e6a2efb9fd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5d8c24c83749b372cf7a8d7dab5ec9c7611aea04092d61499bb60c422a1e9b8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a049892ad55ae5a00fd57cd00934d91661266dfb5ef66993b7943f604fae1cfb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"356a1c8933da6215b9be27337857a9a0d24c1db1d95df193e96a923f5ddf42ca"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"616ee7284a944375adef7ea34818d412fcd290261dec032ad90c868bd522bf2e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c723a8370175de6594fd0bfbc12886934643d8f06644ef21af24378bf7c1309"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08afb786c4c5ef39280825f956f8bc53ebc74f59ba0dfc9b7bdb02646972a897"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98d00fb6f15bdf057d15f5e4fb89c310f7bbb357812d90dfdb5bf3dee868fb01"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c2a2e5d8696292d9280b20fcab138d52ad09e016f31670ee8a15b4da5bc3ef6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9eb5bc6ab7f2d633525b43ede1fc6b68ddac387fd42cc320fc1a895c872e8c8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"398c9eda454c70579e2078f12a40e66d1ee716083d8cda7eeab754e11ed029a0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af8708c38aec999925d3da7a48037d7e4307fdda28df0b26aa8a3cbf7db49331"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"233e40b62a681ceb3a368c8a1225ae63f09edfa803cc3b76cc9924730b07a70f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"971f7a53d29ad726de4ff12cd7c3c5e3f147298f00723e404b4349bc24bb7f24"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c665b5f6f21b9d902c00d22ed5eb46ecdb12f1ec47c6ee1fe92eece4796f74c4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43fe6ca705017f6f7b289fd5937862788be7a8c0ce193e2eaa7b0da434aad4f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15f8ef5a23e8d56575d2ca1aaf2fff353fd40c3e6e62c804fe4c5460fa6127e1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"280250b204b512097ee132f5bf3569574af4d7faad81db5e74bf52c1e751a6f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5951e9e03ab729df013bd24b4912c4ca91a06012f94ab8a640137eb56f03a9a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa76e90ac80d52f79623c73ac400bd015312ca1cd58969e5d98a13db62d6ece8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be6d31bcef73fe914300aa847c10818867d94e5c42fe81a4f9afae9091935e67"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c53405336545d3c9c5ee7ec663fbd04f5b734729947e8f8ed3e9e319a806ef4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b88e1d86232dee6cbd3528714c87b5a43a38de9f8f91123af0c05118e6cfe4d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c636c6cc83d353b53ca59abf311c17e87045ed922ba8044e7abcf1f433b75e6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e7ef68f96ddd1670b8da4275d87113bff5e23a7447c767a654f6b0895f4d542"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef3b2a6390622e9a917538bb96dd07ab28c0a6ee45f44c43e9139a5159c53da7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afd6d97d33fd10129f6307893f7bcfb4ed6774a48989cfbf1c606e3a6397aca9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f90ec27bdda43b8d07f834eaf02fd4d637f020728de65efc1fca37e051a1e1bc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec1fbfb13d52c1a5378918eff28424d1bd66c89f01e6da313b8edef22d1323ea"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2401fe4d4872f9a7b972bd6b737158507e7a68dbe3689847d8faf2de6be84d95"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1fc864a92976861889013e74439b3ce114fd16d53fb7425b8ad7a87a9c2fcbb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b360cc27c79bdd361328996d157fc20b31c4406bcbae334d5c1e0be5bf5acc7b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45647eb1c220cc4b5db21400e5c6d05fdc2d2cc55b0167cb58c7aca1091c1254"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ca6d51c16f78d905b979e6e8f3cd8ea315142f54cdde04387c9f361ba4d17f4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"986bcf44eeb622f062a40c2f3a521ad8920a9dc636081ae6abc99353fb228d2a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b897e6a4a948c62530bccd9f628ff7c48aab7d66e1e10bfd2049919fc5177e39"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04a77410cade258533fb5713447e24f8e2a7a625dc441a59ee3623915c0a3fb8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8119c6dba9c143faf1ae8bab8f93e430e3dc2ab28286866ee4395ada3ae8093"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46a2182f174288c59c4970eac2eb5f5e9ca584f1f3b5a6b5c4eeec2c613e3b59"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4757f4f1d2c166e3a8049061edd7e0d477e9158408d11adfd2c550ab76ee865e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4705a66eb00c1d7879cfc61494645f4128f176a149d2161d00a0e1c291d7bdd3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1ec9c8765879fba564d061fd36e627ddf54b3721f406aacbce0d69e96ab3d81"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94cc25a5d3cdeacd31019d357eadbba689598cb3ac09db88f3f7ec4dbe303262"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa6fcaaa09fc514bbfd7f09c91994708d01dbf324fddf708ad184f11814f0f64"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e6bf07e2eda3366c0efb38930c5094c36a6409d3cd5c6d60d04b74f363e27fb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69482a492982c77d706357f92094fc9c74b95ad01118036716badd24fcade0c5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a631c494f76ac2d937bef9113d9ac14e6312fe0b1045455a2aa48b96acc280f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f259edbac1686fe641ce64b1370a56d0e8fb3ce1e46ae7a9115a287984e0f46d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24a5d335547a0795ee2c4dd4908b7fea62bc5f94d8645c590848aa81f2459c4d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f69180f4750d91157a03f66db9681538ef480b4b19925bf4baa34023e3ada656"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"401d3df8c80a77a463b700b6ee1ca246daf2ec52e55872ef9cc1faf4c4ef367b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f7725be7cfcf0d3dd1d22a85e5259b514e3dd4ad36f58723175fc4adaff1c2a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bc251b31b68357c4172cb2e9ccd0aded177768c2d847fc00c57a8757f3b73ed"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6563d658f9926b8249b629fa110fabc550f0c3c28f3612bfcbf3c09a4b5c32b2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ba7061b7e3dd737daed67db1f67b2c9bff136118cd5e9a15f46ea56a22eb836"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db8034cadc60b98bb8d02259cfd9b210a1d78dc7a62b8e45449d77a123b5cabe"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d25331445fa8cf286308b928fcad04294218012cab951b452bf8f01cc68aeb66"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eeef19eb3d98972b2fa813f874373239d5c5175dbddaa04f930aef863795188c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c7649c2ba400d7b82c35ec91d944fa0d39da9081644d714a3cbf0ad952983eb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb42919728923f1dbc532a1511973062bd19ebba954f1e5502ec45878417c9ab"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0663a72c0e72c028bf41ac79c00df3d8dc947ae38647598bc280beb63e1eda34"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b0d6f6ae267dcf8ecfe756a9ac18a2e9e36c94ab31b53cc3474d32718162cb5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f57139e146584ba6bf32305bc0c417f5e55f49833c5b2e6713e8603431fdffd4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"994ae0d503c4d175da34b53e8418e8a28b96fc0db6ed2c8c09ecb30120b52f6e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9357a87a5e708a02ad1561c5ac13f72bbd7a9575bceea2bd1fec4e259108a214"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bb56f5bdc8c4bd976e05d8bca927aabf6ee9b5815c77219232b1d285839d6a7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f6dfe4f0381cd4aed16b430e8531cf898e497671d72177673f5252d0549120c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f620f6f1955f31cba89b29c2ffd2a4bb2e28a737cd0534bf399cc350a5f85a4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2b7fcd767bbd1f38aaad6f89596f17dffca713333f0212c4596866d95b934fb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b9dcdd7be58d8ed6c64f381c80754f249494539de6e2eae6b667b1c9e5fcdb3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccf4a59312036fee7f0e25cec282e93e39c45fd8d0db19d7dba320bcc692aadc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"987daccdedd539d8db0b627693e793ad5f81cfbb989fb33522b753e6d0452bdd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8c94d35026d724299000ef9e67e730e307f1dacadbc933bdbc3f8b7fdc3b5b5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d299a5e7e607cb2001cbd3bff730385148d37bf177a88b6ffc19a217cacf43ec"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7840913e30bcaf9f581bd0954b20fbfd08c1f142e7864b1738c9e270273e3663"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ba790d0089d81ddfccb96d4964cf7196dabd1bc19339b55767b05f720db85dc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"063cfe8f7f08b71ea3c8534d82eb771779be1f681b6e090b613625bb8727ac3f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5953ef81925f1b97939b3290ba167e12ae5dc204dab8b6de68dfac067a70fb8d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88a5093f2c799dcc2b4868f3fad137386160a28797f3039bf0730ef51ea308fa"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7576b97e5468452dbc76f9ca3a7960786686e51e28adf45d6513c35134488438"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e0eb892c499007e9d5322fcf1d4f5d431f1caf2df8c932de41ffa0939212343"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80943ebe480260f85b8383104777bcf3f5ddae45e55b3f9add927a6d9dc639f4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1eb932035816e421b5317ecfb291d61798a821b9de2db75e4d0edf64f0f7fbe7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13ec7253a9762ff6f3def5d5d474496838d381c93b826bb08c5915ef404224d7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13409109ec09e56d55a005291f0c805e8ac435bdb90fa88b79648a3a91c905d7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"502ef73f0dfc852904925dc018585656ea5dcd76a4c3157ad5c432e56a39387b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d961cc205094703ac1d0993eac505fa3d1e5f31e6b34c1500a1db4edcb55439"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6c1ec392829470ed6ce6e5e8f2f5ad75e21df01ef2009a1b9f9f4152c992dc2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6477b8ed42cd6d0f64464c7c109773af304e5eaf8a037c1c39b3f7f8edc337a6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6a69eadfa6275ad11e78ef4f1cdfb832cf8bc97178b22a9bd97f5db46a6039c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a5aad0a671e38120d2387791dd2b6a2cd08d0f7e2be01dad3584548b424325c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d075b51fa448904d958908fcaa25309c2259b37f0cfda9b295bae19959fe7fc3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba702f4415a85e9bdd6a8b34d058ed5732f0ff702ef064211c5058f22b81b7e5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d07fe350f678ed94c45bb4fe5ad134bcae8fab20028d6b71f1b446affee90ae"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b246c082a298fc1aa2266a1439622bbf60616fd98e73d5b3f5386c37db4fb40c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df80beb21759cf27e61f765c86f2f32c4d8d53de4fab18541d96c2b5c2fcba18"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bde36b09ccad4ef7eb5f74d4dfa2ce96fd169632b3ae67b3b0b67c3c275064d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3abb8dc7af1f1345da05716588844e186c4ea65dd0d544125168dc6c531dc5ad"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd7616f55161b9eb38e2b8e3961ffeae9f4fad70550a53bfe1d3bede7f5f15f7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee9c9da39308d45c59a831f185d2a4db354c976b1ae0d419bac76bb052c38871"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"215d62bf214cd6d462536e63a709b423c2fe49a55e91c3ef4b841f25ddeac562"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c24129313cb570b5d3121774980d19bf0133e19ab0b585cd6432c369c768f653"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fbd9fff1683ac83ae5cab8f98836979e1f01953aa7a297ee6754efb57d46612"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f51277d9aa07b6780a65631618a50735b43f3568bb01ab9246ceb49adbaa92aa"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2689af27ed5a71fc91e113d50a93e0d6c9c18fc8a150aa24bf83d3bf9f723e15"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc03d8461b4ed69c3e4592a23aa402812bc7d9a26a612d0eb2d89fa57e2cf254"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f9a9c4fa7e64b3f234217c5c19c951d70758fbd3ce5b4c6472369ae1fce2cfe"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8c1f9d6996a3144112add22a01c2ef134041b0dbbb1e18474129db5af8d2864"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e93606585cb57db2aaeef449ee97e78ecd831da1f4b229aa2759f410547149c5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ead04c31dac381567111f9b1ef222fb6f912e883c3f34c754a1cb10dffe1c94c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2156f7dbed5565f2e5c91c3cc489a1966dc697f570bcd6c4d7b0c411cea0ccc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15b3e441c278d302ac29ad7488e6e3eea620f2634498e42fb4d83ab01713bad5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e942823d59150c4e5618d505e216c0f8653b6b1a525ce0b4de131741d560f124"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c078aa92ed56a00a1df53e2e63d41097b1ed7bb9e00d981ef40e2391450880ca"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5f99ab872ea6535e761534e9f33ea685a2e7707b5606db01917742b109c30ba"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e74fb608b1cd0203eea68a8243cfd15ab7a792238b76e68ee181c19d0398bc9a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a6bf4a67b6eee85fd05fa208aeb48c895471781fa512329c29be1100ca9af82"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0825cbd7d6c4fcf5e89feae4caaf2d8d74c44648c45c17eec47fe1c294ace997"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a28849d231a5f5bc94d2bd7cb6f96853390c3fa4ae841e15580449878128562"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26a644346ed15b4c22ce870efe3b202246a2e2812f8e6c52f3e2557032c44312"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"490fc39b3dcc4c4264dac200e8ad6ad615fdeed21007bf80cf26aa2d4e118ed6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b561ed0a687d76b8a3b786b6b56f10e8528b57ec85a2260f90dcb40e82cf0206"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0393d795fe3ab4bfec7b727e3a95a7975a59186f9fa7238a1bd11ec304fa8da5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52115f9e58eb6051d76baf46d21bca77850722401ee7f024340413ec3bf4e611"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"583847c2958bc13debd7994ea47e630293503902ae2eef10737abb20b34cb957"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9131948f173a8abad28b973dfcfe142197dae96f324db52b2cacca97a052373"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7926ccd54167ac282aa494eab686f9e103c60a66c4ccc691de7324a281a8142a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"598f277166d562e95b9d8e2eff9a62d8b9e76d3d7ca75780603721c5ef431ad9"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a6326ce8b9e4d6c08bf78a5f66da78752894a474425f2651273bb0b8361ed1f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bf5039fdc11ce01b987ff79aef21fc9f8131cd306798e9080d410b4e435847d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c784b6bc8b3c33eee6ad2946bec4cb90ba83998013b2bd392911b524421dd8ae"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c6a8c79bebdac8aef24931e463d31379e37ca24069c41f73c91e1fc4a00bc1e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"590f12b613d802d5829b851ec54f38781b32f1de4451a6a353ae25f60e3d528b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbe251e38f8fb796e56da7c6d61f7ba708ef511f777926c08dd84268e0dd66fb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec1bf294b15c7aef1dcbf241306d345024dbcdeacc28a0bc91f485d8e954b854"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60559f1932c68b47723d8c677e798299d5a1ad0d62ce7202a56a42eca09c6d7f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28464246b8a24a2e31c2614b2405202fafb0c6823ce5b6886c2ea2c4eb639b50"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b8ddecf23d87360c16d97b1df5c17c8effdbce4d4b3bb1ff3fdd458233b57d8"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c71af79b3f8ee789ad241e2c74e57db008bd39ae03d51ca8d023ed9a08b86301"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8e86a95f4c3f40b002079dbf19cd910cacce05b94fed5abdb4dd42f39d388b4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46cb1a6b45c2e29b43e63365b40e12f35be15fb40240e099b669307972ff9c5d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"010ba769ed29fdd017b731fbaca260ec0526fc59eb9fe4eaad7d9e8a63215e5f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1928bae151446b56d703f9dfa1b87ad2a49a2ba81366bdbdccd6eb59844630f6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48296a1af85023c3aa3ce4b37a9a623571a1228a5acc98f04516da191ebe4304"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78ad2fc3033c625c30762ebd4e25c84949982ff75e80af6fbdb1eae78f70ce24"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"383a45d9bd6530e6025efd266787433a76b3a0093e02087e0a4da3ed76dbd41a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab4ed9db0e99bd467627728150d5203c24d9bfda0dc2c564e53200f674c2349e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"152dd5af4c68f5be7357eb69add95c7484ec47f6d48246781c38cc584a0af324"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bac50121aa478fa6d80c44cd6bf62ee3cb5746a3fef81b2c674cdf749ebd961"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a11b12c3e1212f22468f11b336b9d3143dd1f2b1e748e29dd35c4cbe2378311"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44f98703ddb2ef0be4462e7100dbab9d92581d020514d343d3c95e5f7f69ded4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f86e117a770bb25f4b33a712cb6af01049527e27fed459dfbeb0b946c76c179"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2abb10f39c57097f936dee1d8462ad86e74287b283e372da2c94ddeffe6229e6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2271069379b7ea20e1d38976f3fc66e2ed793010e728e7483f2c78cb96648b31"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f64baf9663480e05a638db7fe2ded80504f4073e7d661b7af22a286763b0ba4e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed531fa7a09de5fbb6ce6431df52e012cead9a67a734ad23c52582a913b15c5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70d9914ae7e35603de8ac11ebdc8e544cae365cea94194feff5a99ce9f1632c4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5bffd6264b5193d44a35654de72c218f68a835b62484aca3b740ecdb5bc6121"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4628e556cd3c56d84ea8842bd3776778991666c7624af6d4335467eb0984a75e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37932b2ea208e9a6abc357525646dbba4f0dc6b4b63a1abd217341b6636671be"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"584d32feb166379abac476707f861175c03abe84e4aaf4de32ad4e698564442a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8f42386dfe322e38efec346e2c5a34970c68906db9a43c17b413978219ec11b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da0c7d4a341ac4e2bedc02c06e960a68512ba2d0cb70c821b08de98cc89e8c26"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15d1004c3d67a77dd34f2f7ee11e5bd131d24296c45009edc64b37e9887d8e35"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f5a9ba5d7b101681263af6c198f327aca136032be2474844f339e12486278fb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32bf68193c173fe0938f76a91deab8abc9a9394becf83f7bead79ead9663885d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7abc2b9b5d98ef891f10d05651227fa90da56cde016cc0fe3d92265877bf176"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3315c032bed6c01a40b5d9f056d5e3989b43437e7f5afe9e34798ef13526b3af"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfc6460d88b37723abd61056dbf524a4098e0098c62f904ad910e2f5d00e402a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c040b05fb0dd42e3287784e69864df0fc088d562efd5ff2ed0309aeb1d068d3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"818af7c01ad8077c2c2258978b20bd01a23f89dd643ad4d6cdcb864e7fc27701"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cac0db63a89e9263da4955bc21d7059fc4f6056f873b528832135b361e51d3d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4ba8e5e7007f97bf09c62caea9e35a4fd653528cc2f10a132c742fa937dc98d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e68728dcfb52a4943a53f3ea4195970b48d79a6b8b7d114576083a902889c494"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83a96507ac32e1d3fb1698afab83250d9784bf90d024afe87967b4e1f4bdd2c0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7db622cf7bbf30bc80ca6e3cf20734cc1e74be3bd0f120aa41ecea1b7f20a23a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c7eecfeae4a7338cf95ede279b2e46fbb347bcf8835882f14e26a921eb734fc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c461328de2ae67d230b71646d79c4fdb4cd7d088323b8f9f3070553dd909eadf"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8484824ac0667e37499df5946aeb15766385d8d16ed9cf5017ecf48f96b9693c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9cf29107004ce4de1cc263e9f22782aa188a0abc9efdf3281cd6328ce39ab134"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87a3a4d5a3d111e191ca0cf4668a9493179a6ebb82bcdb3868d8f1352b0ec678"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6e964af4cba8185a8c5beb965f1ae71fbb981de48bf7cd1f6fea6e9cff091ed"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0a2a95180ad8892030272bcc6521f5808c2f7723a71d2e6d0f02522ffd3606d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55f9241835705771474f2f83042967708afd8c191c96c8b8c014d140ff033b1e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ac59782ab42685e821d22b5de3ebef0d7e239563407b52739c91e5e6186e3dd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ec1492d3dbe858aa037241086aa36845806595b0cec955e91f15918a8fa71a6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2da33138ff65b3e63494a3aa94c84db49eec362d04b9f72b8df9f40992257bd2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c28a7f082acd0c53f37c5991171ddea770cb460b0bda1bb85e9deebe4d5b2ca"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4043ba6fcab3f38ffe9135319c89c8793bf8bac59ff788368447ac7aaa3471e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da2b18cf8c9f33f6eadeb2f125859e852519283e6f321807d7454484bbcfd94b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 34 of 303 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 303 of the 490 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: applicationset/services/scm_provider/aws_codecommit.go, util/helm/creds.go, cmd/argocd/commands/admin/admin.go, applicationset/services/scm_provider/bitbucket_server.go, util/oidc/oidc_azure.go, applicationset/services/scm_provider/azure_devops.go, cmd/argocd/commands/completion.go, applicationset/services/scm_provider/gitlab.go (and 26 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"applicationset/services/scm_provider/aws_codecommit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5866ad806ffdfaff472c72f05f6c8f6fb8c819d3fde14ab831ad0b5dd2536e1"}},{"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":"util/helm/creds.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15852eb98aef37eb4b44ec158e76de1d9ffc24a37223a0a6c5756d4939f0506"}},{"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/argocd/commands/admin/admin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7125961f535529e01a5c1b44f2bf8b219428d5d8e03263118998394dd9e9779"}},{"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":"applicationset/services/scm_provider/bitbucket_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6556041016f8bc2efd4494d78ef3325a176715f7994581569b24d2ace030b47"}},{"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":"util/oidc/oidc_azure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664357d0bea209abb337f5ea8afee71a29fe696b96a375751c96a997e9c00e4"}},{"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":"applicationset/services/scm_provider/azure_devops.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6284c6005ab2f6f7bfefd05112bd5afa344da4b02f2fc40c9d2a2c1ff301c3"}},{"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/argocd/commands/completion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f479f7f1e01eab1509c48581780bbfdfba9eacd28db46d809dacc8a0a69796e"}},{"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":"applicationset/services/scm_provider/gitlab.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a41950da5fee9028fd65a69ac2ee7ce137755d9c376618d8b290ae17250d7a3"}},{"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":"controller/sharding/consistent/consistent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476fe32937650862bf469869ecd2fc4214cd14aa654094f6acb545878c9a21f"}},{"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":"applicationset/controllers/clustereventhandler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4060aa95ccf561d8d7d8a13da2f5e91bf2f8e435a7e066fab758f7fd9787809"}},{"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":"server/rbacpolicy/rbacpolicy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"384027128818400409b14db8af32aca515ccf87a97a6e6c0b42a8912ac832c28"}},{"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":"applicationset/services/scm_provider/bitbucket_cloud.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43f02e48e64f73ebc1f299fff3e592753dda378f81a798d8b89b6334f13a11e"}},{"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":"applicationset/services/scm_provider/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7420d324477ab10f30a81426e2b47fcabcfe5ada9ba5da70d7fe026294575c7e"}},{"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/argocd/commands/admin/project_allowlist.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0287997366fa7bebdbc5a64bfc6395a1d5a2401ba68b931239c40d0303b006b7"}},{"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":"applicationset/services/scm_provider/github.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9a90b7e0d23e1922d3b29ebdc8c4b13cf1b3f40186c6634e8d11144d744857"}},{"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":"server/logout/logout.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60cfc8ac5aef1938cdb0638c834001276bac1d9db3a3a80332609629fbcc931"}},{"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":"cmpserver/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19133b79abe44e398ee4292176a586f40e305f334ec7e2ea79b8cb3326502b9"}},{"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/argocd-cmp-server/commands/argocd_cmp_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab5f7d93271aa3a5ffbd73fbb53d09e7bfb036924d30999579241443b8d979"}},{"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":"applicationset/services/pull_request/bitbucket_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb363980733dec22025e2299da8897f5ecf0c1f312390ed179e353c26f6b8d77"}},{"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":"util/grpc/grpc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac586ffed694a3a70066ea5f38bfae3ebe0960f525a8bf2d8977a874d46c6c7f"}},{"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":"util/password/password.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60788630ef90909457a85d45be05f74408d1fcee37837c122c3006d347908dc"}},{"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/argocd/commands/context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d8b0bc5e77114a17af37ae03cc08c6d5b438eb7b50924606f2b74bff0edac"}},{"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":"util/versions/tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87942d6aeecab4c14b683f812884b912d1dcb63916db87cd2c6b69ac82d7cf61"}},{"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":"hack/gen-resources/util/sizedwaitgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fde52221956f20fbd386e46eeba4fdda765886dd6e094383e5f3cd2675399e"}},{"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":"applicationset/services/internal/http/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b612ae8dc1fef2cd37d4df750e6ff21142a13bbc6fe6508212fb8a602e09c3"}},{"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":"reposerver/repository/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dff36a14093ec44aa36f094d2a0368f4378b37486d587d9b9b42f4d1dc099c"}},{"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":"gitops-engine/pkg/health/health_statefulset.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7ee8296973f906b1eea51933060c60038d93d245eebf6009197791f487ef04"}},{"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":"gitops-engine/pkg/health/health_deployment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c4d9dddf24b1959bbb0d658a50412cf0557a844f0fb7f79fb1657217eb055"}},{"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":"cmpserver/plugin/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c977b0aa3ca903e34a049bc1f7ef927a8da9a19df97dd24de8f11c1ee8645832"}},{"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":"gitops-engine/internal/kubernetes_vendor/pkg/api/v1/endpoints/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"862304f55331fb746d6f1e84a43b351c641bd08caeb1fc73a4998f1b17f61d2a"}},{"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":"gitops-engine/pkg/health/health_apiservice.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20076fc6f9095c069dfdc516309463a5c873b799d3838069794953f002d4e80"}},{"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":"applicationset/services/pull_request/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e72cd1b6727be58068431cbc9508322e853a4db2438aeac16cf879252d19586"}},{"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":"common/version.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8017569945192a8c00a5cf385ca11f71610b9dafb6754a84740807a9396047fa"}},{"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":"util/settings/impersonation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada58b728726b79f575a2ee503acf2e9058ccfc12e75228b6a2de7267e1ab6a5"}},{"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":"b9e68d22496ffdc8cff98cedd92771223dde4b4d85adcb9e9452d8f7bd45b174"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"gitops-engine/agent/manifests/base/gitops-agent-deploy.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1377e83b667cc09dfd60768e15366fea22cb432be7410183de988f1313274f89"}},{"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":"gitops-engine/agent/manifests/install-namespaced.yaml"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc47d43f3041bd4015361cc63618f57d0482da1895fa74decfe07cfbfc2e3e85"}},{"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":"gitops-engine/agent/manifests/install.yaml"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ad0f94b2b4c1c4dee08de37c637332dc51fa26f0677a997268a8230321e316"}},{"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":"manifests/base/application-controller-deployment/argocd-application-controller-statefulset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f876c7d2456b7a06ed69663340b8c2188b47b3ccbb66b6a7707490cfd73dfe2d"}},{"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":"manifests/dev-tilt/ui-deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3887510ceda068fc27704d281369451ab950a9f2af2d81f06a6667ead75580c0"}},{"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":"manifests/ha/base/controller-deployment/argocd-application-controller-statefulset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"db52c7578c77a40a0595eb65c8740561adbd32436b60a7fe015f1674819cd423"}},{"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":"manifests/ha/base/controller-deployment/argocd-repo-server-deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dd32d95e39babb674bceb2f3b184dfd166e46f7a703357d12d27c62628ce05"}},{"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":"manifests/ha/base/controller-deployment/argocd-server-deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad1720a1aa6a9a8cdc6cf9f81f68281e8cbd18470ba68e75df9d670ff650e1a"}},{"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":"manifests/ha/base/overlays/argocd-application-controller-statefulset.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f2bdd8e315548e52007d61048a3cdfcdd258b17b7a27cda7077b4f1fe2d254"}},{"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":"manifests/ha/base/overlays/argocd-repo-server-deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bac4cb1a66c7a6297bcd73ccef8eac13c2d664fc8cc6fec6351fdf9fd585ba"}},{"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":"manifests/ha/base/overlays/argocd-server-deployment.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"181031990c0a5cbb24c80d568d5a33fa007a583b6a511ad07ed398196f691696"}},{"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/badge-panel/badge-panel.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"adca2e71268d9652ac98f5b6a5e9499d8151e050409abc2689a03630bd7ca676"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-create-panel/application-create-panel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"79059e248b0919dc05cc648befaaa2e39a047e0a45cfd2615ad0429bb2015484"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-create-panel/application-create-panel.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1c354f66e1a36f0d9479e3006f92fd934f90ac7f88518bbdf9d7faebaae781"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-create-panel/application-create-panel.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2367b390e93c79b0fcfa7215769bbbbf08801cdcd80c064b7e0758a20a6e208b"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-deployment-history/application-deployment-history-details.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2a2d80cc9c6522c8e13205f507b634f43f596734d16e7c04c238eacce9b091"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details-app-dropdown.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"82929ec3ee02fc739c518b07bf34cc6ef91898292725498e571b289755ca80b7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-operation-state/application-operation-state.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab2646a946f7f6e4cd12019c0cb7a28e7eef000dd1987e3728805501363d80"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f05c746d844dfb073deacc1978336045185d102558c80b95eba2f1ccec2cf8"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea01a9f36c0202aafd29ef5270511d6fbdffc4e6f2701794acd58e961c8036a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94cdad68e5170dc446e1ff57256b631e85ede803adaa42058e0381ddba2967"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"b361981132c1906705a9cdde90f3ebebf8fb0d0228640099a730914a32ed99a6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/kustomize.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e027506d847332568c2b9cfa2b0770b755a9302b65146fe0d8aeaab488e2618b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/kustomize.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b37246509563173d1f476da39df0614b67e12f35c069bb3f9923e4634ac74c"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resources-diff/individual-diff-section.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa3e61ecefd3d95d0c1aa1b8a914a17c79be273cb04b4ec7b5bc2d848b29c9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562e9582224574a4b55d579fc31bb7596944b0b8834eeea933a7f2238ce938a"}},{"ruleId":"AC2","level":"error","message":{"text":"Clickable \u003Ca\u003E with no accessible name: This \u003Ca\u003E has no href, so it exposes no link role \u2014 but it carries a click handler, which makes it a control. It has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0d3a8237407161cb27d7cc2deddcf9358f812441bb04fa9c8a0a0932f041cf"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/application-summary.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a8f1e26d38cf7268e76427e6fe70b3c6af3dc986fbb540148bbdb48021075d"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/application-summary.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd86cb870ca159166172135f4c861171d1930f1ced34d27c0919079ab98c6edd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CAutocomplete\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e460819aec78822237ecc6e44e46a1e6d96e28fd8c8e4b96b4584c12585270d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad7daf0d1070ef0ff0787ed4fd609f21e13dae2d8c587f05ded3df378b7ecd1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6306da49c67082d71c9ccc45b3c184a38c1fa849f5f0af1116b7b41b5d6e3a07"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de748f2d58f2591e52bbcca5aa4020c1fe7cb88d34dc938e002a542f6822d83"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"961fd28016470e313250d9d82bf8be091f67d65953668aff5953dbbe30dc15d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-options/application-sync-options.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31ce90824e3b7a605a7c03d601ef17d531b547c9de336042eb0c2ced63ca5cf"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-options/application-sync-options.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb45c13c63e859283d74565b1d6b9ae2319e02816b6813fb1803b3d31fb87dfb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-panel/application-sync-panel-body.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc889d9929007cf57c29497809c1dd14252f2d934609cb7a03572b798a303c1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-panel/application-sync-panel-body.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56d9be4e297cc88fb853a6554946decec56ab435794be0dc3ebabe1f236f2e1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/application-sets-list.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb19e000cc4e4464effd02f337466ee01523565da9454d0199527c9e3e03b05"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/application-table-row.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c791110e958afef2f444ce9c910ccdb971d9befa72e1c754dd9e4050cfd257fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/applications-list.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f671315fccff4a611115879ec78bf1faddc3442e081fa5d51229fdd34c9986"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/appset-table-row.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ef3f9087a0698ffebefe995d5e80049e73865b709c7870ded284626c53cba7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"098347c6661cbe429d43a9669846f5fe5f15ae9a82e9a6c177a79a070dfa4126"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bdcec29a29d7b992942c0d409ecd0d3ac6cd46d9d1ade9ff79b63d14560c51"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f09457d1986ae17ae11c131303b81d7eb2acb4567315bf52dea7b1ccd3dfcf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-refresh-panel/applications-refresh-panel-body.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ea24bfb9f62abf70fbccf37121c2ab6168099830c520527970ab157264a7c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-sync-panel/applications-sync-panel-body.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ceddac5e3528cf9dc04e050aec1d75bea21a72507dc7930db9ba2839fd14e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/filter/filter.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e7bfe9b0ffdd28dc10efa449d52a78148e64c19eaf9f13151ae3ab4b73c78f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CAutocomplete\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/filter/filter.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb2ed4894ae504b5a45b8a84751ffb87de135da38be26c01be3407deadfaad8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/container-selector.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a79183d921eb7eb0f4acb3443913886145407835b9efd83e4cff6470fd1853"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/log-message-filter.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"da63ec9bfa50411be4f634580629c86d847585c5fce5ebfee83af1f6e12bd12b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/since-seconds-selector.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"691952ab5cade000e9d321e0df5c1e79b9f80e5f565893c5cffd92add34e2159"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/tail-selector.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece0447a87f3b7ad05f4220a2df8800a6cdfe2fb47124f1ad851178ed014bc1e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b67f2216915c0a080c1ff3b596a059d7fb4132bc4babbb651c8849faa4d33"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f36217abc0fee56aabae46c0cadb0f757ac7ecd9c64c520e74bcf2ea27435b2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d157d60a8aeb02858ed8cf93cbb290ad1f33e411188774e8d7afc872f2243070"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/appearance-list/appearance-list.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814114a5166a0450f6ebf744173e2d754f5490b807fc250fbb60bede3667ac3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/cluster-details/cluster-details.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed6f8153cb4ad31917d3f6d9ab1ec739073d534aca6a94dbb03c8897734a511"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb851cb85b86909d51a2f49823b5435a6d867c02779f3ce025a2c296ff57b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8cf740c61da0c70b417106cacf33297a813219df68e0daead427f0c927e17d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ffa3f49635b71ffea3cb5cb5adbb2d8d59020e3169319236f575f7ba498e1c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ad2b33c549918c47d0379391bcaa8a657c23921dc74ad131cfd16e3a7bbe24"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb54941bf38cc6c6930f0cc2e78029506719b1777731085ce0902bc11f791f98"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"65892e5f9559a5c912734660205f096165d01adc4fefee9360910703f6a7795e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b9798ce10418a188e7bd5445e6a5c0f202373416f624a171d8afb090718cc1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ba627a0ce619fed1bf5cba4776d830e8fba7fe2d51e2b3b03803fcd125591"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20f4272e42e2d39c76cc4cb83d24fbedd1742526894a66e728031c855ab4bf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7afa31ae88c3bcf96ec68884d5243badd33b0e67154582112b8613cdae642b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/action-menu/action-menu.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb29bdcc7991d22ff75f4f5b9e962e799bc02883d55c5bda4e2d3718980d855"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/application-selector/application-selector.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87961da4a25534a3024178c4cbda5bf69a4b07f9ff486292cee22cb9e17ecc9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/array-input/array-input.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76abfd987252c37f92749bed65939a42ab383b805940cd217f7d646d18cfa13"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/array-input/array-input.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7038380e4ccb21472aaa1a522ebec10c46a1905e9d385486426788c20697f13"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/array-input/array-input.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51d73db9322623e2384a67dfd0b82411a785e6abf151f73baf446f7762a5d16"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/badge-panel/badge-panel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"201195d9ab480ffd0f74043ca733a6b12d4574351e188baa9f40943532d82e35"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/clipboard-text.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d1ee82a378879eb140b662c4fb7371acfb4fd72d6d2194e4c312d9a9eb6dc0"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/editable-panel/editable-panel.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"477f5665c1982af3c654d0e356cea1782c19abbb13f6bee91b75d993c82f8b7b"}},{"ruleId":"AC2","level":"error","message":{"text":"Clickable \u003Ca\u003E with no accessible name: This \u003Ca\u003E has no href, so it exposes no link role \u2014 but it carries a click handler, which makes it a control. It has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/expandable/expandable.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec84016f3ba6c04dc47d5369f850e3876efbbb6a012f934d8d447d3ef0783f7a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CAutocomplete\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/search-bar/search-bar.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee882cbba63272e71daed7675b01820cec658b19c37e703e38d3e7ca5c625407"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/search-bar/search-bar.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"750fe816b496d46060062c4bd42a278e2647a64456f99ceab855e40624b8827b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CAutocomplete\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/tags-input/tags-input.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732f51b7f9fb548ad5242c001f3c66a13b9c8647f816f73d8fa5674cba447a9"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/sidebar/sidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f879427b14af1dc89d128879e6d540cd40531d63fe861ea5eac890eca862c3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"360df83081c4a8600b7791124d686e57130619a8b43bf51ecff148f69cfce75d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-create-panel/collapsible-multi-source-section.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87a84d01f7b71e6724dfa7b6a0558f7f1b08f1d24502155f1dd6c8cabebde62"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-deployment-history/application-deployment-history-details.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea7bcd7b6099046ba4b4e8b6bd03fec8c8ccb6609dfee0086d1abc96813fe7"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-deployment-history/application-deployment-history-details.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f637feeb163e2c819cb96cb9d6c9f169375745bd49327c335edc25369e7d328d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-deployment-history/application-deployment-history.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb33bbc5629586074971342fdeb30bf850fc428d47d31743b0af977385e3b4a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-deployment-history/revision-metadata-rows.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37710e22b32184c349d5318af8eae3209c29f19f5bf05edec65eed95f7eb0a6"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details-app-dropdown.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acfac986017c697d46c38386d48f61de575a0b44bd016c3210f41e8e45c1f6c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"93934301735451481df40baf5205d071b9a9cd7e981ed91664becd0716e5ef0e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd0a385c4792e223e7f273403c4c9d6a8e351b8f54220034fa7658f236bdb3"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d0b88a0646eb3bf7f396babb75a02a628ecba77b1621cd256c6bb1778a30f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5df8bbb5adc321c11bf66b62d730a4e52c40643c4f8a9d2cd04329e549eec1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c71c0b2cf7526eac012df6e489d57057b944bdd1de2786a5b10fa9203bc44f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9432f5ab5908cc2e678185eaf7e4cb27d51e2328696480f35a56d93dd00430"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4947fcfea6b9c49cd0c787249764f0bb8bdc8559261f3a7cb55856a9147e704"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d923e64ea233c3f74b525814d145f236ed627bef2576e660f31075a57d244843"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec265a36dadcd39407cacf8185ab055d81d7783e5b01595aac9ddfc0483b26c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d92c4d3b14fdf0c1722d69750972a4641346d6c818f42a6b8cf5548b9d687f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c04c9a9446a0aea5ae84819b2adb4307f41eb5e6c7baede28ce64b78ce013c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a5ee2c3cf333db4c46e10dd2af76795675672172086c0fbaec8bb7816b69b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca265e5a12b0f402d8a991bcbd3a490c4755f36d2656431693da280e0953ab"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964eb239708b6758ed78785271949ea486c5869f51b7c865903ec65abc34e45"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"275c56332ab3073f2166b7680eb24a51c4e34dc38d5f5eadb03a5d39a952e07c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9592e1a4af51fe24b5d3fc6959bcbe553c7d296a9368d0012abcecfa611b22"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bafe160f93154e3f4f2e609e9f1c67b91faf46c4f758470da341e702587cfbd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e60edc3273fdc1fabc21e61836de8ed91e92b8debd01189ca31fc81e0749c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd269b78cc2be0ef9317c2d05368b0f23734159618e16523d73fb1278d566d95"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63e8e71946d5f4fa3f68566f424256bb992b7a57a7e61ca4557c5fd87999efe"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2deb7b0cddf214cabde1852a447928ff702f9a670225d0bcd76090adc748f2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1969a7d8058ec9850df284f42fda358df0b4298ccc427aa90d4604e26733da"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-pod-view/pod-view.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cef8682e325df5e88125a80c32496db515736b325a9362f7c001d36ed3144d5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"897c216f2861b79752dba1a66cfb861002682c7c383a6f444be6321a2ef87359"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24b2f5242ce862a05651e680bc1a4af754b71c4b63966dbf6a9046f26da42ce"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f359c8dbbe52178b90be0c81f9da6bcbc5a25ed545c023995bd58c1a84f8dd0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec91f3345e21213e9348538bc95e754f6b96db85af7ea8ab963eb04ad9c7c1c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4ae6ae4a1bd40201a6c352296c7c5552ac6f22a314f6929b69fd54356d1b57"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"7400066c5a85d480d630b9e0506ac118fa0dc4d5976a0257817af420354f696c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"515b917d306247e09f4b2bdca4d7cf549a3f57396864ab727d434471e2f20d40"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf8ef06e951f8cea34375d057e456014ec89bbfc21cd685746bec3cd11b093"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf94bbbe0384d873f2e0cbbaaf50a56481c3c355fbc8a70180814a56b2db86f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d66ecab23184effc4a32bd2fb4518e923241fc828e11caee61eb7c94a87c78"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec8187bf52e378d38cacdbea085f22c7d543cef83fe360450ca8dd7de08a99d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resources-diff/individual-diff-section.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"521f8479f30dfe1aaaedc588704e93e8466d210fec46598912b9692737c34f4b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b49d4514142d8436a8676e118a6d6b6873b10a8039cfd430924c6fb925561e4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb48721905b920b6daeaf4d28ff647f6cb5f84345244f132ba39f81a25685b0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d4642030cf40256734ee2a4576eef2ed724c83c61da5cc2ebd47e3b0a75973"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/application-status-panel.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a6086f9bcb9292fd0f251519b906e64da7af3135c282173e29471983fe0895"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/appset-status-panel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a373b722767e9eacfd5ac4335a9a4102da01793e70b00959b351f4f70ebf2a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/appset-status-panel.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2da32bb4d0c59dcfc5451a85345e5267bba939bed360854b940eb2af819f9f5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/condition-counters.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5224982c3b0315972fd58977527afea3228a800ac38a19b848fa4a108c76c1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/condition-counters.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"89835baef876e77a43aed4f568441c291dc6a5d71ab486ab80486e17df87ba62"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-status-panel/condition-counters.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e7edef2ae532a46dd47e825cdc471dc66e0782511841d4a090c5c0dae0f4fc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/application-summary.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14cf8e2442b0ea51aecd1e773035d3697c2aaac1c3780b6effd9a0831a437ac"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/application-summary.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1c0f9c1ad36c38be38053faa2c980779f5e5f6de31351039172674992d4ec"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/application-summary.tsx"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a7fd2bb762542ff3ed98271b799ccacf9259ef5111e21a42dac9ba6cdf69a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-summary/edit-notification-subscriptions.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb44183289b1733c7c3ec3eb36901faf9092fc5b7774df7eee796433474f9f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-panel/application-sync-panel-body.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b941a5646a195f87a61a9d9eadfdaac48895662967ccdf679c8245ce050cfe"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-panel/application-sync-panel-body.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf48efd11c0f39b0fdb1d5612ae5ac9a7ef33875da419c4226c36848fa1d80c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-sync-panel/application-sync-panel-body.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ec1c81b24204990fa220f7ed5c4f80b76a75011d535107587307e53d1ce77"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5005feb512247fe39c641d0d00bfb6789d830b5b0be7df962c4b10cd422f80"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ae9466f9954f4d57726ac88ad66e41cbe8612a0e093382bf22d5732fa5b741"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/view-type-switcher.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7522fb2bc349e7e82a65b83cda3815428c7428e7065010af6c95213df58c8143"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/filter/filter.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"110aa096d06c709cc0f70c92cabc375dd93575b213dae114cf85bebf4264c83c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/filter/filter.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a0e69d4858e990afb64fe61fb1186b983c733ec2808c4e61af05a6c8a71866"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/pod-logs-highlight-button.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"62027cd244d161a5debe689fd081a39789e74fda8693751d52f2ddd9b36394b5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/pod-logs-highlight-button.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be9d2642e280ec18fd5a20ca1d2ca9eea825afe837aabf4be7988e14ce9ed25"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"39474d07bf47f842145250ef180f9365e6f9c3259dc32554c83eac5e63befe82"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-terminal-viewer/pod-terminal-viewer.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"702641106d64e3d9b445720319aafd63cd0afe2d3ad2b169a75bf24e15f870be"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/resource-details/appset-resource-details.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebed5c80d0a14867bee4b1efb3f2e9636208987422cc7b72cf8c6b139c3eeade"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/utils.tsx"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"b402701b8494a8d73ef2e9115da88aeac1f96f8c4bc428863f492886911a7899"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4252472f982c8a22572bd40ed78f2586083e2225d06d137118d8f150c44ecf50"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1129b350e0e3e4d7a2aa662a72c5c1fd4943b9bdc2d7529bfaf3a1b31ba90a9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be3c80f287dfe44cf1e352fcf303c1ce60488dddfd4159d21aa3bce7a7790d0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ce572b870467c5bc0d353c48b261b356174dc04744f9241be0c26856a50f91"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfcec39c0a715c3d460f0cbdcb2e3ab05c396c529caff732ded68de77240518"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff771b4f66f61ce2864a4335b435aa9895ced99e8c4b07dcca6387199d62d258"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0fb321968becbc8f51ca6273d1434af268fc19171ed1fdb97bca8da9e59965"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-table.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9193ad00d00b63568c5020703d373db47d3065709b183738de26d3fe0d443d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/account-details/account-details.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bbab1dfe04bf85f72b0947525aee15c9682262dc43872af85ab89fed1f90ba"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/account-details/account-details.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba603a453d2216e9e688f54f07fe90db35ee5ebdcf4ca6fd4fe85e2d51b27622"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/account-details/account-details.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a154d35b88c09f64e391e1226c9bbbb8e55049fc4570756885f1f64ab0cab1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/accounts-list/accounts-list.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f39b8dd734be53837f756945aa86091c8199e012a06cd74c3e5693bffe05d35"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/accounts-list/accounts-list.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80503a1e5907d668b1afb7890086f68675c6696ead8d33b5cb21d65f98a80f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/accounts-list/accounts-list.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be12fe363bf6dec3fbaf98caf80b3804cd2c32f7b033dca3161f406c642dcfc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/accounts-list/accounts-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5074be927aff3f60e6ff0717c597f01de3d3360bde5a22336b4ee6969fd7bc7a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/certs-list/certs-list.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c61aa7932767284af8218fad1f4ac6724e23b6384aec869f5ea0eca3b4168a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/certs-list/certs-list.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4459f831417d9ea1da5e9d8fe85ea285dca54088c765d1c160eb831847abccb0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/certs-list/certs-list.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae699d2572eaebd0b587cdc406693162b98995193b799f62b029ccd3c8a7b53"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/clusters-list/clusters-list.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"042ddb1668aabec063c80d2480d0fb435de56dcea7930c2395d6d08fc9ca58c0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/clusters-list/clusters-list.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e89d25d69481fb0445008c96a14bc65e50b391ca09ed57b910376822d738e2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/clusters-list/clusters-list.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6ce1cd70d9efedda38b7a781817d310891ce3cc7d6a66e1cf969f0db27b135"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/clusters-list/clusters-list.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f26356c6d9fa4f2bab3df1601d128d9cdc4cb2102695436e34769b341c227"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/clusters-list/clusters-list.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e37f3ab96aa50db072c15371ad1779536b027b903d93c01a1d9cbc80a49a84"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/gpgkeys-list/gpgkeys-list.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4447ea459d64598aee38204e4429aae6022bd02d2b526c8a32de76d140a500cc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/gpgkeys-list/gpgkeys-list.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c6be0a4c8045e1f18e9a9aa262e7af05b4a7ccbf4bad08177b69414e50501"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/gpgkeys-list/gpgkeys-list.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fdf7b86c82bf03e863f85f23aacefa6ff8716ee9bb1a38f71866cb46aa77f0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0504e466157b5bc9e070b6aa5c6ac329cf0a31e6ddea2f3a5b42c616a40fdc0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c6282c155f93cddf5e24da9a724e530320facf62b0b2dce2cd8e846c301a7c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a79b440845471c5ea1d4a3581feaf1c738c31a9556de0862f8289dfcc94bea"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f0695c5e28d294348952d2c4c31747a41be60005c5e8aea1d02af83971005c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2218079ce6d9bd5509badd93685b28aac86128b6718c498f2327a12a93c2e1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/project-details.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff8380c81e6fe1fe878840a01b5aae8f8952f208414064df0bdf280e9ce20c3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-details/resource-lists-panel.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"467ba51052ea5da44065c01ec9f5aedfd3ebbe0d77641af305269bac19ed7ec2"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-groups-edit/project-role-groups-edit.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"84193cb6b5d0e5044635ee3321f408dcc9ae39fe5abeed8f5499f4e28dc27049"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-groups-edit/project-role-groups-edit.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63910117599f995dc8f9a021083e55a099fc40d8370a5339b3df4090041c5c0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-jwt-tokens/project-role-jwt-tokens.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5437d5d553789f94c8108148f32c3f2b456558be70de352059220ac1ddaa2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-jwt-tokens/project-role-jwt-tokens.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd8709d8e4092b5754ba148a055d041dfeb93fcfa90e9dedf616549db74a4fc"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9657ae7d94b447e7f88e0f1ee59ab4b9a998c6291406f242f9965424e50598"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-policies-edit/project-role-policies-edit.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618b3a8036187dc7270a08512812c6c7df0803c95fd71350908e8dd15d3a93d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44675727971ea742f6a77d3ae54c66a223496e510be14f2c2eef223aa58617e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefcb05dcbf7e01fd6d7f3debc752986dc08c415888a4927036721aa6977fa45"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a26c41f1975c50557674db97e979b205a564ca1b7c5ff91708eff53fab4812"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-sync-windows-edit/project-sync-windows-edit.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab9931a7d6b9d0b9392c9b4e4301081a9a926826d1c514b4f3c8641d0086db4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/projects-list/projects-list.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c5e56f780343585458f12e4ca65a4d27f5869561192407d0dae283098f9b61"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/projects-list/projects-list.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2ef28f95ce890f55bbf842e9d28bf6a1b1888385f69a663d6a9aa4818585f1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/projects-list/projects-list.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f7dab6d2af97ab90794a7ebe5b3679fcd434ff02c60749c59a7ef749812aa"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab761cf9d786f856b95c8a4c9abf45741d16df5e8714acf6b87388a3c06bd92"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba5476b69a9f30f84a298b60e974f8192d248d208d56a3722825bc06ad142fc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"baee6507786b942a043b33279bb12dadd286df50c337d82ddf99b0cb890bab2f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c11757ab7cde8b569dc360c3ae5155c9516c65647bd157623ff39abd91097"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dadcc635945dfee9eb8076eac75a57c95ffb69e612031a578d3f9a914c84b5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcae8dbb67cff442ab4c6caf989fc5c9fdb4b6e9fdc8039b7521fcdde5e664b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/repos-list/repos-list.tsx"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b862bfd0ae958544360306ac4111dce028449813f4def22a042c4e7a5aeb54fc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/settings-overview/settings-overview.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"783e7bfe35e3fad9ea3d75c015a02353ae0d5f922b55c23794ba91866d73d1ef"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/application-selector/application-selector.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd907ba28bab418320fc5d1ac437f7de9f3f765e1458355951f7aa5dd7ed3c11"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/application-selector/application-selector.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2776364f73451a6e27d6201dc6edb699191559371aff464c9ab140b3cd065d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/application-selector/application-selector.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c51aa0782db7ca3dc13100d3e59cc6a14b2cc381fa28fe5f7d62cc9ae60772"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/array-input/array-input.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb05477c70abf8ef9809f09ea0f5073a76634250c1bb6948a77209885badc1d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/clipboard-text.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6692493bd5b17cae167abdd70bc6c6db225d66d4ec633371f5fbc6e6c44892"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/clipboard-text.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"55656a1269f6d15c721c964a544bf7e9e78741147b2634d264cec5f5896f99b3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/editable-panel/editable-panel.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874f95c8cd275fd1d3603b3b7b8afaf7cb4f4d609c5b6ebb733171c426b9aa7"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/editable-panel/editable-panel.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"05766044655fd12ac158f3158fe0c63dd2d1760b956fa2e72afaa7847ad4b0b3"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/expandable/expandable.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a7d44ff2f572e48d6e6e8be019ee1ecfa7f60ce67edb77af41daa70b930f9c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/search-bar/search-bar.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f479b98687ab51f53d101c2d01d7cbab3de729a3c5bbedb7b00cab9eac2e7f9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/tags-input/tags-input.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bae7076e1d302aadf495e5c27358ec8caa73b6e75933fd22c6c1a33a3c203f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/query-client.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5c411e1b07f6676d7fdf4eba224d2fe920e71661e972602daa332c0ee2fd67"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/sidebar/sidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d3a493805c6c4568c553f44de124be4e12ac289c964549fb63f0d7240c97d8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/sidebar/sidebar.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd532edc22069530b210ec03f3b138ee9a2015458df7daacb47de1b3f64c311"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/sidebar/sidebar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b1bd4f9a5029e3ae705956e427e11afe99cf01484b9018a202276851175aa8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/sidebar/sidebar.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd64cfe56504d8476d8f79c2f265f5cbe0a60020855fb8f81c044fd20eb3f8bd"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/ui-banner/ui-banner.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ddf45805a1af7d66f6a7f4960bee34cf12986b5766f6f4732c283867791ca9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: width 0.1s ease-in\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/progress/progress-bar.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b5f9f05da0da15f83533b53bea907e42da9ea4c1061858e83527a21a2019b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.6:1): \u0060.project-role-jwt-tokens__expired-token\u0060 sets color: white on background-color: #8FA4B1 \u2014 2.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/settings/components/project-role-jwt-tokens/project-role-jwt-tokens.scss"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0381e2f11feb4a4175bdd8e36f4329c5a70d9446f5798d987411101e1d0ab9c5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.tags-input--focused\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/tags-input/tags-input.scss"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0de6abaf5708bf98fb8e15a523dbdc3078e9259bad52780e6754cd0d84ac384"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.resources-list__accordion\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.scss"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cdec79bd46f28df7fc564c7f4e1ff9190f90cc9633fdcb111cec07d4d61856"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.pod-logs-viewer__settings .argo-checkbox\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.scss"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a93faff16fc32710e742230e2e2d6a1419217809718e4e96c4beb755cbac516"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.applications-list__accordion\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/applications-list.scss"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e159a4bce93fe743f5d2a17298bb4685aaf42e3b088e6ccdf88248b47cdb7b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.applications-tiles.applications-tiles--virtualized .ReactVirtualized__Grid:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/applications-list/applications-tiles.scss"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5142d6efdbf7538db1cd4aecce71357439cbad8c7b5c72bac4961b445e22c1dc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.application-node-info__application-external-link:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-node-info/application-node-info.scss"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d729852b7e96fe0a33a8893822bd3b796a58f87fec7ab94458cfea9d3d9a94"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-bar__input\u0060 moves (\u0060transition: width 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/search-bar/search-bar.scss"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a001e1fe2c7ff9673cf9e3e7d34c2c7506ba249a28725593e9c9b8daf47390d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.expandable\u0060 moves (\u0060transition: max-height 0.5s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/shared/components/expandable/expandable.scss"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea7eb84fc9ce2f60ed8b0c0d7da1bc0cb506606af64cbe81d5fb197b5f8a9fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.resources-list__search\u0060 moves (\u0060transition: width 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/resources/components/resources-list/resources-list.scss"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecfef300be40a9dd7a5525f22621bda45d4c08c724ad1b74568d4d051c946d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.icon.spin\u0060 moves (\u0060animation: spin 2s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/utils.scss"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e032c5e435624626596afc32231790b69a75a86988d763c49352e5746fa559"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.application-resource-tree--network .application-resource-tree__line\u0060 moves (\u0060animation: network-flow 1s infinite linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/app/applications/components/application-resource-tree/application-resource-tree.scss"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20c310d2c58d53da119d7809b787c6c0fba3a605b34c25f2d64710ced25347e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: commands: Package \u0060commands\u0060 serves requests (request-handler function literals run on a goroutine per request, and every one sees the same package variables and captured values) but writes that shared state outside any lock (handledRequests, tokenString, refreshToken; e.g. \u0060handledRequests\u0060 in \u0060oauth2Login\u0060 at line 345). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/argocd/commands/login.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce57f3fb5b9f27a1321e7194d760cd36893dfdf8e014ca53553259af35032897"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060hack/get-previous-release\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"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":"applicationset/generators/scm_provider.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"250031a4aca73bcd0ea1525cb8a00fd18040622bed580c59d13e859aa3f4084e"}},{"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":"applicationset/generators/scm_provider.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5c1e2b8adf3aca8c5c2ecc86de89b97eee618b53e535149e559d8649c0320b"}},{"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":"applicationset/services/github_metrics.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"736482285d137412a9b12290ab13a03cf4384fa4fb22e516e956e39faf724c10"}},{"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":"applicationset/services/internal/github_app/client.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ae7bb00a7e509cf2fd7c4e89f6e406d7660aabd1ef01d7af05618b038d62f5"}},{"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":"applicationset/services/internal/github_app/client.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbb28807cc6d19bf9cd96d5ce8e534d9543966dee8a91d06eea711767306ff9"}},{"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":"applicationset/services/util.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45799dc449876fd30deeee0c80a28ee16e9e00975d91d91aaf641dce1a7b47f"}},{"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":"applicationset/utils/utils.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1972fb2a86a85eb6368fc6a2d5f7be451b3b870ee2dc51138160fba200db192"}},{"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":"util/kube/portforwarder.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b2ab847a36964e694b079ab2d6ba48d4f3596a62fbdcb092df030c7f1ba30b"}},{"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":"util/oci/client.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"249bb4eb7e4349aa21031ffd1ce152ae9bbf6e78e0c379a40cb139ca76707c5b"}},{"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":"util/session/sessionmanager.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e25c129b6825b70771a82aeebcee4b51a9fa8a8e91d32b972979297ecdab4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!repoServerPlaintext \u0026\u0026 repoServerStrictTLS \u0026\u0026 tlsConfig.Certificates == nil\u0060 appears character-identically in 2 files \u2014 cmd/argocd-application-controller/commands/argocd_application_controller.go, cmd/argocd-server/commands/argocd_server.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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7becd15eba837ffdb5283abe76b90b3395312c9808c636dcc2604de201f746"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tlsConfig.DisableTLS \u0026\u0026 tlsConfig.StrictValidation \u0026\u0026 tlsConfig.Certificates == nil\u0060 appears character-identically in 2 files \u2014 cmd/argocd-notification/commands/argocd_notification.go, cmd/argocd/commands/admin/notifications.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/argocd-notification/commands/argocd_notification.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf25849d759e7457dca4fe418ab3068e1f2034dda05dda44d24f2beb60774c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(repoOpts.TlsClientCertPath != \u0022\u0022 \u0026\u0026 repoOpts.TlsClientCertKeyPath == \u0022\u0022) || (repoOpts.TlsClientCertPath == \u0022\u0022 \u0026\u0026 repoOpts.TlsClientCertKeyP\u2026\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/admin/repo.go, cmd/argocd/commands/repo.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/argocd/commands/admin/repo.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeb759da35efad4b1c856bfb705e9365c9e0d0898d9a90341dd47a8d1b84a50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apierrors.IsInternalError(err) || apierrors.IsTimeout(err) || apierrors.IsServerTimeout(err) || apierrors.IsTooManyRequests(err) || utilnet.\u2026\u0060 appears character-identically in 2 files \u2014 util/git/client.go, util/kube/failureretrywrapper.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":"util/git/client.go"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a429fe6deb24edb8a5ee7758c691ad9e96b90ed9f4d6c63447eb05b20bd93e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.Namespace == a.ns || glob.MatchStringInList(a.appNs, app.Namespace, glob.REGEXP)\u0060 appears character-identically in 2 files \u2014 util/webhook/registry.go, util/webhook/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":"util/webhook/registry.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de08da011b6d9e49336a81e6ca9d38488dfc229d50f6ef2bbeb2aeeae941c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.Spec.SyncPolicy != nil \u0026\u0026 app.Spec.SyncPolicy.IsAutomatedSyncEnabled()\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/app.go, controller/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":"cmd/argocd/commands/app.go"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"40359f5e6e56dc40007d575ea41b74482d248556702dad593d37e5c632655e0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.Spec.SyncPolicy == nil || !app.Spec.SyncPolicy.IsAutomatedSyncEnabled()\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/app.go, controller/appcontroller.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/argocd/commands/app.go"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8eec80ca5e6d93e6fb7d3d24ed5c242c2c8e30eba54a8fb6353cf3809817c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.Status.OperationState != nil \u0026\u0026 app.Status.OperationState.Operation.Sync != nil\u0060 appears character-identically in 2 files \u2014 controller/appcontroller.go, pkg/apiclient/application/forwarder_overwrite.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":"controller/appcontroller.go"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa8a61b9a57c023c66df6c115d4c8b86500cc31492635f6711aac245d8c0672"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.Status.OperationState != nil \u0026\u0026 app.Status.OperationState.SyncResult != nil\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/app.go, server/badge/badge.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/argocd/commands/app.go"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"71db9a6aea5e5bb1592c603972abf8e3ad81e1ab232fb8bcd2211d9c628893b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clusterOpts.InCluster \u0026\u0026 clusterOpts.ClusterEndpoint != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/admin/cluster.go, cmd/argocd/commands/cluster.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/argocd/commands/admin/cluster.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf7f176fc2bed7c5cc35e66fb59e8a79c5ed0126e4b029da536f69fd70b3137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !apierrors.IsNotFound(err)\u0060 appears character-identically in 5 files \u2014 applicationset/controllers/applicationset_controller.go, cmd/argocd/commands/admin/backup.go, controller/hook.go, gitops-engine/pkg/sync/sync_context.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":"applicationset/controllers/applicationset_controller.go"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739b7302be4f87759e5f3a666df2bc1d71be754116b4eed04acab06510d54b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, fs.ErrNotExist)\u0060 appears character-identically in 2 files \u2014 server/server.go, util/io/files/tar.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":"server/server.go"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e09680ba43cb02c48ce076c2671b64627eb783f60c8db165d053b4daf917074"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || (parsedURL.Scheme != \u0022http\u0022 \u0026\u0026 parsedURL.Scheme != \u0022https\u0022)\u0060 appears character-identically in 3 files \u2014 cmd/util/app.go, cmd/util/applicationset.go, cmd/util/project.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/util/app.go"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a5dc38ef3695df40c2915ffc66c37a26027be48d3ee30d2e55fdec4152b279"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isatty.IsTerminal(os.Stdout.Fd()) || isatty.IsCygwinTerminal(os.Stdout.Fd())\u0060 appears character-identically in 3 files \u2014 cmd/argocd/commands/app.go, cmd/argocd/commands/applicationset.go, cmd/argocd/commands/cluster.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/argocd/commands/app.go"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c1a4795fccb6e8416998a84242ab7956c121f2d36b3e633ce0e78c5cd856a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(httpClient) \u003E 0 \u0026\u0026 httpClient[0] != nil \u0026\u0026 httpClient[0].Transport != nil\u0060 appears character-identically in 2 files \u2014 applicationset/services/internal/github_app/client.go, util/git/creds.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":"applicationset/services/internal/github_app/client.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"903b39ccb7df4c372e5c43e7736c1341aadff9dec05c4ea05e25dccbf93b5289"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060promptFlag.Changed \u0026\u0026 promptFlag.Value.String() == \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/app.go, cmd/argocd/commands/applicationset.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/argocd/commands/app.go"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e53f4e452cdc7aa6b6f20336af87eb609f46e5b85c766c01432b17a6af835"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reflect.DeepEqual(appRes.Spec, appReq.Spec) \u0026\u0026 reflect.DeepEqual(appRes.Labels, appReq.Labels) \u0026\u0026 reflect.DeepEqual(appRes.Annotations, appR\u2026\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/app.go, cmd/argocd/commands/applicationset.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/argocd/commands/app.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba7501599e58468d976acb8990ade287989e3006fadaf1d7b587f379dc09d76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060repo.GithubAppPrivateKey != \u0022\u0022 \u0026\u0026 repo.GithubAppId != 0\u0060 appears character-identically in 2 files \u2014 commitserver/commit/credentialtypehelper.go, pkg/apis/application/v1alpha1/repository_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":"commitserver/commit/credentialtypehelper.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"97161782b6adc466f840bca2f0b3aae238a9277f1ac0c8c2a756fc817c01e68f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060repoOpts.Repo.Type == \u0022helm\u0022 \u0026\u0026 repoOpts.Repo.Name == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/admin/repo.go, cmd/argocd/commands/repo.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/argocd/commands/admin/repo.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"df78c3373eccdcde6e3eb58a4f98d91e1812413521d3acd1373ffdd0784ffb7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060repoOpts.Repo.Username != \u0022\u0022 \u0026\u0026 repoOpts.Repo.Password == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 cmd/argocd/commands/admin/repo.go, cmd/argocd/commands/repo.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/argocd/commands/admin/repo.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"89912684c3faf72a609274b55610bb71fbba1b818e93c152f533126606fc9fa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.Kind == kube.SecretKind \u0026\u0026 res.Group == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 controller/appcontroller.go, server/application/application.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":"controller/appcontroller.go"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31bf6c9a83578e95ac1a3563f73ae492e49add9fde46fa3d424a683c4d30574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp != nil \u0026\u0026 resp.StatusCode == http.StatusNotFound\u0060 appears character-identically in 6 files \u2014 applicationset/services/pull_request/gitea.go, applicationset/services/pull_request/github.go, applicationset/services/pull_request/gitlab.go, applicationset/services/scm_provider/gitea.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":"applicationset/services/pull_request/gitea.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"44340406e04972a67973e15caa7761f8773584a1768088b7486a411ccea295db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tlsConfig.StrictValidation || repoServerStrictTLS\u0060 appears character-identically in 2 files \u2014 cmd/argocd-application-controller/commands/argocd_application_controller.go, cmd/argocd-server/commands/argocd_server.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/argocd-application-controller/commands/argocd_application_controller.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"417c1616591192aafb07a50bcdb5a6440682c1f40ad15d149618120ea8d564cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!managedByURL \u0026\u0026 !isValidManagedByURL(managedByURL)\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/application-details/application-resource-list.tsx, ui/src/app/applications/components/application-resource-tree/application-resource-tree.tsx. 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":"ui/src/app/applications/components/application-details/application-resource-list.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb81678dfb7cc68a294ec2f4773b07144a2415e47e40eac86f84de3db063d21c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isSaving \u0026\u0026 formApiRef.current?.submitForm(null)\u0060 appears character-identically in 2 files \u2014 ui/src/app/shared/components/editable-panel/editable-panel.tsx, ui/src/app/shared/components/editable-panel/editable-section.tsx. 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":"ui/src/app/shared/components/editable-panel/editable-panel.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff2668950144ffd8f6cf64357ff3dada347f04b146e219425d5e68d3d5e3c9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(chartInfo \u0026\u0026 chartInfo.versions) || new Array\u003Cstring\u003E()\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/application-parameters/application-parameters.tsx, ui/src/app/applications/components/application-summary/application-summary.tsx. 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":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e967c8fc49c6631abf9cf5a0065133cde41bc568d43dbe7313dc90438e2807b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(numEventErrors \u003E 0 \u0026\u0026 numEventErrors) || null\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/resource-details/appset-resource-details.tsx, ui/src/app/applications/components/resource-details/resource-details.tsx. 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":"ui/src/app/applications/components/resource-details/appset-resource-details.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"61939fa587083c03f7f862b792b527660babd136f843ecbbb10085c20ffd0bbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(res.body as models.EventList).items || []\u0060 appears character-identically in 2 files \u2014 ui/src/app/shared/services/applications-service.ts, ui/src/app/shared/services/projects-service.ts. 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":"ui/src/app/shared/services/applications-service.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16af40df08c5ff8ba6ebf0f65d4a5ce584011be9b688b8fef89852a04c2fe0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(selectedChart \u0026\u0026 selectedChart.versions) || []\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/application-create-panel/source-panel.tsx, ui/src/app/applications/components/application-parameters/source-panel.tsx. 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":"ui/src/app/applications/components/application-create-panel/source-panel.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e790a159097bf4e5db9e19156464f7009636efd4b0f1bce593495aec5ef808"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(source.hasOwnProperty(\u0027chart\u0027) \u0026\u0026 \u0027helm\u0027) || \u0027git\u0027\u0060 appears character-identically in 3 files \u2014 ui/src/app/applications/components/application-create-panel/application-create-panel.tsx, ui/src/app/applications/components/application-parameters/source-panel.tsx, ui/src/app/applications/components/application-summary/application-summary.tsx. 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":"ui/src/app/applications/components/application-create-panel/application-create-panel.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69fa0e1fbc534f1f8bb0ba366a5dff5e15b6c6adc9c14ca70e6248e165e3930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.metadata.annotations \u0026\u0026 app.metadata.annotations[appModels.AnnotationRefreshKey]\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/application-details/application-details.tsx, ui/src/app/applications/components/utils.tsx. 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":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"126af25613872d1febeb120d8f0e9c38fc866b01242ead4608f76c2efa73913d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.spec.sources \u0026\u0026 app.spec.sources.length \u003E 0\u0060 appears character-identically in 3 files \u2014 ui/src/app/applications/components/application-parameters/application-parameters.tsx, ui/src/app/applications/components/application-summary/application-summary.tsx, ui/src/app/applications/components/utils.tsx. 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":"ui/src/app/applications/components/application-parameters/application-parameters.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5cc5ecdff1b3f395512288153864cd0b0a38cba81a6eaaab8c017ce91cb942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.spec.syncPolicy?.automated \u0026\u0026 app.spec.syncPolicy.automated.enabled !== false\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/application-details/application-details.tsx, ui/src/app/applications/components/application-summary/application-summary.tsx. 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":"ui/src/app/applications/components/application-details/application-details.tsx"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e538ef6004ac8ea4a3c5b68ffa2fed1575b2eef9352705b6dcecfd992c972e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/utils.tsx, ui/src/app/resources/components/utils.ts. 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":"ui/src/app/applications/components/utils.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a309af7c0e4af75a8be773d7f947a091992a6adcddcb5aea9e9b3fdc2bea7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key === filterType || app.filterResult[key]\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/applications-list/applications-filter.tsx, ui/src/app/resources/components/resources-list/resources-filter.tsx. 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":"ui/src/app/applications/components/applications-list/applications-filter.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a97dfa0e6200f651ed550e31a479da15b2012db0810dd199274bcfaef13c50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind === \u0027Application\u0027 \u0026\u0026 node.group === \u0027argoproj.io\u0027\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/utils.tsx, ui/src/app/shared/services/applications-service.ts. 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":"ui/src/app/applications/components/utils.tsx"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3f50182f1944726738848e9b72bb9da59a37ea834cdea8177913c0b16c5a5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pref.searchRegex \u0026\u0026 isInvalidRegex(pref.search)\u0060 appears character-identically in 2 files \u2014 ui/src/app/applications/components/applications-list/applications-list.tsx, ui/src/app/resources/components/resources-list/resources-list.tsx. 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":"ui/src/app/applications/components/applications-list/applications-list.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab24d5e47cc2b2c0120c2e831f31b876404f9b5541b9cbf528c2870d2f4912e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.isFetching || !settings.isError\u0060 appears character-identically in 2 files \u2014 ui/src/app/help/components/help.tsx, ui/src/app/shared/components/badge-panel/badge-panel.tsx. 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":"ui/src/app/help/components/help.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19a67958f50970c4f238ce9d7cde1858dd7ebdca20dd1cbecc8c5bd6b92e80a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.isRefetchError \u0026\u0026 !settings.isFetching \u0026\u0026 loadFailed(settings.refetch)\u0060 appears character-identically in 2 files \u2014 ui/src/app/help/components/help.tsx, ui/src/app/shared/components/badge-panel/badge-panel.tsx. 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":"ui/src/app/help/components/help.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bb1d9382b8564b48b939285d21c3cd420490d0e7370141f04435f35e61abed"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 8/10 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: ReadRemoteFile: \u0060ReadRemoteFile\u0060 calls \u0060http.NewRequestWithContext(\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":"util/config/reader.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"23779c96c1af6796f9fab191f7ce8f23c5934f96d1ba0efe258e13c7197416d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: GetContents: \u0060GetContents\u0060 calls \u0060http.NewRequestWithContext(\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":"applicationset/services/scm_provider/bitbucket_cloud.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38692d302e5c65553d518a6758e65449df8755e6c248b3485ef8c1d32b7bdb0"}},{"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":"util/settings/settings.go"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a09433e96b941ab34539c9a9622f1bf661cc086b16f235b4cbe5e0b7ed2b684"}},{"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":"util/session/sessionmanager.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69d48edbc0084eb9ed6ab196c644e70d2bff6f4b35e3cb593792af6f3c2403"}},{"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":"util/oidc/oidc.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d137f0bd6916b04cf66ea500e476b116826517a73f6565924a19351eca481b9c"}},{"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":"util/oidc/oidc.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4a056bf0929fd9a78cb7b3a2f3b0bc9b31886a7dd00e8c53b22668b0fb627c"}},{"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":"util/log/logrus.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fcbbd6fb3ccd404f82aba72c67758b4e7381ae4a67db134b2be4f1d43594f8"}},{"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":"util/localconfig/localconfig.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a89deca8ba30646df3d3ab550e7014d2a05424c6188337b16e701fd52e2201e"}},{"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":"util/jwt/jwt.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c581158d81d300e04451809ca0856e2e2f03bde109dbc549f9913701f0b78b27"}},{"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":"util/grpc/logging.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7778a1fe1e90bf47a6620a34e0e05efc6e5c52ae519c1d2207ea7222b44508"}},{"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":"util/grpc/logging.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"96681e89cf34c7d7e94e52379a5bdaceb10e70a58a0251bd6af9d2d70fb4de4a"}},{"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":"util/git/client.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a907150c7677a48898893e89903cd64301a5aac4901cdd04c00eadecc4e9428d"}},{"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":"util/git/client.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"503fdff7ce507585b995366917a9649cb774a5546a235fa074c2c033410a4e70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(jsonData, \u0026f); 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":"util/git/creds.go"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4fd0e336aedd023cf58bf473f5464cc48ca79e16712851db216e1f30aa80f8"}},{"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":"util/git/git.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da543b58f3a01043f0eb6f3950373399f1f6df64e7f3ee0a6133def7258a8ce5"}},{"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":"util/exec/exec.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"192fab61cf23ced96a47dd1629d9d921cdd087472d1bb15befa715d5aad17bd4"}},{"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":"util/exec/exec.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c627d4a3d281bee8838002975b20bc6f17b9baf3c8a74bdf59df20cb66b64"}},{"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":"util/dex/config.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb816a0d217a2edeef4ff4c14890cd0e5521d668e72b00990c718357ad62ef61"}},{"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":"util/db/certificate.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2d3c39522e1234ba2a35acbef0e64963a615118a3efc51d60e8070d3f67136"}},{"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":"util/cert/cert.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a16e01984f142effa6cb461f681baeec3e1fd796b8f7b68ff7741cb5b57e3"}},{"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":"util/cert/cert.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b018a1518d6dfda66877ea4b1166147cfe4159f89406d59f476005f960a653fd"}},{"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":"util/cert/cert.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"605e9e6860b49ed705e30a6dcb6130b38055505eb14540f5061ec0f6e411591d"}},{"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":"util/argo/argo.go"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ddc72447633cea1d2b7da737aeaf3768d22aff36de28c0f7c0cf5d1ec2a32"}},{"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":"util/argo/argo.go"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6afa30f96cae82b9f26619b8bdb1ad3eea8cbc20246f84293025b3dec43592"}},{"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":"util/argo/argo.go"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd43f4859902dc90156c6be0417d7d23643f06d4139f2f725bf795bdab088b"}},{"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":"util/argo/resource_tracking.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65304745392837a06249b6470b86f2607b107be45d3ab3ab4d6e18675482c03"}},{"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":"util/argo/resource_tracking.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"600e3756ccf79306faaed492a171830ea94ba1e89a7834392246b412a38d3ef7"}},{"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":"util/argo/resource_tracking.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fd2fcf6eebd93d7d2307d01059c59b2838b23f6d8ae582ccd71d9eddee0b3a"}},{"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":"server/server.go"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c60adc404c6b5f50f19876afd789a9c48695ef0e4ad550f6fc68a7f1909ef5f"}},{"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":"server/server.go"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45326c67243a92677cb2e80b7b1e890f9b937bc2486583c13498efa853ff56c"}},{"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":"server/rbacpolicy/rbacpolicy.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6787dd76d449487ef281870800aba9087dc3c26b5ef7b7539350fa93b89e4ba"}},{"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":"server/rbacpolicy/rbacpolicy.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"beccb3bdf129f759b74892d92245187eb8d162bab440e419cb44834f79c6993a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := settings.ValidateExternalURL(managedByURL); 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":"server/deeplinks/deeplinks.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b90e037741f746210f4dd4e6f008ffaa421f40e34b689fc559f469ced5a45c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if minVersion, err = strconv.Atoi(q.GetResourceVersion()); 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":"server/applicationset/applicationset.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e3eb9448a39fb895582394981d8b8bb792cee3f26c8d9144a22489cb7e292"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if minVersion, err = strconv.Atoi(q.GetResourceVersion()); 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":"server/application/application.go"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7733b9e6876490e4d6e7c9dc2ef73bd86fbcc9c6b4c502176fadf8edd5a6dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err = url.Parse(\u0022 \u0022 \u002B dep.Repo); 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":"reposerver/repository/repository.go"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec028c04154b873406c6e61f009299658d6bd078796c27af4e191c2458b07df"}},{"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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":4406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80718f7f4b258740b062d4c9b5e8c8fb114b40a09b0920e67bde0d52f181a3f"}},{"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":"pkg/apis/application/v1alpha1/types.go"},"region":{"startLine":4618}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d59ed3569c7765df88b3bbcca68e4b0699ddcf40bea452d1f3e1fa2b4586c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(ext.Raw, \u0026v); 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":"pkg/apis/application/v1alpha1/values.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"67216ec261f4c436dd69c78e0dfc01879119bec935b3f1c1293f7da55da1391e"}},{"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":"pkg/apis/application/v1alpha1/values.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517e0667b6802637542d12682dad4d7c6beee94d60e0c412580ffd2fbbd9209"}},{"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":"pkg/apiclient/grpcproxy.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bf53089465a04f36355dd6fe579b8fcd0ac7ebe0e44e7f086e7cba1d4a668d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err = w.Write([]byte(logEntry.GetContent() \u002B \u0022 \u0022)); 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":"pkg/apiclient/application/forwarder_overwrite.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"563a36f65d92cd240718ca53f8f47f650ff8d822cab58b3113609df940ca5a7d"}},{"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":"notification_controller/controller/controller.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fafb0fa2c21da686938fcdb655425f315af6dffbb2d9c05ebe8351005505d2"}},{"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":"controller/appcontroller.go"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d754e4e6edc8802a75e6fc27e777ec370c19101fe9b6f6c00fde2bb5c271ff"}},{"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":"controller/appcontroller.go"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae45162b8fca8a00f7744d16f62c938b3d07f21ae3a0d67dc3fe88dbc8d48a"}},{"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":"controller/appcontroller.go"},"region":{"startLine":3332}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f67077439defed958b987d091de74266f7329bb907911ff0483eda7f7b573c"}},{"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":"controller/appcontroller.go"},"region":{"startLine":3452}}}],"partialFingerprints":{"codehealthFindingId/v1":"670c6b9d281c88af050ddc30d51e60c1b269a06c6a93d3b01ed43fe46d437385"}},{"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":"controller/clusterinfoupdater.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd168e18b6222cd6cc1b526f3d77ba99835ad46dbcbb47ca98512939e76d483"}},{"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":"controller/cache/cache.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aa514c5de2167a12ac7371465d468a2fef5f497cab11cad495a410f9869af3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := settings.ValidateExternalURL(urlPart); 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":"controller/cache/info.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3459ceb5f3bb8b40ff8bc587ad0ece7eeabfb02e22aac6e0e457210687698"}},{"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":"controller/cache/info.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333a1260c0255825b9e5cb96c6fb2549b0962fe5b4a598462ff655d57560cd9"}},{"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":"controller/cache/info.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd471c4b4e56ccea01474ba9cd530ebc36c618ecfa7c1525739cd980c9efa877"}},{"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":"controller/cache/info.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03c91b30aa7109a3694c7650c2da51d407e346c449bdbfcf90da5ebf6956f99"}},{"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":"commitserver/commit/commit.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"66de7bbad812059a3bfb13e1e96103eb8ffdc3677742a929d7945aa2d0d9033b"}},{"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":"applicationset/services/scm_provider/aws_codecommit.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da6c7c038a960d3a5731d79a5de7299b351fb76503c5c4f128f293f04f6f327"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetAppName\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":"util/argo/resource_tracking.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5caab234cc658ca595e3f798124cf4b7c538cd85c48600e2f55504610c574e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetCertBundlePathForRepository\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, nil\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":"util/cert/cert.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf1e6317266acd474a3dbe09b9d31d19b04695fe92798cb57431dca7253beba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060NormalizeGitURL\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":"util/git/git.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"26194c1df10361408283c3e41cf5906d3da616874812d5ee779c48529476ca77"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getStableDocsUrlForCurrentPage\u0060 swallows every exception into \u0060return \u0027https://argo-cd.readthedocs.io/en/stable/\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/assets/versions.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce1f69ed80f6aa0caf0ee540ca6892502230faac3edbec2ba9220a2efba2a2"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag","shortDescription":{"text":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.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-276","guid":"4e27da05-61af-1d5c-aeb5-9f56b6ede3e3","name":"Incorrect Default Permissions","shortDescription":{"text":"Incorrect Default Permissions"},"helpUri":"https://cwe.mitre.org/data/definitions/276.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-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"Cross-Site Request Forgery (CSRF)","shortDescription":{"text":"Cross-Site Request Forgery (CSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-362","guid":"03d7a26a-06e8-e553-88a3-4b67b48b4a85","name":"Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)","shortDescription":{"text":"Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/362.html"},{"id":"CWE-377","guid":"53bb4a85-bb20-a053-b6e4-4a9f656e96bb","name":"Insecure Temporary File","shortDescription":{"text":"Insecure Temporary File"},"helpUri":"https://cwe.mitre.org/data/definitions/377.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-459","guid":"09a3cc4b-9c08-8355-94a5-93c6553106a9","name":"CWE-459","shortDescription":{"text":"CWE-459"},"helpUri":"https://cwe.mitre.org/data/definitions/459.html"},{"id":"CWE-489","guid":"b1d97a6c-8316-175f-ade8-b1bfbc14619d","name":"Active Debug Code","shortDescription":{"text":"Active Debug Code"},"helpUri":"https://cwe.mitre.org/data/definitions/489.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-567","guid":"589a5096-54af-2651-9204-ebd9e0bda8a5","name":"CWE-567","shortDescription":{"text":"CWE-567"},"helpUri":"https://cwe.mitre.org/data/definitions/567.html"},{"id":"CWE-613","guid":"b3754f88-69aa-ee5f-9be5-dea9f3c46b9e","name":"Insufficient Session Expiration","shortDescription":{"text":"Insufficient Session Expiration"},"helpUri":"https://cwe.mitre.org/data/definitions/613.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-665","guid":"fe279ff9-a979-f952-9df9-3f7d05af85d8","name":"CWE-665","shortDescription":{"text":"CWE-665"},"helpUri":"https://cwe.mitre.org/data/definitions/665.html"},{"id":"CWE-694","guid":"c7129a9b-d166-b05f-88a0-13e80a3c7d1e","name":"CWE-694","shortDescription":{"text":"CWE-694"},"helpUri":"https://cwe.mitre.org/data/definitions/694.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-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-908","guid":"ca1da1d1-5eaf-e95b-adbb-4eb2bc10b9fc","name":"CWE-908","shortDescription":{"text":"CWE-908"},"helpUri":"https://cwe.mitre.org/data/definitions/908.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":650,"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."]}]}