{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"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":"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":"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":"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"dialog.ShowPluginInputs (cyclomatic 31): dialog.ShowPluginInputs has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 128, 78, 104, \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":"internal/ui/dialog/plugin_inputs.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c908fdda3e7907ac011a75932ad747adc45ba14f8047ad58e3c4716d25968b53"}},{"ruleId":"D1","level":"warning","message":{"text":"dao.tailLogs (cyclomatic 23): dao.tailLogs has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 366). 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":"internal/dao/pod.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5472763a5a593ba2300c07baf15de930477e72788168a5875a2a5d0cdafa14"}},{"ruleId":"D1","level":"warning","message":{"text":"render.PodStatus (cyclomatic 23): render.PodStatus 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":"internal/render/pod.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd15c355a4204b3a8db0c9b8d809b192d960768e9f7ade74ee56c80f2f6d083c"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.nextFocusCmd (cyclomatic 21): Pulse.nextFocusCmd 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 434). 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":"internal/view/pulse.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fab051eb8bb75bacb1152bc1dd600d86e88d1500c28b7f227c25244818e7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd.newArgs (cyclomatic 19): cmd.newArgs 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":"internal/view/cmd/args.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"088119b8aec5f2897a6b60d14e054ec493a7593969ec5aa3ba13c6e6295761dc"}},{"ruleId":"D1","level":"warning","message":{"text":"dao.hasSecret (cyclomatic 18): dao.hasSecret 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":"internal/dao/dp.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"077603236070982ff9fd9f8075ab59d12c37975ea8f88bf7ce2e8d9a0c64e2f4"}},{"ruleId":"D1","level":"warning","message":{"text":"render.hydrate (cyclomatic 18): render.hydrate 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":"internal/render/cust_cols.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"21637f6c22fc14ad4ce2b6892b4b2cd982d5568ca7fb73fb8410a8a4bcd480ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.defaultRow (cyclomatic 18): Table.defaultRow 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":"internal/render/table.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d385b31bf79d73608e794c0279a53bda7a2af35150139ec0533c3fb9b3c2af"}},{"ruleId":"D1","level":"warning","message":{"text":"Command.run (cyclomatic 18): Command.run 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":"internal/view/command.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"950a6dd17160c83beddd4abbff5f12c82fdd2e97f8a3c6b0194f24ee5ff674e5"}},{"ruleId":"D1","level":"warning","message":{"text":"Command.specialCmd (cyclomatic 18): Command.specialCmd 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":"internal/view/command.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d239e0a9fbc76ccaa49ba1663c81e968d26f494e9582827c87e4df7fb71b95"}},{"ruleId":"D1","level":"warning","message":{"text":"view.customJump (cyclomatic 17): view.customJump 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":"internal/view/custom_jump.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0631ace7e29f2d6e7bab55edb088ebd926400d0d9bbac3c8fe3c1b9dbb6f4bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Refine (cyclomatic 16): Config.Refine 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":"internal/config/config.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc7c5b524780b99162b93cd61b0d37fefc3830112e2fb243157a9802a9b279"}},{"ruleId":"D1","level":"warning","message":{"text":"App.switchContext (cyclomatic 16): App.switchContext 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":"internal/view/app.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"972f44d3f9ac7cdaec1855151d810aeb3844de184617a27fa62280dde9df0eaa"}},{"ruleId":"D2","level":"warning","message":{"text":"dialog.ShowPluginInputs (cognitive 49): dialog.ShowPluginInputs has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 4, loops 4, match/switch 1 (2 pts) (nesting depth added 25). Of this number, 23 points are the body\u0027s own statements and 26 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":"internal/ui/dialog/plugin_inputs.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ccdc1df53d64028ff49ed2161ebca3b07202a4d0e6ed0e425eaadeea0c6705"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.tailLogs (cognitive 41): dao.tailLogs has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (26 pts), match/switch 4 (11 pts), boolean chains 3, loops 1 (nesting depth added 24). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to one function literal inside it that branches (line 366). 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":"internal/dao/pod.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb971bcc96c3343907233bf2e8fd95362e4c5a99df6d68f8de634624ff9ecf1"}},{"ruleId":"D2","level":"warning","message":{"text":"render.hydrate (cognitive 37): render.hydrate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/cust_cols.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aac7c325c64a58e90b13b699f40d15f0a3ad95f468db0295764d6ac87f9c07f"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.newArgs (cognitive 33): cmd.newArgs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cmd/args.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10fd96e9fd02c4943f050deb0ec723934134b96691d06742c9aea0aa5b3b1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"render.PodStatus (cognitive 31): render.PodStatus has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7, 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":"internal/render/pod.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"18594a73d11129deb729c07630a1910be5aea7680d046a8f1fe772e3f7151bee"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.nextFocusCmd (cognitive 31): Pulse.nextFocusCmd has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 14). None of this is in the body itself: all 31 points belong to one function literal inside it that branches (line 434). 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":"internal/view/pulse.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d369618684103c05e216a4632783604833d09168026b38bc93484c793e5a0e53"}},{"ruleId":"D2","level":"warning","message":{"text":"view.pipe (cognitive 30): view.pipe has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 15). Of this number, 17 points are the body\u0027s own statements and 13 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":"internal/view/exec.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8334d73ab6074d7497c894b43dc263e4576f49a7382a75c767c1e08344f772e7"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.hasSecret (cognitive 29): dao.hasSecret has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 6 (7 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":"internal/dao/dp.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e47044ff48a30dbe88c73e83e8b6a4630d8e0f718d0f5f687f9c75689cfdb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomView.getVS (cognitive 28): CustomView.getVS has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/views.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a06e208e4e5bcd2324a9b356d1ede88d12636a0a5ee2b4094e7fa8b8bb44540"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulSet.Scan (cognitive 28): StatefulSet.Scan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (4 pts), match/switch 1 (2 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":"internal/dao/sts.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"82248088aead6dfdf9f422c3c554be566edb8b97406b9feeecc299927286b7b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Configurator.ConfigWatcher (cognitive 28): Configurator.ConfigWatcher has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 16). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 197). 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":"internal/ui/config.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c45d7d5eb122336db2ad390bbd7e80c2b25d31144b36d17d190f7d2aa2791f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Command.run (cognitive 28): Command.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (27 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":"internal/view/command.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fb86903f5b47320025d2118e833aad6248819b6dee1d72f940c376c075f26"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Refine (cognitive 24): Config.Refine has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"481e719ebdc44a10913c55b194e38bc5f872a64a1bf7f4cb7d934c3a0f61095f"}},{"ruleId":"D2","level":"warning","message":{"text":"view.customJump (cognitive 24): view.customJump has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (23 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":"internal/view/custom_jump.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae73da0d270e48e5570131e400f9c110ad0ebbb16600d7a492a3a01aa3d6c16"}},{"ruleId":"D2","level":"warning","message":{"text":"config.closestLForChroma (cognitive 23): config.closestLForChroma has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (8 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":"internal/config/color.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed182f46fa985dfe33b7771254933b2935b506dc3b09beed29927d9083c31373"}},{"ruleId":"D2","level":"warning","message":{"text":"Pod.Scan (cognitive 23): Pod.Scan has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (2 pts), 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":"internal/dao/pod.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b249fca19a90211d571639396a3cb5afc01590e069c00af1e874818e4737c1ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Recorder.dispatchSeries (cognitive 23): Recorder.dispatchSeries has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (4 pts), boolean chains 2, 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":"internal/dao/recorder.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c38cf8a59712d50825cf95c51e84cb11d46c2ae2eeb8bec59024b1e4a32ff3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.buildRow (cognitive 23): Table.buildRow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 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":"internal/ui/table.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d23e523176e47b44543054baf84afc6f34d8c3218d77eab6770fc0411afc7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugins.load (cognitive 22): Plugins.load has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 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":"internal/config/plugin.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76c88d0735d101555fa3f467cd63be5c1171c47f1a15185058535d62fa3238"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.loadPreferred (cognitive 22): dao.loadPreferred has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/registry.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d55a95009b8173ecbc55e9cc3c95367393d2edb38504485bf8b45deb1228376"}},{"ruleId":"D2","level":"warning","message":{"text":"view.pluginActions (cognitive 22): view.pluginActions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/actions.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a9c51336d6e587db5afdf070b64792af214503644e250b0538ce02e589d322"}},{"ruleId":"D2","level":"warning","message":{"text":"Browser.refreshActions (cognitive 22): Browser.refreshActions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, 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":"internal/view/browser.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"2399a8c08e67e330c1518093e9820b406a185270f6c257c6c0c030e43565b693"}},{"ruleId":"D2","level":"warning","message":{"text":"ScaleExtender.makeScaleForm (cognitive 22): ScaleExtender.makeScaleForm has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3, boolean chains 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/scale_extender.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"841b7c6cf30d5dc9e81c81924ae0c9e94022581cc95bae8125007b205037dc41"}},{"ruleId":"D2","level":"warning","message":{"text":"Deployment.Scan (cognitive 21): Deployment.Scan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (2 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":"internal/dao/dp.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d9d9df27159eb767594d36fe9476a02d93203290deeac14d280f1a0abdc378"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonSet.Scan (cognitive 21): DaemonSet.Scan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (2 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":"internal/dao/ds.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9637a038659d27a4beaf122ea6c3841a89d14556924596ffc5b2f84cc0ce778a"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.readLogs (cognitive 20): dao.readLogs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/pod.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04e1f319ba9a9deb8b8d1aa3e0fb105ba44e4a98c275334ad8b85a64f32e75d"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.defaultRow (cognitive 20): Table.defaultRow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/table.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d5bce93ec5035485f6031e5a003fc3197f614195b0a109885e24d8efb81187"}},{"ruleId":"D2","level":"warning","message":{"text":"view.execute (cognitive 20): view.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/exec.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe5c4ce61e2255ec888c74ea1124b01d75b1c0830efb6c0a5b519f9b9761598"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.status (cognitive 19): dao.status has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, 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":"internal/dao/workload.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f0e557293d192f08c03ebebbacf2f1b136ba3c3eda7e4ecbcd7fc0a3b41fec"}},{"ruleId":"D2","level":"warning","message":{"text":"render.initContainerStatus (cognitive 19): render.initContainerStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/pod.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bc02efb41f65a4c2ba94ffb5f3e7b546dc7dbcf4baac3468ee5c3240f511f0"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.decodeIntoTable (cognitive 18): dao.decodeIntoTable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dynamic.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"60678c673550d767ceab88222e25a0dae52a9cead8655da72e879a48acdb2fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.parseRules (cognitive 18): dao.parseRules has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 2 (6 pts) (nesting depth added 11). 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":"internal/dao/rbac.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99663e16f272daf92771c6225ddffffbbf1a97e58fe4681697c61353b651881"}},{"ruleId":"D2","level":"warning","message":{"text":"Alias.load (cognitive 18): Alias.load 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":"internal/dao/alias.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49b40823105b3ef1b7d23f256796b193ddef22b36d46d39061d025d14bc58be"}},{"ruleId":"D2","level":"warning","message":{"text":"CronJob.Scan (cognitive 18): CronJob.Scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/cronjob.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b69699cb395c85e40392bab838b9b9ec26697bacf648d9d2404ba2626f24ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Job.Scan (cognitive 18): Job.Scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/job.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a35141f1598b2d7c4661fe5a30c033bff11128c5833ec332a83d9a19778f17"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.styleTitle (cognitive 18): Table.styleTitle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"internal/ui/table.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"3148136a02f7c3a5cdfd2b0f7aa0a2cd30383abfbf4878502c7e8c9749506b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.Validate (cognitive 17): Plugin.Validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/plugin.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb542d34f8175f2890a4939c78cb0b1e54ea97f9955aac992ff41d61519827"}},{"ruleId":"D2","level":"warning","message":{"text":"Workload.List (cognitive 17): Workload.List 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":"internal/dao/workload.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dae079100546e0920b2aeb5952dc20d8dfc9cbf5ffdfe904918382a0e36432"}},{"ruleId":"D2","level":"warning","message":{"text":"render.formatColValue (cognitive 17): render.formatColValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/cust_cols.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3952b7e5106a49f9eafe3aabb99257e6d41df1afee2af3e445320d3c9ca32760"}},{"ruleId":"D2","level":"warning","message":{"text":"view.decorateCpuMemHeaderRows (cognitive 17): view.decorateCpuMemHeaderRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 242). 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":"internal/view/helpers.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a914aa75f6e26f62365a7284676cb5d0fcb1a5ff88970ee04f68969ce1dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"dao.getContainerStatus (cognitive 16): dao.getContainerStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 9). 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":"internal/dao/container.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6556e2d2d8f024ed77799d1a11b0542c6c37693fae3591c843717d928767b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Configurator.CustomViewsWatcher (cognitive 16): Configurator.CustomViewsWatcher has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 69). 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 (Configurator.CustomJumpsWatcher) 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":"internal/ui/config.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4729910b3ba8193347c10d104c2c90afa2253c72bfdda3ddbe48ec9d5eb977"}},{"ruleId":"D2","level":"warning","message":{"text":"Configurator.CustomJumpsWatcher (cognitive 16): Configurator.CustomJumpsWatcher has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 115). 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 (Configurator.CustomViewsWatcher) 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":"internal/ui/config.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2857c365201a3423079e5aaf8ad5cd55131fc3601539bc391e75b25d87935439"}},{"ruleId":"D2","level":"warning","message":{"text":"App.switchContext (cognitive 16): App.switchContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (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":"internal/view/app.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fa95d643b330fa18864d012aa4a055a3dce3a6cb2af09eaef701c4b160b48a"}},{"ruleId":"D2","level":"warning","message":{"text":"Command.specialCmd (cognitive 16): Command.specialCmd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (nesting depth added 6). 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":"internal/view/command.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9d358a8352e3d9384b4436bc78ec934daac825837fa32e204eb5491d2d9b50"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Table: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"internal/ui/table.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"739ca6067083b4a5bb00d74d64351e3f332a13e1271e8bd6744df0db8e446b38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Xray: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"internal/view/xray.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d227ed3ce9f07bfbff312d2888dc03f9504a54737f559db7004f6eeefd39ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"internal/view/app.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813d6da16f7754302e3a122605f21ec3381ed9f4bdfa153aff3468ae17a2718"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Log: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"internal/view/log.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8c635da523c6e92d9b9af6896e2fc1954f17aa615bafa920aba1af2771e4bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Browser: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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":"internal/view/browser.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7bf2a423a035c698515767e5ad2177cfb4f0246a5178a6d0413d5e463e810"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: APIClient: 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":"internal/client/client.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f23a0a82146d35e7cba353f6bcdcf857969657c8ab518cec3a8b3a58b77a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, 48 blocks, lines 45-821. The bar is 400 significant lines; this is 72 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/app.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d15b0fdd9dbb712db9991fd104b2eecb16c2156b75050bd169ec611095e1d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Log: 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":"internal/model/log.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f61cbebd9418c2dc9b942c2b91089087a0fed5b5858d7aa191935c01d3b3818"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveView: 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":"internal/view/live_view.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4f9a8380b8cebab5c6ffb7d43c881ebeff6d175589d4d8a054021335a96284"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pulse: 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":"internal/view/pulse.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95b096215a9020094d967f6e73ce7c5f95f65dd228072948a2128db552e2f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Browser: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods, 39 blocks, lines 35-798. The bar is 400 significant lines; this is 53 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":"internal/view/browser.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bf88bd2b1550e91ffadb726daf1c29759c0b40ff4b96b557213a796d70b7fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/app.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c80ae638d8027d19623d84c266fc107a88314e7fa276a9d3badf866a8b4d09b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Interpreter: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cmd/interpreter.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c437901d7e6977dc017294be8407b3dc39cfa29547f5b3ec5f47a47671749f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xray: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods, 40 blocks, lines 39-771. The bar is 400 significant lines; this is 27 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/xray.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b7d2517511c2a82d3901f34b05b43396aa7cec0391f24bde6b591dae6e34f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TableData: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model1/table_data.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9152ae48785b05e7a60d35be85373172d707119fdcd6314bef64fc9a72b14a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Details: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/details.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93885c607841a0f60eb42457db09050b32bdf8c741121efd099ce7eff9b9f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/styles.go: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\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":"internal/config/styles.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f413988c0714b321cdec03468f6c6585d78567f77a5c5311c932fdded74558"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/app.go: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: App (48 blocks, 45-821). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5046cf53477066a8f16ff47257823cfa904df541d3faf23fa582c3daceae4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Table: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods, 54 blocks, lines 39-730. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/table.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fa9af065bf93dd1bffe0b5b01a5c465c268e04359d08393e45f4980cdca874"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/browser.go: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Browser (39 blocks, 35-798). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/browser.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa69a671447c4ae54f39866e2f9fbf23a812aba1684999e172bc68a35b3ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/xray.go: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Xray (40 blocks, 39-771). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/xray.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432bcf7d5cf76d0aaead4bee00e9f55d60e1c333063e8df25faea3859b85ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): internal/dao/cronjob.go:102-125 | internal/dao/cronjob.go:175-226 | internal/dao/dp.go:103-126 | internal/dao/dp.go:129-188 | internal/dao/ds.go:140-163 | internal/dao/ds.go:166-225 | internal/dao/job.go:111-134 | internal/dao/job.go:137-188 | internal/dao/pod.go:259-286 | internal/dao/pod.go:289-352 | internal/dao/sts.go:116-139 | internal/dao/sts.go:142-210 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/cronjob.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae7ad327175a81d9473868bf1e1d9d89b81958d8e0d78172c510249f568cae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): internal/ui/dialog/confirm.go:16-67 | internal/ui/dialog/confirm.go:70-104 | internal/ui/dialog/delete.go:31-84 | internal/ui/dialog/plugin_inputs.go:37-179 | internal/ui/dialog/prompt.go:17-60 | internal/ui/dialog/restart.go:22-70 | internal/ui/dialog/transfer.go:34-123 | internal/view/context.go:94-130 | internal/view/drain_dialog.go:22-90 | internal/view/image_extender.go:98-160 | internal/view/pf_dialog.go:25-109 | internal/view/scale_extender.go:133-212 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/dialog/confirm.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c264e986f1d7e0243a0add910b3f46e76f402b6d5555b8bc968bf96472975c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): internal/xray/dp.go:25-70 | internal/xray/ds.go:21-66 | internal/xray/pod.go:24-64 | internal/xray/rs.go:21-68 | internal/xray/sts.go:21-68 | internal/xray/svc.go:25-72 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/dp.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ee914b832288bd4dfb39f93b355b643c64d3b4c2c25ab4cf5692c9f7d809b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/model/describe.go:116-138 | internal/model/rev_values.go:137-159 | internal/model/values.go:165-187 | internal/model/yaml.go:125-147 \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":"internal/model/describe.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ce010042803926760fe4210687aadfb8e5e93f9e7959739cb50763fa71ff14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/view/dp.go:52-63 | internal/view/ds.go:52-63 | internal/view/job.go:55-66 | internal/view/sts.go:41-52 \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":"internal/view/dp.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4f306db131e6b1a2d5be9809d3267d8fcedec3710878c1d353ca83d938e65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): internal/render/node.go:29-69 | internal/render/pod.go:29-86 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/node.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"844f2202515c58a4e7d5fb8b5a2aa030c894a4f0ba7e274687415f6342b344a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): internal/dao/cluster.go:58-106 | internal/dao/cluster.go:109-153 \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":"internal/dao/cluster.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabb34a904317cb033251ddc99c297d353322492c76d082913a4352ff36d659f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): internal/view/dir.go:202-236 | internal/view/dir.go:238-276 \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":"internal/view/dir.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c91fb8646b062d239d00bbcf89f3a6366179b40f572c611d47440275c06200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): internal/view/cronjob.go:91-123 | internal/view/node.go:137-177 \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":"internal/view/cronjob.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"905afb643db3f76b2b08f1b987cdab6495a789b126cba78cbb26c7de3d7e4a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/client/metrics.go:151-190 | internal/client/metrics.go:230-272 \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":"internal/client/metrics.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b7a0394899676471ed6afe8b7d7f5b0ec575e17339d0c9468244960abc800e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/view/browser.go:774-798 | internal/view/workload.go:124-154 \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":"internal/view/browser.go"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"4156873dce8ea91e550d6d316aac6ceb1f97cdace96bf66f78977249974434ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/dao/node.go:166-206 | internal/dao/pod.go:110-149 \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":"internal/dao/node.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d15a5a6a65cac0cd5694cc3875881ebe64d00fdcbf8df7e59cbfbb2e5947a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): internal/ui/config.go:63-99 | internal/ui/config.go:109-145 \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":"internal/ui/config.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e155ec06b324121170b8fec71608e2969e839bf7d32e329f25724a47b6aac657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/vul/table.go:144-163 | internal/vul/table.go:165-184 \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":"internal/vul/table.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69320a7e7d2a698372b5a1e6f023724066fe60b82add2218b1b8ad3e3b0ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): internal/render/dp.go:80-106 | internal/render/ds.go:61-85 | internal/render/sts.go:59-87 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"internal/render/dp.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1feccb6c5e6d0ab258e94b4e2288f688bf8efa0e17040a8319975f678bd5c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/view/browser.go:639-652 | internal/view/workload.go:107-122 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/browser.go"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"637eba268a06d188595277f5b01ce87c852329988cbf29a0df93e1e1e0401dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): internal/view/log.go:437-466 | internal/view/yaml.go:72-101 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/log.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a3a483d8aa89d6d77fa5cc594e54d93ed32ed333000da7a0763e01f8546711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/view/pulse.go:496-509 | internal/view/pulse.go:511-525 \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":"internal/view/pulse.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb8cd7ed1bd4852c85ca3774d7b531d85b9c963ebbc7b21bb11ab9c2641d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): internal/render/cronjob.go:19-38 | internal/render/dp.go:20-35 | internal/render/ds.go:18-35 | internal/render/job.go:20-36 | internal/render/rs.go:34-46 | internal/render/sts.go:17-34 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/cronjob.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"880258e9f7bc634608c3978eb13113391590a37beafcc9c8264e063746124e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/dao/node.go:272-296 | internal/dao/recorder.go:276-300 \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":"internal/dao/node.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5371c7d2a8c70458a4f6364c9450b7b511d5ae76cf3a810575898052a8acbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/render/np.go:18-36 | internal/render/pv.go:55-68 \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":"internal/render/np.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e97fab3c85374a2ce7e6d7d53e13bbc19f49b68b1c779f231acd447df02876f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/view/cm.go:41-65 | internal/view/sa.go:59-83 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cm.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"48317cafa78355de80ce78dc61b65febaade27c11c5bedce34333492a38ead3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/watch/factory.go:75-99 | internal/watch/factory.go:112-138 \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":"internal/watch/factory.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd31e2a54813a7cd115e1419d7e24352ed30be782e287e72283630ce176aca1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): internal/xray/tree_node.go:412-447 | internal/xray/tree_node.go:451-480 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/tree_node.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda42e05104ffd3186a7ed5f56a64df7d72b293716884ad7131e84c0241a508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/config/json/validator.go:142-170 | internal/config/json/validator.go:172-194 \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":"internal/config/json/validator.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"584f50bad9710d1147eae819293c1b5ac0b75ad4012f8f33822d27f11d5915ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/ui/indicator.go:53-71 | internal/ui/indicator.go:74-95 \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":"internal/ui/indicator.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9238a05e50e08a2a2bcc43d8bc10d94071f712e36e704e5e05afa98213612d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/view/table.go:257-282 | internal/view/table.go:284-309 \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":"internal/view/table.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1536cdc67a3d03a83b9c934d417eb3463b9eab788a5da96b13aba8789e29ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/render/ep.go:49-71 | internal/render/eps.go:51-75 \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":"internal/render/ep.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"71744561f3f0d2d6b2b8e4ea396794a18d40ade668795fe9019bc9b891420afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/render/helm/chart.go:53-73 | internal/render/helm/history.go:45-63 \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":"internal/render/helm/chart.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2add6351991cba8ca619ecf9a30be4f72cfdc282dc14e69ee8bdc0664b56768"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/render/pdb.go:62-86 | internal/render/svc.go:61-84 \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":"internal/render/pdb.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f7595ffb5646ff5cc50a774ac57bdbd08c465d39c24b26d0dd5e4373743274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/render/benchmark.go:48-61 | internal/render/pvc.go:16-32 \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":"internal/render/benchmark.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80506778dac7ba340e0cf4c4e9d12e39999a59cfb7410896c24fe12ef703d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): internal/view/details.go:68-92 | internal/view/live_view.go:71-97 | internal/view/logger.go:37-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/details.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe37ed7ba19c40dc1f81b2d6d8668d20c780e30650e5be48c9f05fdf684a09a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/view/pod.go:359-387 | internal/view/pod.go:420-445 \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":"internal/view/pod.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"307e81751c88377dc2377a582221927631960b7eb8ccf5ba68907949417ac262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): internal/dao/dp.go:201-226 | internal/dao/ds.go:238-263 | internal/dao/pod.go:556-589 | internal/dao/sts.go:223-248 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"internal/dao/dp.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55849785ffe7f7cbc1f7e1e922e2a1b034305bcc58564a70e576c136b7d3409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/view/details.go:319-339 | internal/view/live_view.go:390-413 \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":"internal/view/details.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed84a00e0ed852cbcca6b33ff382133a9e14577be696d0c152eb03ecd297f04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/view/xray.go:340-362 | internal/view/xray.go:364-385 \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":"internal/view/xray.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"70592e0092bb380d32d26073e02c34edfbc2ed18c3c1b4beca034571b0a9be83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): internal/config/alias.go:148-172 | internal/config/hotkey.go:52-76 | internal/config/jumps.go:59-84 | internal/config/views.go:98-120 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/alias.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03082c56b3696cee68ff9180570d1268eb9c3aced28ba72c8424cf2413b3874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/render/np.go:101-116 | internal/render/np.go:118-133 \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":"internal/render/np.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeb7fa5710eb13b2f5774a701093cc10cc02e547c463c03b7782548bdf39d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/render/pod.go:327-346 | internal/render/pod.go:348-365 \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":"internal/render/pod.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"466bc5f2766c594847ecc802d61faa5bbcbeb79e3b7687f46cc378a92ff1f727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): internal/view/pf_extender.go:47-67 | internal/view/pf_extender.go:69-93 | internal/view/pod.go:164-186 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/pf_extender.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88ba04b182f471aa0d26072cb5c941aa4863446605f0bfcc6c04d9124757141"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): internal/dao/rbac_policy.go:131-147 | internal/dao/rbac_policy.go:149-165 | internal/dao/rbac_policy.go:204-220 | internal/dao/rbac_policy.go:222-238 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/rbac_policy.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeb431cd5aa2f1aa7dc574888d1ca340d0e3b54e1696d664e40c90f87177b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/dao/rbac_subject.go:53-74 | internal/dao/rbac_subject.go:76-97 \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":"internal/dao/rbac_subject.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"265cd979853475f17d758a41e45f9a759d9ce305ac4119fe51076a2935ff51a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/render/container.go:49-72 | internal/render/pod.go:96-124 \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":"internal/render/container.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d88022b04f8da0397f3022ba220a13de43f9f744a1362014e66512d52246dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/render/cm.go:51-73 | internal/render/secret.go:54-73 \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":"internal/render/cm.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddfaf5f6b0be814ad3fd6f0e4ee44e4149490b139f98c67a921b68027656490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/view/xray.go:387-406 | internal/view/xray.go:442-456 \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":"internal/view/xray.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51b12468839d5ffb269188e93f7fc0d80cf93f4fce345d69dff56893385991f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/model/cmd_buff.go:147-163 | internal/model/cmd_buff.go:166-184 \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":"internal/model/cmd_buff.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa4e6154624d1bd82c5d9e3f2c06f5fb8195e0f7248428f3a26d37f9ddf1405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/view/workload.go:172-190 | internal/view/workload.go:192-209 \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":"internal/view/workload.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72d6daefc030c421cc18cb6f1ea111c623cfd264b0bb04d40ca9b453fab1d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/ui/menu.go:199-206 | internal/ui/menu.go:208-216 \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":"internal/ui/menu.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d15761bb6f1670518c79535c3227046a268343bcc27b94efc6e6e7e5d08379b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/view/helpers.go:133-148 | internal/view/helpers.go:150-162 \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":"internal/view/helpers.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c6ecd3e6a136b2da00ebeb0ae43dea884a152b92a4a902fdf0f29e9e12a9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/dao/rbac.go:114-126 | internal/dao/rbac.go:128-140 \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":"internal/dao/rbac.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd349e265091291561faa6cc77bd678906fca7bde054cd33e34aa03a4ac5823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/render/policy.go:60-77 | internal/render/rbac.go:58-74 \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":"internal/render/policy.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"273194c13aec7fd3aa7fdc06f7b7b1f06cc3313ca51825bcec5283dd642f2b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/model/describe.go:175-189 | internal/model/yaml.go:199-214 \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":"internal/model/describe.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"42090f0f6a1f98f55b48e3447234b8e3d6380c464091191600f361059aaf3941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/port/pfs.go:19-34 | internal/render/np.go:150-166 \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":"internal/port/pfs.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3bd6957c12415b78074b716d0b19da3bb56100338e9bce95a798938d95d2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): internal/render/ro.go:52-70 | internal/render/rob.go:56-79 | internal/render/sa.go:54-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 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/ro.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"663ce9b15eddc8ce5c8fcc59d3ebd7dc0a5ac7713eb1ee76326cd0295b8e6ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/render/container.go:213-226 | internal/render/svc.go:151-166 \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":"internal/render/container.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"58df5cae3a0342228143fcf9359061097469b19c731638e6c889a4ba28b91cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/render/cronjob.go:119-132 | internal/render/cronjob.go:134-147 \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":"internal/render/cronjob.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4786ca9df14fac4b5ca649d3cf17a2efa2fd779e10a079753be04de1a1f54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/render/cr.go:52-68 | internal/render/crb.go:54-75 \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":"internal/render/cr.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7921e6714f299c4a176774ac3cbe08a0995c85b7b1521b8872ade75cb1a448a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/view/container.go:131-148 | internal/view/pod.go:223-239 | internal/view/pod.go:241-257 \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":"internal/view/container.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f940e58f1987542cc2eff536acd7baf6b4f665a8f131bd3121c4d4b1b2ee4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/dao/log_items.go:124-133 | internal/dao/log_items.go:136-148 \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":"internal/dao/log_items.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a0ce5072ea1c6204962128470197292fdbbe4a490405f06c1b48e119ed4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): internal/render/crb.go:16-28 | internal/render/ns.go:22-33 | internal/render/sc.go:18-32 \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":"internal/render/crb.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"20099430d8919d37a090f4d133cfc8338f9ef00fdb833279d7d287c8e97934e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/model/describe.go:159-172 | internal/model/yaml.go:163-176 \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":"internal/model/describe.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07fb0f0be7c352bda43b412a85ea377934d135c640f8b6ee02b25d8900004e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/render/node.go:94-110 | internal/render/pod.go:132-147 \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":"internal/render/node.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17349885ba83ea5e25bf7fdc228e1c24d294030bc5f2734da19bea3981afb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): internal/render/dp.go:38-54 | internal/render/node.go:72-86 | internal/render/workload.go:33-48 \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":"internal/render/dp.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca71e30c646a13eee8c935fe987185d9c7e28cf11dadaa7292cbf537de62fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/client/metrics.go:193-211 | internal/client/metrics.go:291-313 \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":"internal/client/metrics.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"09573b1f3760f7a7fb11c981cbe923fd80cecd9c4b7d65aec5f91b827a2c8b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): internal/config/files.go:258-268 | internal/config/files.go:271-281 | internal/config/files.go:284-294 \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":"internal/config/files.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d51cc9bb6b6f442acf4a38964c7063068a4754dd463dc54921069c8315265d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/view/details.go:45-61 | internal/view/live_view.go:48-64 \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":"internal/view/details.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77ea6709d50849fed900fb7cd3d1ac8e631be6b4c0ec789850092387dd86a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): internal/dao/cronjob.go:128-141 | internal/dao/dp.go:87-100 | internal/dao/ds.go:124-137 | internal/dao/job.go:95-108 | internal/dao/pod.go:197-210 | internal/dao/sts.go:100-113 | internal/dao/svc.go:53-66 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/cronjob.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2aa4cad4e0b7a6fc1a4d8d0f090fa63b02a15d264da21f806c53509ffbeb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/render/cm.go:27-33 | internal/render/secret.go:17-29 \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":"internal/render/cm.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a2f46db065a8c6fc5a2f0daee6fb641a595a9bd20e1d7bd0166a6b3e5fcded"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/dao/rs.go:44-57 | internal/view/pod.go:533-546 | internal/view/svc.go:210-223 \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":"internal/dao/rs.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa57eed7bcfd9bee16293ed4d188d9c5a484912f4db4b0873dbf8d663c506c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/watch/factory.go:203-222 | internal/watch/factory.go:225-248 \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":"internal/watch/factory.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf3d8e6a4065d167a8ad996ab42c8b4d731f76224838e1882b5c25b9c18edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): internal/dao/dp.go:64-74 | internal/dao/ds.go:58-69 | internal/dao/sts.go:78-88 \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":"internal/dao/dp.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3610589979056b6f66aba3efbc8dca6f84cdcbb370f55dc788416bc2e4dccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/view/container.go:43-55 | internal/view/pod.go:69-84 \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":"internal/view/container.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6827572ff40954e3cab2807ad52559c0667199edd1df57981db6c3ce1ca59b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/xray/dp.go:72-85 | internal/xray/rs.go:70-83 | internal/xray/sts.go:70-83 \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":"internal/xray/dp.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c51574ef4bd81a4ca76a268fde2871a7b3fb4a20b5eb2e437148c3fbf931f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): internal/view/app.go:733-744 | internal/view/app.go:747-760 | internal/view/app.go:763-775 \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":"internal/view/app.go"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a4e2cc8623a0777736180140550eb2ff9a3f7d3176eec1d52768374446123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): internal/view/alias.go:23-33 | internal/view/benchmark.go:29-40 | internal/view/dir.go:37-48 | internal/view/helm_chart.go:21-34 | internal/view/pf.go:32-43 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/alias.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"076e0bef5700f3ada7790a2066302e009d0e6cfa03718bde60167d8172c6a61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/config/styles.go:600-608 | internal/config/styles.go:634-643 \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":"internal/config/styles.go"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd096bc17171aa5194ab7ff44ab95aa6b0845a5ecdaef446bb6a7ce1182b15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): internal/client/client.go:439-459 | internal/client/client.go:462-481 | internal/client/client.go:521-537 | internal/client/client.go:540-557 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/client/client.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d10a4a4ac5eb5807aba6bce9e336d070672cd1285525a9313e1b35db33c9e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): internal/dao/helm_chart.go:58-70 | internal/dao/helm_chart.go:90-102 | internal/dao/helm_chart.go:105-117 | internal/dao/helm_history.go:156-173 \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":"internal/dao/helm_chart.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"da45fc62324c72a3d910577f662955f839d68999645954fbf65be229f5f93ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): internal/view/group.go:40-50 | internal/view/sa.go:47-57 | internal/view/user.go:40-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"internal/view/group.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e38bdb465c700817e48e6a4ebf0edc216ce619359168fe96a6b47c50c84b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/dao/dp.go:325-341 | internal/dao/dp.go:343-359 \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":"internal/dao/dp.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c616aa3aecec12e31cf3e6e0cdde421201244d4e720e049c58e0bc08e30ef574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/model/tree.go:136-148 | internal/model/tree.go:151-163 \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":"internal/model/tree.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d099cb0bd3f6a3543216244f29866151a567fcfb6910935d5f7be7630f1c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/model/helpers.go:21-30 | internal/model/tree.go:266-275 \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":"internal/model/helpers.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaa331a25717abcc1aff5122875528cd1c27c08c7ad15c9a2a8b7b0cf54393b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/render/context.go:25-34 | internal/render/ns.go:36-51 \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":"internal/render/context.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f603ec0e7540d7e59ed0955ebc1f9a0541860d2504cff8d9c30ed6d129053a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): internal/view/details.go:309-317 | internal/view/logger.go:157-165 | internal/view/table.go:215-223 \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":"internal/view/details.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99fd913a5639888a0f1443b2f4b99442a60728bf5b68719a9b025b03dedbcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/client/metrics.go:135-148 | internal/client/metrics.go:214-227 \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":"internal/client/metrics.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cfde2e9c0b01423d3b4a582e296569deb2eeef161f4613f245ace06dedc846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): internal/model/describe.go:140-157 | internal/model/table.go:229-247 | internal/model/tree.go:181-193 \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":"internal/model/describe.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c64cc20a649e98afef437da281775bc40864ef4a2efa345b50e561c8767d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/model/log.go:176-185 | internal/model/log.go:188-197 \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":"internal/model/log.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"149b015623b126d7f77bc684c557ed595407043e13275c4edc1fd00d1ef87cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): internal/render/cm.go:36-48 | internal/render/ep.go:36-47 | internal/render/eps.go:38-49 | internal/render/generic.go:32-47 \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":"internal/render/cm.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91947b34bb6300ba259c33d699f2619566c7d10fa2fd01bcafa7d1dda0854a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/view/browser.go:544-557 | internal/view/live_view.go:182-194 \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":"internal/view/browser.go"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad4c3daeae8c250ed4c67c2843342e52be8acd83090bb1e99e89a65ac29e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/dao/helm_history.go:87-99 | internal/dao/helm_history.go:102-114 \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":"internal/dao/helm_history.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4455ff881242cbe34a805bd512fed6cd3ca094e0fe736fb2dde1a97a2dfdd566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/render/policy.go:46-57 | internal/render/rbac.go:46-55 \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":"internal/render/policy.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa55b7748acc43e239c903cd769477d8b22bcec41719362d6a5d7d80612b428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/model/fish_buff.go:37-52 | internal/model/fish_buff.go:55-70 \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":"internal/model/fish_buff.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c84de4b535ca0af53b6a2185fe74c76b0f6a890897a840cc451b092eee38144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/render/ep.go:18-28 | internal/render/eps.go:18-30 \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":"internal/render/ep.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46702c49db7c54fd808dfdf8951a128e272e38031d6bcd2378d9f4369f7ea57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/model/log.go:319-334 | internal/model/table.go:104-118 \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":"internal/model/log.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c543c3f6b5d08c2f0bde0170fd19d5e1e23fcb68cfca1424972b315a92b765d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): internal/view/image_extender.go:166-177 | internal/view/image_extender.go:179-191 | internal/view/pf_extender.go:95-106 | internal/view/restart_extender.go:82-93 | internal/view/scale_extender.go:218-229 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/image_extender.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fb5500e838665c918b65293f79580d60b1f67aa0f9a9ea0ce6a7cae02208cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/render/eps.go:93-106 | internal/render/rob.go:84-95 \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":"internal/render/eps.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5173a9d2115d3b3297c85f9c3b1b28e3ffe5592642bcbaf4af0489c66a116ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/view/container.go:150-156 | internal/view/pf_extender.go:108-114 \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":"internal/view/container.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"febb869008d6a1cfd2a59660c28f256c02a84bdaee1650ef8c2c24df08a0cb9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): internal/view/details.go:214-228 | internal/view/details.go:251-265 | internal/view/live_view.go:305-319 | internal/view/live_view.go:321-335 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/details.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72cd167d0d97268c9dec6d697efdca25cbf100da3bbc38816ed145436d7d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/view/dp.go:25-44 | internal/view/ds.go:21-37 | internal/view/sts.go:21-39 \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":"internal/view/dp.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a7dd37c94c177dd00cb74dcd6c49a95aed5f1b64900e75de723fa572511fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/render/screen_dump.go:32-39 | internal/render/subject.go:28-35 \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":"internal/render/screen_dump.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"62758c5266e4a8329954e07c9407c6efad119e72bb8e6348425a03a66c5914d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): internal/view/group.go:29-34 | internal/view/user.go:29-34 \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":"internal/view/group.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"417bb84dcca7f42cf803a600228d8125b8712254e542a026fca08ee4abec4d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/model/rev_values.go:161-171 | internal/model/values.go:189-199 \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":"internal/model/rev_values.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe1f626e18815ac0c3867754789c07ad94394b776c63163aa78479434cfbd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/model1/pool.go:11-22 | internal/pool.go:11-24 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model1/pool.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be46e22165f1443c6258e628771fd54dc12f037beee11a5a5be18e2c3f7ccbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/view/node.go:80-88 | internal/view/pod.go:126-134 \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":"internal/view/node.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"79633a61215683e78baa93961d4958f09c8b9493f925946fdb3c203073e2bdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/render/helpers.go:280-290 | internal/ui/padding.go:52-60 \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":"internal/render/helpers.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddfe251287becf88eea6800951149893c8d29359dbd392d64d25928adb3f7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/model/tree.go:280-290 | internal/view/xray.go:783-793 \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":"internal/model/tree.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"811a2c2f5de57d405d71780f7c7d6105266c4ac677d4bfcfa0f606ebdc8e6045"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/view/rs.go:22-34 | internal/view/svc.go:36-48 \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":"internal/view/rs.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71d8958bd5cb00ec43ed5e9c94a553a47c6a76c2a8784610cfa6131b9779a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): internal/view/cow.go:105-109 | internal/view/details.go:165-170 | internal/view/live_view.go:219-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cow.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"258dfba595f8114d1cbfe7134a3f3e8e351e60bfe920cb2f8f170654c56238f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/dao/sts.go:91-98 | internal/dao/svc.go:43-50 \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":"internal/dao/sts.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3820f356c31d20e036ccc2d4e0e9724bc625fac0a1db25adb37415de591d503a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/model/log.go:407-415 | internal/model/table.go:293-302 \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":"internal/model/log.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"719ff367259d0e3a30652bd888999f5d1db30d35a28a05e7e4150db1a0f5e039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/view/alias.go:36-43 | internal/view/reference.go:32-39 \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":"internal/view/alias.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ee68fd1a926af43aba3ae76e09e436ec0fcae0ac846ecf8ad2c24df9b2226c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/render/dp.go:108-117 | internal/render/sts.go:89-98 \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":"internal/render/dp.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca3fe01353b9252f6acd071903e917ecf65cae2605cad844c92d8f2a23df13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/config/color.go:25-32 | internal/model1/header.go:86-93 \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":"internal/config/color.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eff3a6b6d5298222ab1853dd375ddb2e54cd6ccb0456da192b26fed7e2afbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/dao/cronjob.go:37-44 | internal/dao/pod.go:100-107 \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":"internal/dao/cronjob.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7277cdf6b8d02efef88836288fbe98bbb9219f667ee82ef7ed158244eac97c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/view/event.go:20-28 | internal/view/rbac.go:21-30 \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":"internal/view/event.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498ee9a6043e69a3990f7775a207ae82f8cd5c77f72f9c4dc65880773424088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): internal/model1/rows.go:29-37 | internal/render/rbac.go:160-168 | internal/render/subject.go:77-85 \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":"internal/model1/rows.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de575ec0f89c5e4f5954fc84efe3663ed9a7677b2e7b6fa7dcff22c5042839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/view/cow.go:28-35 | internal/view/logger.go:27-34 \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":"internal/view/cow.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d04e6f101673e0e92685f5b7679b0de2625343e0c3e18841a4f6fec6fa5b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 4): internal/xray/dp.go:42-67 | internal/xray/ds.go:38-63 | internal/xray/rs.go:38-65 | internal/xray/sts.go:38-65 \u2014 before extracting anything, compare \u0060internal/xray/dp.go\u0060 and \u0060internal/xray/ds.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/dp.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2e416d5e18e9a3970501899c63cc72f095118d55e292142e1559b6e36e636d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): internal/dao/cluster.go:83-106 | internal/dao/cluster.go:130-153 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/cluster.go:83\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":"internal/dao/cluster.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae8234ca4d1005330da912d75bfea59af2207cdaef0c78eeae93fbfeea112ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): internal/model1/pool.go:25-47 | internal/pool.go:27-49 \u2014 before extracting anything, compare \u0060internal/model1/pool.go\u0060 and \u0060internal/pool.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model1/pool.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eae4316e7785b819e7db46fe8472ed18dac9d9e131ffc5203d17fbb58c35de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): internal/config/json/validator.go:149-170 | internal/config/json/validator.go:173-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 \u0060internal/config/json/validator.go:149\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/config/json/validator.go:172\u0060 calls \u0060ValidateObj\u0060 and \u0060internal/config/json/validator.go:147\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":"internal/config/json/validator.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c30ccb5133eee45d32b47b82bd56adfeaa9e627565da69612941433b5a4bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): internal/dao/reference.go:45-65 | internal/dao/reference.go:70-90 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/reference.go:45\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":"internal/dao/reference.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a041ea05ab0e956f28a3a754e4bba288a24db382e90a98cbb895609d3aa922c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/view/details.go:69-88 | internal/view/live_view.go:72-91 \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":"internal/view/details.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94801f32132c7bb96c22f19ed9d14a9535bf18e211f060b8f8ed0da924eb1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): internal/dao/dp.go:170-188 | internal/dao/ds.go:207-225 | internal/dao/job.go:170-188 | internal/dao/sts.go:192-210 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/dp.go:170\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":"internal/dao/dp.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa62bb5f85276ea687a6de50cbe7b654630d0711556bd29f440fc1ca36087c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/dao/pod.go:384-401 | internal/dao/pod.go:408-425 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/pod.go:384\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":"internal/dao/pod.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"adae1459799b4a1dfc458694e9e8894efd98590a0269e44753ffca1447441000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/model/rev_values.go:143-159 | internal/model/values.go:171-187 \u2014 before extracting anything, compare \u0060internal/model/rev_values.go\u0060 and \u0060internal/model/values.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/rev_values.go:143\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":"internal/model/rev_values.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7650a7f103852e89ba96b81d7f4bab3f66209d403efb6e19ba062604d7f0763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/view/cm.go:49-65 | internal/view/sa.go:67-83 \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 \u0060internal/view/cm.go:49\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":"internal/view/cm.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b20d91bc219d14fac45e6725afb3d644ac77f4efd35cb56915b2abcd7ab36b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): internal/view/container.go:65-81 | internal/view/xray.go:220-232 \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 \u0060internal/view/xray.go:220\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":"internal/view/container.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05e4b49984dd5f7b6473d23a0cfd2a2e902c982f2eeb56ffe0bc7201ff7fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/dao/job.go:158-173 | internal/dao/sts.go:163-178 \u2014 before extracting anything, compare \u0060internal/dao/job.go\u0060 and \u0060internal/dao/sts.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/job.go:158\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":"internal/dao/job.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dc823b43607ebbfa92130d2747da0a5d6271e949750f964b1cc7e8503d79a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/ui/dialog/restart.go:46-61 | internal/ui/dialog/transfer.go:96-111 \u2014 before extracting anything, compare \u0060internal/ui/dialog/restart.go\u0060 and \u0060internal/ui/dialog/transfer.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/ui/dialog/restart.go:46\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, \u0060internal/ui/dialog/transfer.go:113\u0060 calls \u0060Join\u0060 and \u0060internal/ui/dialog/restart.go:62\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":"internal/ui/dialog/restart.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9fa771d6451d681ccf483e0b51b16d66dfc6fc3f815c2464379dd79c014f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): internal/xray/dp.go:43-56 | internal/xray/ds.go:39-52 | internal/xray/rs.go:39-53 | internal/xray/sts.go:39-53 | internal/xray/svc.go:44-57 \u2014 before extracting anything, compare \u0060internal/xray/dp.go\u0060 and \u0060internal/xray/ds.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/dp.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf88ddd3a2c3490de87131edb2ae8f117dcaf73a9bea6c365c8aee15843b21fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/dao/generic.go:113-127 | internal/dao/workload.go:47-61 \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":"internal/dao/generic.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4027c23b7716509b2d088f2b5f4b45794892cffc93affb60de3410fc1d18eec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): internal/view/browser.go:667-680 | internal/view/xray.go:124-138 \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":"internal/view/browser.go"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd67cda7a39c24f55e059b68d5610bc4e71532bc5884debf9610621ae6a395e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/dao/job.go:162-175 | internal/dao/pod.go:318-331 | internal/dao/sts.go:167-180 \u2014 before extracting anything, compare \u0060internal/dao/job.go\u0060 and \u0060internal/dao/sts.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/job.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09fdb328997ee65be5b4c411f8d3f1ca8b65bc60e50251792c5b22cab6ed38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/render/dp.go:82-95 | internal/render/sts.go:61-74 \u2014 before extracting anything, compare \u0060internal/render/dp.go\u0060 and \u0060internal/render/sts.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/render/dp.go:82\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":"internal/render/dp.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1084c2a2e9f4b0451b5382897e7a5630282ff06e5578f9a2748e03165ccc45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/view/details.go:294-307 | internal/view/live_view.go:364-377 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/details.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c5c4bace52cba252522bcc1335e1fbb3e9e26ad70d8318c9a125a3d045a342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): internal/dao/dp.go:156-168 | internal/dao/ds.go:193-205 | internal/dao/pod.go:320-332 | internal/dao/sts.go:169-181 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/dp.go:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dp.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e076d4c10adeac0a87c845164172eedccc4601357b7e711722355b68b3710f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/client/metrics.go:178-190 | internal/client/metrics.go:260-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 \u0060internal/client/metrics.go:178\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":"internal/client/metrics.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa155b66cd096cda7f3cdd40c8012139f302339622a1d37c29d5a130a74d63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/dao/cronjob.go:202-214 | internal/dao/job.go:164-176 \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 \u0060internal/dao/cronjob.go:202\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/cronjob.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad5c7dc99b9515f7a71310dabfa33c3e1308c57355c81df1cb1a3b2a750aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/model1/pool.go:50-62 | internal/pool.go:52-64 \u2014 before extracting anything, compare \u0060internal/model1/pool.go\u0060 and \u0060internal/pool.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model1/pool.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3b8813e8f8155525e14d6d5e7e2919b7a594816c4031ddbd8cb462764ff1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/model1/pool.go:65-77 | internal/pool.go:67-79 \u2014 before extracting anything, compare \u0060internal/model1/pool.go\u0060 and \u0060internal/pool.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model1/pool.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab09d5d6cad9fc1521474f61058acc1922e46d20b297b4784850c50d251026d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/render/pod.go:334-346 | internal/render/pod.go:353-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/render/pod.go:334\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":"internal/render/pod.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e3a06fa0e964cc325456249e888819f465be145ed0a7c3236739e21df4e55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): internal/ui/dialog/confirm.go:50-61 | internal/ui/dialog/prompt.go:35-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/ui/dialog/confirm.go:50\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":"internal/ui/dialog/confirm.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2c2a7013065c40412d5eb03a3a49a2dae538ceca26257d539f55be0bf0af90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): internal/dao/dp.go:143-154 | internal/dao/ds.go:180-191 | internal/dao/job.go:151-162 | internal/dao/sts.go:156-167 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/dp.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":"internal/dao/dp.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa59b6ad08a09c8f8fd8a14d94c2422647730fbaf9fe2f87532223d9a1ca23fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/config/styles.go:519-530 | internal/model/hint.go:24-35 | internal/model/stack.go:72-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/styles.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e7ede5504e8df8b6eeb2da0ecaed4e9164812dd0644847e005443dc8050094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/dao/pod.go:199-210 | internal/view/pod.go:535-546 \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 \u0060internal/dao/pod.go:199\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/pod.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3591f98dc55ab5c34d544d182bdbda1d93cb7cc53274217113ac5760164f2c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/dao/rbac_subject.go:55-66 | internal/dao/rbac_subject.go:78-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/rbac_subject.go:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/rbac_subject.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e0b76023b0f411e8bf418d48fc09c9a40b5703b6a4c4e3a9419d6d6d7f14cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/model/describe.go:161-172 | internal/model/yaml.go:165-176 \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 \u0060internal/model/describe.go:161\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":"internal/model/describe.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a65ec8d4cb6d8674805fa2ca68d8c940065de2c0bdee8be7f35d5818020f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): internal/model/describe.go:176-186 | internal/model/yaml.go:200-211 \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":"internal/model/describe.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"85be9014b0715c72b8948f4e99ecda3c5d81aa459b2ebe9c3c19e1bd21c4213d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): internal/view/container.go:138-148 | internal/view/pf_extender.go:82-93 \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 \u0060internal/view/container.go:138\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":"internal/view/container.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"713fa200ac6f7a84ceae81d01c74d5924b942d32810ed1d9af45351ca00134f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/view/xray.go:341-352 | internal/view/xray.go:365-376 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/view/xray.go:341\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, \u0060internal/view/xray.go:353\u0060 calls \u0060Namespaced\u0060, \u0060Path\u0060 and \u0060internal/view/xray.go:377\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":"internal/view/xray.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0481f69d21fca872420ff6704ca08bc84cc7746ff805f34d2409a3cdde1b2674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/xray/tree_node.go:413-424 | internal/xray/tree_node.go:452-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 \u0060internal/xray/tree_node.go:413\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":"internal/xray/tree_node.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d863986bdbce89e06157987c40caf330fddf397ed843eba64f26580049dddd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): internal/xray/dp.go:58-67 | internal/xray/ds.go:54-63 | internal/xray/rs.go:55-65 | internal/xray/sts.go:55-65 | internal/xray/svc.go:60-69 \u2014 before extracting anything, compare \u0060internal/xray/dp.go\u0060 and \u0060internal/xray/ds.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/dp.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1d0177501b8471d1cb77b6ab422c0aacc17fa023467343825d97b19dfd3b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): internal/view/dp.go:53-63 | internal/view/ds.go:53-63 | internal/view/job.go:56-66 | internal/view/sts.go:42-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/dp.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"86962d1aced96ca45a3631aadd7bb7693fc6b376cbebd194f07b18a7d8f8ec4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): internal/dao/rbac.go:66-76 | internal/dao/rbac.go:90-99 | internal/dao/rbac.go:116-126 \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 \u0060internal/dao/rbac.go:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/rbac.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1455f8e67c055eaeb353c22efaedd439c9e0ac9c9e6a787bbeffaf685a03eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dao/cronjob.go:105-115 | internal/dao/cronjob.go:178-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/cronjob.go:105\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":"internal/dao/cronjob.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c52c17362b2ad298be4cc1ea08e9e981ec70fd71db25b84f0a70749a3c30cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dao/dp.go:106-116 | internal/dao/dp.go:132-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 \u0060internal/dao/dp.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. 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":"internal/dao/dp.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b7b5240eb0575b33a25c8115af695a17801a7f2b492f2b3238d7059ceed1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dao/job.go:114-124 | internal/dao/job.go:140-150 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/job.go:114\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":"internal/dao/job.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb533a7eb1cf9c1b62c2d6865a8bd36b975613ea342c75c84c295244f0d7ee12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dao/rbac.go:102-112 | internal/dao/rbac.go:130-140 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/rbac.go:102\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/rbac.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cef675800e1c57115e6b6758175d2aeb897fcc58994d57350704e67e85162c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dao/sts.go:119-129 | internal/dao/sts.go:145-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/sts.go:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"internal/dao/sts.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf193594bc4dad6eab588d67d84605b60df4ad4fa57b0931e6d984ae8587484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/ui/dialog/confirm.go:47-57 | internal/ui/dialog/delete.go:64-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/ui/dialog/confirm.go:47\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":"internal/ui/dialog/confirm.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e1c372b437b5e1dad2b0a6d7ad3f9637075b24da6d446ab5c3b3a8a408903c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/view/browser.go:327-337 | internal/view/browser.go:353-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 \u0060internal/view/browser.go:327\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":"internal/view/browser.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4985c7842c0061432ad6ded9727cda20c0f12d2036e952c5c2c17d727530e2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): internal/watch/factory.go:205-214 | internal/watch/factory.go:235-245 \u2014 both copies are in the same file, so extract the block 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":"internal/watch/factory.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85fa6a709af951240deca4cbe1a138470a674d083585b256663f06818fa231a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 20): internal/render/crb.go:37-46 | internal/render/crd.go:44-54 | internal/render/cronjob.go:47-56 | internal/render/dp.go:63-72 | internal/render/ds.go:44-53 | internal/render/generic.go:33-42 | internal/render/job.go:45-54 | internal/render/np.go:45-54 | internal/render/ns.go:60-69 | internal/render/pdb.go:45-54 | internal/render/pv.go:72-81 | internal/render/pvc.go:41-51 | internal/render/ro.go:36-45 | internal/render/rob.go:40-49 | internal/render/rs.go:50-59 | internal/render/sa.go:38-47 | internal/render/sc.go:41-50 | internal/render/secret.go:38-47 | internal/render/sts.go:43-52 | internal/render/svc.go:45-54 \u2014 before extracting anything, compare \u0060internal/render/dp.go\u0060 and \u0060internal/render/ds.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/crb.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3cf27bcbb614a23ef5e8ec29e2ca3b74ec06ed7eeaa73c3ab8ec7fbfca1740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): internal/xray/dp.go:61-70 | internal/xray/ds.go:57-66 | internal/xray/pod.go:55-64 | internal/xray/rs.go:59-68 | internal/xray/sts.go:59-68 \u2014 before extracting anything, compare \u0060internal/xray/dp.go\u0060 and \u0060internal/xray/ds.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/xray/dp.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 \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":"internal/xray/dp.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b865fd5df5977d30c0973fd3fbea1c52cdbb8e85c7b25d56c990690b2a68170b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): internal/model/describe.go:119-128 | internal/model/rev_values.go:140-149 | internal/model/values.go:168-177 | internal/model/yaml.go:128-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/describe.go:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"internal/model/describe.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f2fc68760ec405abf00ed5f8aa85735614faa7299635395cbdccc795cb811a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/dao/pod.go:261-270 | internal/dao/pod.go:291-300 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/pod.go:261\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":"internal/dao/pod.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9f0e8979333efe2bb75f183548a468a66383ce78bf5feb64aa255eb5096c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/render/ep.go:55-64 | internal/render/eps.go:57-66 \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 \u0060internal/render/ep.go:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/ep.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e272261daf44be83a6fe4706f4459f4276ece2af1a2151fb2cb910752c2dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/ui/dialog/restart.go:26-35 | internal/ui/dialog/transfer.go:38-47 \u2014 before extracting anything, compare \u0060internal/ui/dialog/restart.go\u0060 and \u0060internal/ui/dialog/transfer.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/dialog/restart.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"05105e303a5545e70949e387505af4ac3d525675cb8a90157dc27e94704dd3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/view/browser.go:495-504 | internal/view/workload.go:90-99 \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 \u0060internal/view/browser.go:495\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":"internal/view/browser.go"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6ad66840bd49a88deb39bd38b2b756285355e3decb67664ccc05b4111ea4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/view/node.go:110-119 | internal/view/node.go:157-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"internal/view/node.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2e4e2027a6a459f748e8726a6127243370ff486b0a73f83138f6d2efd4a82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/view/table.go:266-275 | internal/view/table.go:293-302 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/view/table.go:266\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":"internal/view/table.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb0f454592f34feb24898bcaf4b3a81ec89055f0231ab9640775692d726c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): internal/xray/dp.go:31-39 | internal/xray/ds.go:27-35 | internal/xray/rs.go:27-35 | internal/xray/sts.go:27-35 | internal/xray/svc.go:32-40 \u2014 before extracting anything, compare \u0060internal/xray/dp.go\u0060 and \u0060internal/xray/ds.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xray/dp.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51106180b10b779122cf69eefeb1f537c8aed34a2bf9816d67cc570895930f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/dao/ds.go:143-151 | internal/dao/ds.go:169-177 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/ds.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":"internal/dao/ds.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb06fa8842e6cbb1f1be5201f6b88a818eebd520a15a321c944f320c7f408ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/dao/helm_chart.go:91-99 | internal/dao/helm_chart.go:106-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"internal/dao/helm_chart.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d8a2125e22e1c984bc9ec28f3220704e911121511a9be77e777f9808aa5f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/dao/job.go:78-86 | internal/dao/job.go:97-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"internal/dao/job.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a4299c6bec532ee32631a03e3fad637cefd762e38da70c4f1ff7dc051c9427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/model/tree.go:137-145 | internal/model/tree.go:152-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"internal/model/tree.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"424f16cdf61a73020274621478ba7dce3159e31cd47c25b124d72a6ad383ce86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): internal/dao/cronjob.go:103-110 | internal/dao/cronjob.go:176-183 | internal/dao/dp.go:104-111 | internal/dao/dp.go:130-137 | internal/dao/ds.go:141-148 | internal/dao/ds.go:167-174 | internal/dao/job.go:112-119 | internal/dao/job.go:138-145 | internal/dao/pod.go:260-267 | internal/dao/pod.go:290-297 | internal/dao/sts.go:117-124 | internal/dao/sts.go:143-150 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/cronjob.go:103\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":"internal/dao/cronjob.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2837fefe29b7b3e34992155138e4041eabae02c97e39f9fa880d46e5a9efa306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): internal/view/drain_dialog.go:23-30 | internal/view/image_extender.go:114-120 | internal/view/scale_extender.go:157-163 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/drain_dialog.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"84777e54d094d649bd3456e4ca49ad91c8ec187455211074da8c63df180befc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/render/pod.go:97-104 | internal/render/workload.go:34-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/render/pod.go:97\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":"internal/render/pod.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0b3c5da2d897f88c956f2639cce883101ccdff789e1c785f96b8cd8dbe039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/view/pf.go:134-141 | internal/view/svc.go:188-195 \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 \u0060internal/view/pf.go:134\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":"internal/view/pf.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbaddcd410d8d09eba24589a58cdf27a871a34fa00b3535579040128ac411d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 7): internal/ui/dialog/confirm.go:19-25 | internal/ui/dialog/delete.go:33-39 | internal/ui/dialog/plugin_inputs.go:45-51 | internal/ui/dialog/prompt.go:18-24 | internal/ui/dialog/restart.go:23-29 | internal/ui/dialog/transfer.go:35-41 | internal/view/pf_dialog.go:28-33 \u2014 before extracting anything, compare \u0060internal/ui/dialog/restart.go\u0060 and \u0060internal/ui/dialog/transfer.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/dialog/confirm.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ba1a7f26f624c5e219a7b604ee1ed5677f62b06d307dc3f71e0644831bb702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): internal/dao/cronjob.go:192-198 | internal/dao/dp.go:146-152 | internal/dao/ds.go:183-189 | internal/dao/job.go:154-160 | internal/dao/pod.go:310-316 | internal/dao/sts.go:159-165 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/cronjob.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":"internal/dao/cronjob.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5cd9c35b77cb0e89a268788f3c2ed01f6823536892a28d9edb317e0d52561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/dao/cluster.go:72-78 | internal/dao/cluster.go:119-125 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/cluster.go:72\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":"internal/dao/cluster.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5965fb7c9ace7c3ffe450c0869d2a0d01cf4fdef3a5432826326a4ec86700e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/dao/sts.go:64-70 | internal/dao/sts.go:102-108 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/dao/sts.go:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/sts.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda830a713f423c755d9000ff7ff7b903bfc6edb83a1952e6243863be9cd4918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/ui/dialog/confirm.go:89-95 | internal/ui/dialog/plugin_inputs.go:162-170 \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 \u0060internal/ui/dialog/confirm.go:89\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, \u0060internal/ui/dialog/confirm.go:96\u0060 calls \u0060SetText\u0060 and \u0060internal/ui/dialog/plugin_inputs.go:171\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":"internal/ui/dialog/confirm.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7c09b3916d6034f0e0b81c39dede78a200786699b161ba659f0f18ff7f2635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/ui/indicator.go:54-60 | internal/ui/indicator.go:78-84 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/ui/indicator.go:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/indicator.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb7fe0bad25cb544b8448ee6570194adae474768b4bf5a65b347eb94e528368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): internal/ui/dialog/confirm.go:71-76 | internal/view/context.go:98-103 | internal/view/drain_dialog.go:25-30 | internal/view/image_extender.go:115-120 | internal/view/scale_extender.go:158-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/dialog/confirm.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2604ddfcba3e193ad76eeee146604ae7f5706d58b9f13269a739c4165761b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/render/dp.go:91-95 | internal/render/ds.go:68-72 | internal/render/sts.go:70-74 \u2014 before extracting anything, compare \u0060internal/render/dp.go\u0060 and \u0060internal/render/ds.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/render/dp.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 after the matched lines, \u0060internal/render/dp.go:96\u0060 calls \u0060Itoa\u0060 and \u0060internal/render/ds.go:73\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":"internal/render/dp.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04e318f6b0f14050903592c04ed0fb9310ec221a0dc981981c49a183a6d5c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/ui/dialog/confirm.go:74-78 | internal/view/drain_dialog.go:28-32 | internal/view/pf_dialog.go:31-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/dialog/confirm.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c7a8853328f32896fb29650b5ce9e131278c5f5792eb63cf00bcfdaf5bdd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): internal/dao/log_items.go:129-133 | internal/dao/log_items.go:141-143 | internal/dao/log_items.go:153-157 \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 \u0060internal/dao/log_items.go:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/log_items.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f545dfbfbaf049a14508f766fdea7963334338f532efe143f8ac5d16a942f9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/render/container.go:130-138 | internal/render/pod.go:187-195 \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":"internal/render/container.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab38288e18062951e0f965c15a9e3f72afa071af973f4c6fc9fe13aed7fd80a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/render/pod.go:500-504 | internal/render/pod.go:589-593 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/render/pod.go:500\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":"internal/render/pod.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e14b37d093c8baf4af843b4d3a023397255f072e8d9dfb255d5e79fb268812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/tchart/gauge.go:106-110 | internal/tchart/sparkline.go:151-155 \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 \u0060internal/tchart/gauge.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tchart/gauge.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b391e0d1b78e7e55f7f4801596eda4089848910f8366a6deab8423f5bb4e2a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/view/cronjob.go:102-106 | internal/view/cronjob.go:160-164 \u2014 both copies are in the same file, so extract the block 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":"internal/view/cronjob.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd34d18b3798d34ed4184158bdffb8c5f6b25475f0aeb3ab1278e337b00eba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/view/dir.go:220-227 | internal/view/dir.go:261-268 \u2014 both copies are in the same file, so extract the block 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":"internal/view/dir.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4908a5fa88de958ef6830a9e334e8723843af63defb3a48a95095061f01d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/view/exec.go:67-72 | internal/view/exec.go:266-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/view/exec.go:73\u0060 calls \u0060Conn\u0060, \u0060Config\u0060, \u0060Flags\u0060 and \u0060internal/view/exec.go:272\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":"internal/view/exec.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6a6fb0e1d8acf23b8740db8ef155378909b576c547814b37f5d3960d39b31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/view/pulse.go:504-509 | internal/view/pulse.go:520-525 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/view/pulse.go:504\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":"internal/view/pulse.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e57deacc0f4739b004f61bae132f25f705963b7c1fbc4940d8015d66e0a3f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/dao/dp.go:44-51 | internal/dao/ds.go:43-50 | internal/dao/job.go:35-42 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/dao/dp.go:54\u0060 calls \u0060Scale\u0060, \u0060scaleRes\u0060, \u0060getFactory\u0060 and \u0060internal/dao/ds.go:53\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dp.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd96fe9ce5ca97329b6b9698fc0be825b0c5014de740aeb0b915e6aa001618c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/dao/dp.go:77-84 | internal/dao/ds.go:114-121 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dp.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c670688b61ea194ade72eebcbf2ecda4a260cc619fdacd1cf254a715a360c42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/dao/dp.go:191-198 | internal/dao/ds.go:228-235 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dp.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb41158a072bfb90be64ab84d0973614ce12c1e03e0f67dee866dc2a02c819a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/dao/ds.go:268-275 | internal/render/helpers.go:86-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/ds.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8db3405029a884f08b6f5168be0cd10f487cd28dd460332d346a4e36855d9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/dao/generic.go:96-107 | internal/dao/resource.go:82-93 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060g *Generic) ToYAML(path\u0060 in one and \u0060r *Resource) ToYAML(path\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/generic.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"653d9240e96de8b7d9e9a56b659bd81b4c1ab824df72ac3b5d0d4380dd01011b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): internal/model/cluster_info.go:176-188 | internal/model/describe.go:197-209 | internal/model/pulse.go:80-92 | internal/model/rev_values.go:183-195 | internal/model/text.go:77-88 | internal/model/tree.go:71-83 | internal/model/values.go:211-223 | internal/model/yaml.go:184-196 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 8 call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ResourceViewerListener\u0060 to \u0060d *Describe) RemoveListener(l\u0060 in one and \u0060v *RevValues) RemoveListener(l\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/cluster_info.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5106ead25c531355644e2f4569dbe3c264849be91ed7e05384ee95328dc742c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): internal/model/describe.go:67-75 | internal/model/rev_values.go:86-94 | internal/model/text.go:109-117 | internal/model/values.go:114-122 | internal/model/yaml.go:74-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/describe.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2e780c09cf64b5f562dc40acfbb9c524a644a2a2f5df7443a32dcf0289008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/model/log.go:209-216 | internal/view/log.go:208-215 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/log.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b70fa38ee4b6e263889f59d792473f5287701aaef5884eb3d7e37a99ef92a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/model1/helpers.go:167-177 | internal/render/helpers.go:49-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":"internal/model1/helpers.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f0ad3cefa18a5d0f54a9bb7448e0f7cdf7357237a571b3f93b6db814c80a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): internal/view/cow.go:96-102 | internal/view/details.go:156-162 | internal/view/live_view.go:210-216 | internal/view/logger.go:82-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cow.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"40db4822b33481602976c217b21a0e299de3fddb3caec53d458448d99fe60d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/view/details.go:240-249 | internal/view/live_view.go:294-303 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060bool\u0060 to \u0060d *Details) setFullScreen(isFullScreen\u0060 in one and \u0060v *LiveView) setFullScreen(isFullScreen\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/details.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9f9790cd48e567dff35805eae7fdc52605c05c80cc43cf0c8180b84a67a48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/view/details.go:267-273 | internal/view/live_view.go:337-343 \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":"internal/view/details.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d4b9da8f8dacbed0441f420dd7601c8a08ff5913bd549211629cf03bec52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/view/dp.go:79-87 | internal/view/sts.go:54-62 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060fqn\u0060 in one and \u0060path\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/dp.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"09434c184714021aace7716cc50ffe8e72d34736380c5f29fb3513efa4ac1446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/config/alias.go:76-83 | internal/ui/action.go:150-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/alias.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"698e2d9bf5a589570240d5b781d09bf92392d867f07edcaa642b254ab7b5c887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/config/alias.go:110-117 | internal/ui/action.go:86-93 | internal/watch/factory.go:322-329 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/alias.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5224163096a55000acbc709e468fd00a06309a1f45875dd02a21c75d847de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/dao/rs.go:34-41 | internal/dao/sts.go:42-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/rs.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5f2599feda071460db93789be560da24e7a48c61d22607013c246703c11d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/view/cronjob.go:74-79 | internal/view/helpers.go:164-169 | internal/view/rbac.go:45-50 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060fqn\u0060 in one and \u0060fieldSel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/cronjob.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bed7b91bbde61043740ee1edcf6630ee405ba53577d6196d155581dccd26ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/view/ds.go:65-70 | internal/view/job.go:68-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/ds.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66387599a4f9b95ca4e35e2a3584e1201c22901856d58019833a01a3becbdc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/view/group.go:21-27 | internal/view/user.go:21-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/group.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7d94aff1b31a4fcc8c077aef53e0816de576d727711745e5745159350da5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/view/helm_chart.go:47-53 | internal/view/pod.go:150-156 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/helm_chart.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd727b90d4fceeced877a833fc08e60629504b7753914c6576fad6cad0140b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/view/pf.go:64-72 | internal/view/vul_extender.go:37-45 \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":"internal/view/pf.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed4ac7140cafd35d7058ef592cff60862c1242873ce00f93cdea83689a14ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/dao/dp.go:204-217 | internal/dao/ds.go:241-254 | internal/dao/sts.go:226-239 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dao/dp.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b079e8fb2ea4ae52bb6a7e16b9a530c1f5dd052e326e58dbf004dc6520832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/view/log.go:448-460 | internal/view/yaml.go:83-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/view/log.go:448\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/log.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a697353632aebc8aa843d74baa4cc8984a1f712e4fa9385173fe699e19237a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 21): internal/render/cr.go:35-44 | internal/render/crb.go:37-46 | internal/render/crd.go:44-54 | internal/render/cronjob.go:47-56 | internal/render/dp.go:63-72 | internal/render/ds.go:44-53 | internal/render/generic.go:33-42 | internal/render/job.go:45-54 | internal/render/np.go:45-54 | internal/render/ns.go:60-69 | internal/render/pdb.go:45-54 | internal/render/pv.go:72-81 | internal/render/pvc.go:41-51 | internal/render/ro.go:36-45 | internal/render/rob.go:40-49 | internal/render/rs.go:50-59 | internal/render/sa.go:38-47 | internal/render/sc.go:41-50 | internal/render/secret.go:38-47 | internal/render/sts.go:43-52 | internal/render/svc.go:45-54 \u2014 before extracting anything, compare \u0060internal/render/dp.go\u0060 and \u0060internal/render/ds.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/cr.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1d0d82afa0af27c686c6ac8ec3e919897398351fa4dbd4aed914bceb8f9e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): internal/dao/dp.go:117-126 | internal/dao/ds.go:154-163 | internal/dao/job.go:125-134 | internal/dao/sts.go:130-139 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/dp.go:117\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":"internal/dao/dp.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70656c1ffd201b4d1afc6118421f7d4f00c7028a6895422f0b93e437e247250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/view/group.go:42-50 | internal/view/user.go:42-50 \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 \u0060internal/view/group.go:42\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":"internal/view/group.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2562d75a0e7accee99a162342166e1b8b31fb8af44f1f1c07df55b666b424c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/dao/dp.go:67-74 | internal/dao/ds.go:61-69 \u2014 before extracting anything, compare \u0060internal/dao/dp.go\u0060 and \u0060internal/dao/ds.go\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dao/dp.go:67\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":"internal/dao/dp.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"804c9795975ca6dffc56589882e30c91824a0ff2514aad32e6c0e2de55c316a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/render/container.go:51-57 | internal/render/pv.go:29-35 \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 \u0060internal/render/container.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/container.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b814700257e34ab2f178a9936cf616ac39689e138ad0520ce26a2f94351e37a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/render/dp.go:40-46 | internal/render/pod.go:98-104 | internal/render/workload.go:35-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/dp.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecccf33de61e81e75cd922da3e508aad818d2fdeb1e33c89f56753a3a732d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/view/helpers.go:142-148 | internal/view/helpers.go:156-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/view/helpers.go:142\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/helpers.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7a0d74b6541d4b9b796e6c23e483542588e8fc39a987f985af3ea221365575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/config/files.go:272-276 | internal/config/files.go:285-289 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/config/files.go:272\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":"internal/config/files.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9f63223eb323bdd4bbca46c5f0e7c3ca1c5908e8244418de613cbe6ee46762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/model1/header.go:112-116 | internal/model1/header.go:139-143 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/model1/header.go:112\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":"internal/model1/header.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4c4eb5afb42391ec2dd363a93231c492b85f3d869b1c09640912a8edb91765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/render/dp.go:24-28 | internal/render/ds.go:24-28 \u2014 before extracting anything, compare \u0060internal/render/dp.go\u0060 and \u0060internal/render/ds.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/render/dp.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a86c2d847f40ad1cc69877364c3b735c7e63d239dbde1635239adf7ec22686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/view/exec.go:76-80 | internal/view/exec.go:272-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/view/exec.go:76\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":"internal/view/exec.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a06bd122ab00801d7336e70a84d84ec8e1c4d8e90c08122a21d454147d7fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/view/pod.go:204-208 | internal/view/workload.go:127-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/pod.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5253ac5f2c5dd68bc32b51a95581a3479f7ea7a906520073f9e9cb07ebd343e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/view/xray.go:203-207 | internal/view/xray.go:215-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/view/xray.go:203\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":"internal/view/xray.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aa4c23fae9ac0c9c4a11cec35bcf9131a2031cd7eb835d05fec60ee728c236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/vul/table.go:148-156 | internal/vul/table.go:172-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/vul/table.go:169\u0060 calls \u0060sevToScore\u0060 and \u0060internal/vul/table.go:147\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":"internal/vul/table.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f932e61a353ce3a16e153b5d4eacee322febd151e0f15b29295208a986cdfa40"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Table (LCOM4 8): Table\u0027s methods fall into 8 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 8 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":"internal/view/table.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2c2b2ded0c21044db0cef9e5d346df6cee3d94cba320dca2e41c47d7b38b5c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Dir (LCOM4 7): Dir\u0027s methods fall into 7 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 7 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":"internal/view/dir.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4bf98588d5c38311cd7b4a1bc236c57fa3895a5c8fb9d1e505c540f061204f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: App (LCOM4 6): App\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":"internal/ui/app.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39685ec153ef3e72097598d6ae8c8ed7a51e6033154d7244f51e438b68aab8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PortForward (LCOM4 6): PortForward\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":"internal/view/pf.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7168956a644e5db7f0e9d3a40d6b5fe1e406898555124260843dd9758bf2da63"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SelectTable (LCOM4 5): SelectTable\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ui/select_table.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"919d5fa2c772c9f425de6e7c60cc7c34451b63a6a8fd6838431e915c6262570a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MetricsServer (LCOM4 4): MetricsServer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/client/metrics.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6505342f254a6bc0e970c6a4e5ba5b309cf7435bb2e1d61c6eeb7525f64a18"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Browser (LCOM4 4): Browser\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/browser.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4ed08dc2eb896bcc0426f5e2c5e042aa8a288a05bc13335ad7a453f6322bb"}},{"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":"D15","level":"warning","message":{"text":"Hotspot: internal/view/cmd/args.go: internal/view/cmd/args.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in cmd.newArgs at line 23. 3 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 06:13:59 \u002B01:00\u0027 --until=\u00272026-11-13 06:13:59 \u002B01:00\u0027 --full-history --no-merges -- internal/view/cmd/args.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":"internal/view/cmd/args.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca0e3efdff02c7cadedc018b1a4d2b9c8ccdacf9c5fc40d2dbac923cf0db3bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/render/cust_cols.go: internal/render/cust_cols.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in render.hydrate at line 145. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 06:13:59 \u002B01:00\u0027 --until=\u00272026-11-13 06:13:59 \u002B01:00\u0027 --full-history --no-merges -- internal/render/cust_cols.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":"internal/render/cust_cols.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e6b95370a768a666879c8c217d38552faf45b8696d154fa1d385b906d1ea19"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/view/browser.go: internal/view/browser.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Browser.refreshActions at line 654), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(custom_jump): Chain context functions instead of overwriting (#4359)\u201D; \u201Cfix(model): keep the case of command and filter history (#4358)\u201D; \u201Cfix(browser): load plugins/hotkeys from disk once per view (#4252)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 06:13:59 \u002B01:00\u0027 --until=\u00272026-11-13 06:13:59 \u002B01:00\u0027 --full-history --no-merges -- internal/view/browser.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":"internal/view/browser.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"affc153171834ca5c24aca6d63feee17ae5b7fe96815c6ef8629563b72cbd278"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: internal/model1/row_event.go, internal/render/np.go, internal/ui/dialog/plugin_inputs.go, internal/render/benchmark.go, internal/render/svc.go, internal/render/rs.go, internal/render/ns.go, internal/render/pvc.go (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3d2aeb54a5ebc4f54d57829e61185fc4f93f954427f238552a8d06ebb13d028c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (15 single-owned of 173 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; 173 of the 314 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: internal/client/metrics.go, internal/view/pf_dialog.go, internal/view/types.go, internal/ui/tree.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // EnvRX match $XXX, $!XXX, ${XXX} or ${!XXX} custom arg. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/env.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cd4994e9f0d816c144d0baf428155a1b223fa27381aff00fcc89de8356eba2"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // group 1 matches $XXX and $!XXX args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/env.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7932f30dd4fc5ba8e0484d2c1126c9893c3bf8756a34bd89d6656e275b56309"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // group 4 matches ${XXX} and ${!XXX} args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/view/env.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee33511c3ca05f2a68191e8db6a64f5c4106a352a5dca77a76293c7a15e03aa9"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060main.go\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"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":"94e86607a2499dbe7c665b9bcab8de50f518f7b5091dcd16cc16c0f33a635ebb"},"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":"2c59402e7da828747a1952138d7aec5fd9fb56661264ef33696751abfaebb6f1"},"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":"f6c19c12ad0436dd6bbecc01bfed853f6603cb4ecb7f3d4bb01f1bdb70e69b1f"},"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":"0087ae212e297d750ae221d17658e95d7b9ad544918353d0cba1fb096f63d458"},"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":"49861462a63b820080dd8a9193110eccfcc4b94708a9aca656609069d8563c9b"},"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":"5680937a0db411da4d9bd3f9e139f294914909820e592e56a05bfc9c1f4bcf7b"},"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":"bb75b4ee21f4e330cd8fc8a70b8511918e78974cf610c91016009722433a2c94"},"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":"afda41717b49dd6deb31c171efb84db3a69979b61e851170612561e024e0b496"},"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":"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":"176baf7cbcdcdb4b7d8f763bb176cff4ae1647da83cfec8eefd8856f0632746e"},"properties":{"dependency":{"package":"stdlib","version":"1.26.8","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"internal/model/cluster_info.go","line":209,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"346ae1f77b19bb950c6e55683a42ad30dc7f365e06a9ca00167114e610203713"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.61.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","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":"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":"b66958d36105d659606ca462f50269679a3c1d5e550039e14bf9ce51cddaaddb"},"properties":{"dependency":{"package":"github.com/andybalholm/brotli","version":"1.2.0","advisory":"GO-2026-6888","aliases":["BIT-brotli-2026-111497","BIT-dotnet-2026-111497","BIT-dotnet-sdk-2026-111497","BIT-node-2026-111497","BIT-node-min-2026-111497","BIT-powershell-2026-111497","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4322","PYSEC-2026-4323"],"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":"0a8382529b93999f1a061aba768172ce4b8ea628d3b9a083b8585b2e9104a51c"},"properties":{"dependency":{"package":"github.com/blakesmith/ar","version":"0.0.0-20190502131153-809d4375e1fb","advisory":"GO-2026-6905","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 100 of 173 significant files have no living knowledge, while the repository is still being changed at a low rate (105 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 100 separate risks. Counted over 173 of the 314 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"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":"internal/view/pulse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209061158fc96696b375ada88d9c28528e0ed64c8652305090e49b2423687a5"}},{"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":"internal/view/log.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c648a840ea1b080be22393827001433e0c1fabe8dc54722de0c28bc2207244"}},{"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":"internal/xray/tree_node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7206de8a5a702590ed90a5fe151fa92f3d5dce2890cbe64769cb3acd9cbbc4"}},{"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":"internal/dao/dp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1385f7fed32ac71f1992e0623397f3c30052ab4a7c2ae7b1a08c2608925bd526"}},{"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":"internal/view/live_view.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"693cdce8a0ac1094ad5c2ed1a528de206b6f31ad34a88f32d8d9362b6e848bd4"}},{"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":"internal/config/files.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb43e67a88f5d04f62dbdf5ca6293c1d25603d1de0f23de82d43c31352f3288"}},{"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":"internal/model/log.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da45df8b795c081bfa8a31fabfe64bd30fde2214ffe2a9bad4787adc6632d0f8"}},{"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":"internal/view/details.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51430298c595c278363f0ae7217676fea207b6b6de3b9a835a44ec5114329b"}},{"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":"internal/ui/prompt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6c973026ff7ea8e5de8ebcd4dd3ec44cbc796ab10361a651fa8a86b5b5d6c"}},{"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":"internal/model/tree.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88330681dd8c2e2a0de1e6321124ecd0b8ed030fe4bdea53f7a08afcdaf22e0f"}},{"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":"internal/dao/ds.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89427876f37738acdad1e03173f9d552dfe4dff7c3fe985d652eaca871b11cc8"}},{"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":"internal/vul/scanner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c490a52a0d4f5e4235d47b2b5145ddfefa59e53cd996e1f393e7d03324b0eb"}},{"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":"internal/dao/sts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea105fba9d73ee200ccd849db353d1c2d19ff045b7ebc84f4c156bd18ff7c8"}},{"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":"internal/dao/recorder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"558fa475b9dc9e27366e5272afcc5eeddfbcf28d12aae87eb34c8c795b80f8fd"}},{"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":"internal/view/dir.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c2ef8b417cb3c4f1fa963ac970b541bcfd1106a15c03baee23307296b7249f"}},{"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":"internal/view/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a6bb7212930eea187ee1b34b25aebb2d1dc2f020d83f0d3d95e0e13a1cfaf"}},{"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":"internal/dao/rbac_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12efab3a9c59248d380825edafee9d9f1834d9f052ac9c4d6066eaa0d60ab49"}},{"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":"internal/view/pf_extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6409f09c14d0da8d26e8dd873832738edfadc560337e045c4b3c8e412eb1c407"}},{"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":"internal/dao/cronjob.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eddcc975b450051f43ff2ac777cc1c60e6844c1fa243b2dc546fac7f9af283"}},{"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":"internal/view/workload.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaeea7154a3a8a705df3c48ba441de182aa3fb5012730e5d2587d229335a015"}},{"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":"internal/view/pf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b0423bd7d67e32a0ec6d4aaf93958d4b93f59d879b167e04bed114c8a919a8"}},{"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":"internal/model/cluster_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98615f3d102d83be0ae54c78f7dbd280abb28ad0b24285038edf0bd78e0c11aa"}},{"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":"internal/render/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833a5c46bef2a3cc3fea3f6a1b8c72305dbcbfef87d3086bad064b7aa41902fc"}},{"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":"internal/view/svc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3af759b0162be8c75d6d2071326b413fca6fed6aec4549e03416c23e2c6a6e"}},{"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":"internal/view/node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e17fe67582d32af833c0d2dd8b56c1da10c9ed7f1902d7e407f9d36ad6dc42"}},{"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":"internal/dao/workload.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b08b7404a7af3166f71f0cf9ad2d4b9d794eac1c1c3ae9ae8cb213505dd73f"}},{"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":"internal/config/views.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d7a8e81b23bbf0a7ff98a9ac0fcf3e37815de09741e6b0e38f07e11a5524e"}},{"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":"internal/ui/menu.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5139c22a57afeacb0636051dc24165ffd64c6892666901d7ba5b1abb0f485e62"}},{"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":"internal/model1/header.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da3f8ad6631b1bd3c2d9dc3e5137b4b76d33c872279f4888c79b40fc4af38af"}},{"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":"internal/model/cmd_buff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0216870ad65efb7dd3833c5b03ad463ff6c27060ed872fbb921a3d5a402e3d"}},{"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":"internal/view/image_extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df2bbeac5b86b433bd8a0959489efd288cfbdce023a57111f46e794233b40be"}},{"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":"internal/view/cluster_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22392b453a02a8867547a0e58521dc825eb7819a2ef2e60933fea3276a6090cb"}},{"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":"internal/dao/rbac.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b940a27e6b8276fc778e5a8e2f3d98f3bcaeb2afde2d40d075316cfbf7676f10"}},{"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":"internal/view/log_indicator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d2edc8d94a8591ce63dd418f4853e47d6b6c8c29335b4983267717f68fa3d8"}},{"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":"internal/slogs/keys.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f4bd2d39dbf6613f659f7e54c67749b1b1521ebcf9d0f2964e5f5a1e657abd"}},{"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":"internal/dao/log_items.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7cc01c07381092de1964c5f199136ac423f04ac1975d3eae8c675dccccfb3"}},{"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":"internal/ui/select_table.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bbc8653f49b89e7745290e62cd636469ccabc48f7b6c5d2b144970d896e624"}},{"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":"internal/model/values.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd31f53bb37a12d5564c19de19f1351651074854d8b68b269ab69979ee08728d"}},{"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":"internal/model/describe.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011e91dd1efb7a1f7e1bb4c96f25bf916407125c5534c5b5e8153d5d8aff3b66"}},{"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":"internal/dao/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8f2f75273ac98720904bae7a8c50c9d9e9ee170bd42a6e8bbc7f5f06a200b7"}},{"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":"internal/model/yaml.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d31784f4305d17b507a75ff540f2c04bfa02e30aa136188f45860c2a1b7025"}},{"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":"internal/client/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc85bb37bbac66d1c4c9733655bc2301c4ded5fe30f55f46692a74a34f7c52ea"}},{"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":"internal/config/json/validator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0333ae84e06a601c2408df8a2c458053b26f94cd89fe08caf069ff1a0ce51549"}},{"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":"internal/view/context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a24cbbfdd36ad3018e21abf62bdd7f0d4ac78014d8b28d306c65209c66ce9a"}},{"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":"internal/dao/table.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c304817b6bb10c54f015c4383d779b3071c327aa1c704dc56ec258c70050e26"}},{"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":"internal/config/mock/test_helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ee97d56ee2a5bef4dc149a489cea779b1cc12d33dc3cfba5b6203e92c885b"}},{"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":"internal/model/rev_values.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f96772f8742684a7667fb9209f4a64efccef79960887cb6e7fac69de9fa5b"}},{"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":"internal/tchart/sparkline.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6308602810eae94e0e5cf6c33216ece9ea9bb097e425a50cc2dc6bc7d436d9"}},{"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":"internal/dao/dynamic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e380e2ae29a1ac9fbbbc0a8bc61d9a37a7dc1c2a7d500f62913ee4becbfc9e75"}},{"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":"internal/config/color.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725aebe66d63e3d8b8f4423b49f8c9e96c437b8f868b2cee815cbb7f94ae1b2b"}},{"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":"internal/ui/action.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56576d7c79c8c3d384114a20227d3f8460d5bbf21053230d876660d103b826db"}},{"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":"internal/model/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25bb4d0a1076fd8a384a2415d5a6d2c49c963b4e3814abbc53bdb6607339f09"}},{"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":"internal/ui/key.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8062aa430e6f2a322a8aed4dade0662cc7b07b54e9684160ce93dd6a28d942f"}},{"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":"internal/dao/helm_chart.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0d968590ec1680146ae936cec9b573333c37bbc7d1f5e5002d3e8df247b8f7"}},{"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":"internal/vul/table.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24627d3706101f81a18e0ea289b8e8e2d9c3d29f93149a5cb5da5f0971c412e"}},{"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":"internal/render/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f2fe0c34653fcbee747a517b1671279c94c1ac36b02fbeaab54e4644957f92"}},{"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":"internal/view/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a28654d34ad25b36a82e9a94f70eee1088ee16e2d692a88e61de783592651cd"}},{"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":"internal/dao/helm_history.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82279822f43a8943e72c7792b3b7da2f98f293307b3b8f07c4ab3405942d93"}},{"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":"internal/tchart/gauge.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefe5a22077c82830dd82d4c917d36bb053d7a04e8ee86e3589f7e5c7342f445"}},{"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":"internal/xray/pod.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3c7ee890b72cb6f5c400116c97cee63bb68d329747f6751def1bc452ffce6"}},{"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":"internal/model/stack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30574e2ee6746a590955eacb37282325ab29f6f83017610b01f23a85865426a3"}},{"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":"internal/ui/indicator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a916b147f5282423cc0593181901284cd1238f5bb5eca3336686c8cc44392b"}},{"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":"internal/model/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481210ce16226c79b935ccd1984f4926fe1dc0c3e078336aa76498895b0189a"}},{"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":"internal/dao/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e52c0bc264541e5401ee2d552d1c0f570f55243918be681ef09574e197486b"}},{"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":"internal/perf/benchmark.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3462ef0aee65026d32f0e1d61cd4379bc064d4fc75e2d7df486578f4b83f9b05"}},{"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":"internal/view/helm_history.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f81d46e9ca9bd00803bdcdea842b9e12d4047f0f3b0226199eb981ed3c656"}},{"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":"internal/dao/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409572b7c8e0489e8b9ffb6fbf094d8527d4d62a7e79aae9136a149ea33e8f5"}},{"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":"internal/dao/generic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12a5ec95c1a5e07ed29a49d3fad7c596cb1eeea64fdf89094195c97fbdc3f1b"}},{"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":"internal/render/rbac.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d324efd8ccbba2803bd3535c72998483287ec0311e0f5186951a5ccdf0aef231"}},{"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":"internal/model/flash.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ba922cb21a5fb7271b023ce2d6fc2c77d102dd9816a3ede78eb889e8333010"}},{"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":"internal/dao/log_options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c517b3b5da68bf3a5e34f9c8d24a468ec06a1c3e93c9d61afe1e12fede7cd"}},{"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":"internal/view/cow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97c78884d4eb8e05d8bcef7d54b4131bf8ec454d339496eef7e545da5df6155"}},{"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":"internal/view/cmd/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10390ef573029d8fb16a89632745b6da10f2542553aa75b1e125f3b7f011250"}},{"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":"internal/dao/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b437e3887083b0e84d9badef9429339557ee49250f0e7ae86264e300eea722"}},{"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":"internal/ui/dialog/transfer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4e54c5aff0ea96081aa22d2012527a9a1d7c6416628fb9dff2c588a590cc55"}},{"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":"internal/ui/modal_list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f1592d70fe4a956bafcc1e3fe3f0c06ec3f2dd03baa2d227731a25f918feec"}},{"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":"internal/port/pf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb430c6c44d5e24854ab242cf52d42103b2cb91fad7df2a0384f80acedd044a"}},{"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":"internal/tchart/component.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4413d404bfd3624820119a54ae220f32e3e7478de4aa1d217af9b7a6056249f7"}},{"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":"internal/model/pulse_health.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5385952f05dc2b93e82acfbec9a5db60148c0dda26b238d1760e119cd6e470c8"}},{"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":"internal/model/fish_buff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e27b3138f446975fbb496fb544ae5bb7d81b98d4746c48a7c867e95f5459aa"}},{"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":"internal/view/logs_extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fa58cd3c25b4f3e5d1b2d0f43af1f2350f4813342724fd175e465fae83cef7"}},{"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":"internal/model/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcfd6db6f226bd85e66447cf9733adb653e49dee3425ba3ef51ecc1f491303e"}},{"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":"internal/view/drain_dialog.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd7609977bab7fd00e1eff16f463a10027031fde066eee4a644d62749b42385"}},{"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":"internal/dao/rs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c86028065f8c950c83748dca6368722162869ddd31f6aef03cc86f436f8c4"}},{"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":"internal/xray/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e155c6546150270ead9dbd838febf784f91c25a578600776fffef13cc47ebf0"}},{"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":"internal/render/helm/chart.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6f96d7a53c4d713b01f113efb63bac142d700072f6b675293045b8be4cc450"}},{"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":"internal/dao/port_forward.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab6194780807d42bc9a4aae23ca473595e960a29609040d63d1cbb764430428"}},{"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":"internal/config/data/ns.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608119d11539e1a7808ab4fd90708f168ba7604304018b8726e811188788b7ed"}},{"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":"internal/dao/alias.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4133cbb2894fdf9ec758a5b4d6360e82d6239e5e32454a81b1b4cd6012b0b1"}},{"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":"internal/xray/dp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ca8d59f43f0ca3b397302a2afe6952a79328d523892c866976a942696fa8aa"}},{"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":"internal/ui/dialog/confirm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b8943076e24e209aab52cda6dfa109e3e93bace1962f062f90e740cba00946"}},{"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":"internal/watch/forwarders.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b7bbef3c78eff66b1c1bf44c8d8c71753426427ebb0174b1d721ccfce0261e"}},{"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":"internal/view/registrar.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab911f85fb667e4b2948fd3f4b70e5138c8f79176b00a2766cb1e705d05da310"}},{"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":"internal/view/clipboard.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4a8e6cf29434a908ad30b31cc0e54e58c7bad570c6155a80f64e6f71a35d07"}},{"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":"internal/dao/patch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615b865c87da8a2d24ebd3800d72c246fa21909ec81cec3b230713dd46039b57"}},{"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":"internal/view/dp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80605a08115bd11d0e42f67ce2d1454540e6db7713a2e392dd25329fed0dfd55"}},{"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":"internal/view/yaml.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1d3890714d3e940ad401af44bdcecf4127f3cfc2f13416b54a12ae55669602"}},{"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":"internal/model/text.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def070f0ab471ca2c482300dcc79dfd605f4e22613eb8f77ef72538e3127c848"}},{"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":"internal/view/benchmark.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fc3a1f75708c3e969fa341fd8786ba5b1ae546610df5c01d593e4f9d3addab"}},{"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":"internal/config/benchmark.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45697d69b6f2f30ec9bd308f8ba855006a83985b59572f8137ec51b289a517b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: helpers.go \u2194 log.go: \u0060internal/config/helpers.go\u0060 and \u0060internal/view/log.go\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060d72467a5\u0060 Fix lint build (#3066); \u006026d15856\u0060 K9s/release v0.30.3 (#2381); \u0060abb0a39c\u0060 K9s/rel v0.26.6 (#1784) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47bbc8e464450b4f5e77cb6f16549d672a2d3c12d4175612af4af05a2807714"}},{"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":"79f4e1fec006795aafc7947fbb24ba6da73c38c55c406e8c09ebfbd14ed4ad63"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e98dd739bc1bd197648941340c5407e70135edcd93c702ed9e8da54b5c0e1157"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release 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 the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.Object.Raw == nil || row.Object.Object != nil\u0060 appears character-identically in 2 files \u2014 internal/dao/dynamic.go, internal/dao/table.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":"internal/dao/dynamic.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e816951342fa4b3cb7a721765655d828943ef85f9bc50c69a78e318c45bf01"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/1 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: fetchLatestRev: \u0060fetchLatestRev\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":"internal/model/cluster_info.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf7408f101e3708a8c44c2c7f7e0bdd8874e1cafbedfc36a180bedcd47bdc0c"}},{"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":"internal/xray/tree_node.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a02d72254be1571dc9913f34e9a685ba2c96da164d378bd2383245cf07c8e3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := runtime.DefaultUnstructuredConverter.FromUnstructured(o.(*unstructured.Unstructured).Object, \u0026pod); 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":"internal/watch/factory.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d158b85704f425bce5cd6ec92fc2fee29dabd8ea38afb6d37767cf8f4c7bf"}},{"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":"internal/view/browser.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"735adf60b826e5c0ed1f7abacaf66750161b9835c13241beee12d7ac01e7bcf1"}},{"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":"internal/view/clipboard.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c219ca8bd504a1c821a4be6caab4eeaa6ae57f5eabd16f4935403a259ca143db"}},{"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":"internal/view/container.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f5d2fb4c903e45366ddcd0e37e284d6846f66cd34008586ce0943e0b33cdc4"}},{"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":"internal/view/dir.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab6bb0c94c2f4b79acbfda412e8d4354f2ceb7bdb7d5c674ac019e0990d6876"}},{"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":"internal/view/dir.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c27ad22d71401d9b3f77b0fba044a7579f2fbc5ee494de9c987e407f134612"}},{"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":"internal/view/helpers.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"37550b835e7868d88e0f6c0045e009bd1f103cb6a2416e8a36f1cc5cfc2f3d49"}},{"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":"internal/view/helpers.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"637f637d48f733cc071c4d0c6cc9a6e17c51970d6cc948bbe3e49698f5d72f05"}},{"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":"internal/view/helpers.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be51969dac5c447b8783f3403804fcbd532815488de37a5a11f85294ddbe9ad"}},{"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":"internal/view/helpers.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"10595f1d547359d6ddba41d8b96e8167c518d84c478d5455ed86ab8eac607b21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := strconv.Atoi(strings.TrimSpace(t)); 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":"internal/view/pf_dialog.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5578b198a01b1275a0011891eeabaf69de5d6bda8eea25784bc70eaa1be11961"}},{"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":"internal/ui/deltas.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ec225196006917adcbc24ab6f49d979a35d28f921a815162900b039fd21cf"}},{"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":"internal/ui/deltas.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a0e8075b1c654091439337efe4641388f8028c70e04c0795150d38826a152c"}},{"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":"internal/ui/deltas.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cfd8802e3c736d5c6f645709206e359a706a1c90727510cf94dd3a6b6b8748"}},{"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":"internal/render/helpers.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7c58ef22cb86ad7286d8ae79894a175c1daf86171993212ff9c242f4ced042"}},{"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":"internal/render/hpa.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa84d709e1c2dee92f942a5b702585797d4e256dd49a9c1abc6b4fced3f67ce0"}},{"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":"internal/render/hpa.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e727ea89a02e00d982dd0d9aa4bb74a48b0d1ed00d66bc1ee7c26de22aeeb5"}},{"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":"internal/port/co_portspec.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"89715dbf68128b7cf29ed3b77947aaaa863bb2225b40b7dc0e901662bd513f11"}},{"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":"internal/model1/helpers.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d05edd48985ef5b3ae6837df34a00c31117fe604e2c153e96a2ad201688106"}},{"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":"internal/model/cluster.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"555b7ddea0b7ea2a5ce2dcd3b166226ee7e20938697cb5c21778bd6026f7631b"}},{"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":"internal/model/cluster.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d2e4ddf5096f3d76f80b1712dd0232deffeca2109e429d9c049ab452bfa563"}},{"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":"internal/model/cluster.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497737e26f7b3f1f72e2cc4b932d9a5be38fbd11543ac70966e1c7d31e1ca7b"}},{"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":"internal/model/helpers.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2769d1e34f20d5e42046141659a84d5655b98ade3397ce5ff8845da1140bcf49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := meta.Renderer.Healthy(ctx, row); 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":"internal/model/pulse_health.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca7407e11dbb9092b1287b1b2921d14c444cce7745c168af9625cfdfbc84efa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := meta.Renderer.Healthy(ctx, o); 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":"internal/model/pulse_health.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aa135103e29f9bb2e1c9c301d35e12445fdc097dc5b5718074a445783daebc"}},{"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":"internal/dao/pod.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caf4594f347a28a6d94294d53453c8bb5404fc800f3c2428a0dc60fcf03984d"}},{"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":"internal/dao/recorder.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"77627a835b67b6c805e2c6e9963ee8f259d4abe1fe04aa5ada6bde229d1a0e97"}},{"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":"internal/config/color.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76c24c5b7f288fa88665c35122a0d91d45b76f63c473cc772ca034b33102aed"}},{"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":"internal/config/config.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"325053a5a2b52c7eeefebccdf4841045b4ceef9862b6afdf7bee44aa67a48b43"}},{"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":"internal/config/config.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d7cc10ffc47f0656da9af4e3afd340481d39bed6190f1ee85a13075055231f"}},{"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":"internal/config/config.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca161a2e4a870c27c4dfe11a3005453d8ec590e7cde72400bd37c8f0d92d1a71"}},{"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":"internal/config/config.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"86faa4c16a1aa2fc16bd562fad4d24ac6ff2191951d8fcb40b60349339731c8a"}},{"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":"internal/client/config.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeb7dbf4d6411f17583a45958c015e1a75c9e021b7d5d44f8d280501f46c4f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ContextHotkeysPath\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":"internal/config/config.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2607e7bafb59cbf95d08d867954d32952e04f3f79105a16fc1a6a439fd6a6b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ContextAliasesPath\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":"internal/config/config.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"171fd659863fea5fa2a1ad929721cfc44204fea61710a43c348f21d99cd0a2a0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060extractPort\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":"internal/view/pf_dialog.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98268224bc1cfcc91f42b055f9107a26e41dd84d6a5d18cee6d71fd7fa37eba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060category\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":"internal/xray/tree_node.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd73320c55fc8c0f5e37a2c78b484d3c51082f70d35da04ae0607a5bac41fdd"}}],"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-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-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-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-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-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-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-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":22,"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."]}]}