{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"AXA1","name":"Runtime unauthenticated reachability","shortDescription":{"text":"Runtime unauthenticated reachability"},"helpUri":"https://codehealth.canine.dev/dimensions/AXA1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXH1","name":"Runtime security headers","shortDescription":{"text":"Runtime security headers"},"helpUri":"https://codehealth.canine.dev/dimensions/AXH1"},{"id":"AXI1","name":"Runtime container hardening","shortDescription":{"text":"Runtime container hardening"},"helpUri":"https://codehealth.canine.dev/dimensions/AXI1"},{"id":"AXP1","name":"Runtime third-party data flows","shortDescription":{"text":"Runtime third-party data flows"},"helpUri":"https://codehealth.canine.dev/dimensions/AXP1"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 80): main.main has cyclomatic complexity 80 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40c572ebfa3eb335faae75b852b3027937bfc887dfc652481ef5f828dcc3d8"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.key (cyclomatic 53): Model.key has cyclomatic complexity 53 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0effcaf9af5e1068764e42e540d6f41c22bd1861867fb41461d909a45df5f29c"}},{"ruleId":"D1","level":"warning","message":{"text":"nvidia.read (cyclomatic 47): nvidia.read has cyclomatic complexity 47 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad974e3cd33af31f83152134502f7317705149de8a61b2b74b3c1e54eece351"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.command (cyclomatic 34): Model.command has cyclomatic complexity 34 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"293107f8a784839d92548b6c0450222e645c2df5af8b2a90e2980b32f9d8067a"}},{"ruleId":"D1","level":"warning","message":{"text":"health.Score (cyclomatic 30): health.Score has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/health/health.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e798b025e20c64a2fd23d2e485f40c8e4af378ba4561e6e71a6a11b9ee716817"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.detail (cyclomatic 30): Model.detail has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc604e92fa535ce6e24240b7ef4fc3d240c3a74f0a0debca234857a3e213ba91"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.viewCompare (cyclomatic 30): Model.viewCompare has cyclomatic complexity 30 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd03f2b783c138715cd61388ed199db238f2915b56818ea4253b8eafb95ddf3"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.mouse (cyclomatic 29): Model.mouse has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"726be829ce8d7f6132db993dffa8eae2c5094b7a3a3e91e8d2ebd6ba4de52f61"}},{"ruleId":"D1","level":"warning","message":{"text":"Detector.rules (cyclomatic 28): Detector.rules has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/events.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c145180c4304687407e90ef68c2acabe50ef7cc9f71637091cdd2a0101b749d4"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.enrich (cyclomatic 26): Engine.enrich has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/collect/collect.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c9e0012e175ab7854e1de309ee03de0315e12c03d80d31843bd5c9da52c657"}},{"ruleId":"D1","level":"warning","message":{"text":"nvidia.depth (cyclomatic 25): nvidia.depth has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"706ace4b77643cadd5d0e46b4effa7fc0641f9c19dacf6ce7bb277b6bef614bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.viewHistory (cyclomatic 24): Model.viewHistory has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba8540158f801978ad0a0e167e84322e414adcd991ec8ccb7b84c2c0a01764d"}},{"ruleId":"D1","level":"warning","message":{"text":"smi.drmProcs (cyclomatic 23): smi.drmProcs 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/provider/smi/sysfs.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc712d3afb418590a0bb18d18be1c6ea14056e95682a24144ca8ca1b06a111dc"}},{"ruleId":"D1","level":"warning","message":{"text":"server.Prometheus (cyclomatic 23): server.Prometheus has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/server/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f478c3f7e995f8557760ef8077f1adb40f2cc69f8b724503ad2a1e77af76b86d"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.argSuggestions (cyclomatic 23): Model.argSuggestions has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/commands.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf9a5c84a038ea4cef09637fe27ab6684521b8024c215a7dbddca60e1295f02"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.hostDetail (cyclomatic 23): Model.hostDetail 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/tui/views2.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2787448c60412c1f10b99098583d5af9452c2de2deb8850966474161338d37ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.topologyMatrix (cyclomatic 23): Model.topologyMatrix 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/tui/views3.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"484002080713d1f4bbf5c3b4e6c0741286f71be6910c8317ce23a0f27a28f64d"}},{"ruleId":"D1","level":"warning","message":{"text":"main.diagnose (cyclomatic 20): main.diagnose has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"60489c65da226833f35688bfeaec3ff53f1af5185dd36b38f12782452ecd79cd"}},{"ruleId":"D1","level":"warning","message":{"text":"derive.Anomalies (cyclomatic 20): derive.Anomalies has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/derive/anomaly.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"121e25e0965c1156f36e67a571b3be5a8face52e9836243316145bba147ac9d2"}},{"ruleId":"D1","level":"warning","message":{"text":"Resolver.fromKubeconfig (cyclomatic 20): Resolver.fromKubeconfig has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"46757631d1ff6305b6f8d7c5a89f03af37a3d4ed293ed957bacbdf676ad4163f"}},{"ruleId":"D1","level":"warning","message":{"text":"Resolver.Describe (cyclomatic 19): Resolver.Describe 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/kube/kube.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca7b9250d96c2a8f1e206f9b0418518b7d2337da340cca7725c7662b6a3a18b"}},{"ruleId":"D1","level":"warning","message":{"text":"Resolver.Nodes (cyclomatic 19): Resolver.Nodes 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/kube/nodes.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f104b50e5e6d08300de888d6172e68f29ef552de43400e96526bfdce4fb6f2ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.Collect (cyclomatic 18): Engine.Collect 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/collect/collect.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2485593b5feb6ae360ad164c9c343be33cc19beb7b67fbc6196267052753ea74"}},{"ruleId":"D1","level":"warning","message":{"text":"nvidia.links (cyclomatic 18): nvidia.links 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/provider/nvidia/nvml_linux.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c71ab667b8f45e5c6a7d1d50417a2323c8198a7a064c14ade1c8b79f2f48856"}},{"ruleId":"D1","level":"warning","message":{"text":"nvidia.events (cyclomatic 18): nvidia.events has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/provider/nvidia/nvml_linux.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5626ab9cc2331baf1fdfd433c156872023cd76c61a1743c4159837d5858b645"}},{"ruleId":"D1","level":"warning","message":{"text":"Filter.Device (cyclomatic 18): Filter.Device 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/query/filter.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d22853d7f5a0c1e02030449eec4501f5cf232b88e353ecd634cd0e219538be0"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.overlayKey (cyclomatic 18): Model.overlayKey has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa310e99678ea48c69bf0a1baae7bb49ffd8a25d0f0577931d18a77adc0f591"}},{"ruleId":"D1","level":"warning","message":{"text":"smi.parseNpuSmi (cyclomatic 17): smi.parseNpuSmi 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/provider/smi/ascend.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a69f8ae01778c6a91534b6719a95d0bc26d706f3e320956f44704bc908dd0fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.pods (cyclomatic 17): Model.pods has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/tui/views2.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ec0eb919551fe9a626d3c207b464eba568699e62034c1c21cbfdd93072b5ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 16): Config.Validate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0023ff928ea5e976bd9ab2a00bd55f3abc43f19f72fab1da71e9ff933420c521"}},{"ruleId":"D1","level":"warning","message":{"text":"derive.Summarize (cyclomatic 16): derive.Summarize 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/derive/derive.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"126cc3115b854f9976503ea5424d8ddd1adaf81ad46b9847fa7d148f87c5d655"}},{"ruleId":"D1","level":"warning","message":{"text":"model.device (cyclomatic 16): model.device 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/provider/sim/sim.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc83e4f157a5129b8cfc6d29e70997becf97e4919fd1929ef0ee4f62fc0d37c"}},{"ruleId":"D1","level":"warning","message":{"text":"Theme.tableMarks (cyclomatic 16): Theme.tableMarks has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/tui/format.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6f04ecdfaf38205fc0fc76a6114f2c8946b4a41f5b56b8df53356fb704e792"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.reliabilityTable (cyclomatic 16): Model.reliabilityTable 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/tui/views3.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c8795ae05b9c719e32ff2c9c2d0809ea90bf3d1f0e765089e9ec97d20c7844"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 108): main.main has cognitive complexity 108 (threshold 15). Drivers by points: if/else 52 (84 pts), boolean chains 11, loops 3 (7 pts), match/switch 4 (6 pts) (nesting depth added 38). Of this number, 93 points are the body\u0027s own statements and 15 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":"main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6790b6deacf27413460cbd5dc85b4aed290e794a9c8c7bc1bda29cdea50d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"nvidia.read (cognitive 89): nvidia.read has cognitive complexity 89 (threshold 15). Drivers by points: if/else 31 (72 pts), boolean chains 9, loops 4 (8 pts) (nesting depth added 45). Of this number, 86 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d0afbfdd81de6d0f3c805d83cb23dc06a7b12bec9da5d60d6d642f490161cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.detail (cognitive 54): Model.detail has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 7 (15 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c907ab9d85dac3e483d15a75db69ab0ca8be9b3ec2da2d009a464b2f6eeb61"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.enrich (cognitive 52): Engine.enrich has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/collect/collect.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b807d1e2de773324e4f9f739c107025a6295d70852f7d0bafe53f7acc5ede2a"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.mouse (cognitive 51): Model.mouse has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 3 (9 pts), boolean chains 8, match/switch 3 (5 pts) (nesting depth added 27). 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/tui/tui.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc7de15875492b1ced94a15d739f7de90a528dd2c3f94a8f93771fd5b5afcc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewCompare (cognitive 46): Model.viewCompare has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 6 (9 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 20). Of this number, 40 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/tui/views2.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0ed8a2964a93c5440c6914f5f6e38913ae1004821eaec8948b95f02fad6544"}},{"ruleId":"D2","level":"warning","message":{"text":"smi.drmProcs (cognitive 43): smi.drmProcs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 4 (7 pts), boolean chains 4, match/switch 1 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8e3249fdc40618db96ec6e746daa965921305848c93f5690fed8835593d4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.topologyMatrix (cognitive 42): Model.topologyMatrix has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 9 (16 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views3.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebadd318e2bd585ceec66cd741d0f3acb9f98cc96f00be06c2b5d2023029e34"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewHistory (cognitive 38): Model.viewHistory has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b69767ceac1bf18ec0929b651049afd104d4740554b5f55694fdc34a6aeda90"}},{"ruleId":"D2","level":"warning","message":{"text":"nvidia.links (cognitive 37): nvidia.links has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab308c9f0c2f5212552e1f78adce4044a239ddc4fa7e65719d208cd3e9ac5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.hostDetail (cognitive 37): Model.hostDetail has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aaf94ddc9b2b465eca6bd9d01f84be0d82c123d0354901191f86772df6b973"}},{"ruleId":"D2","level":"warning","message":{"text":"server.Prometheus (cognitive 35): server.Prometheus has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 12 (17 pts) (nesting depth added 13). Of this number, 34 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/server/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"649f0de6d7e5f3e878286b6b6535690808d095b4a15603e55b7548a0fe5e92b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Detector.rules (cognitive 34): Detector.rules has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 7 (8 pts), boolean chains 7, match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/events.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d338900adcc3decf583d378fe7a79d88e3b56420c5454a13227b6e14c8babaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.pods (cognitive 34): Model.pods has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 18). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/tui/views2.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c44db5048769d998361f65a390237435935cdc67b44c236970a7881d0125c8"}},{"ruleId":"D2","level":"warning","message":{"text":"nvidia.depth (cognitive 33): nvidia.depth has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f502a371ade0b2066b5ac82a7f9045044d4b12f3658998f5a9835efaa41552"}},{"ruleId":"D2","level":"warning","message":{"text":"main.diagnose (cognitive 32): main.diagnose has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (25 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"cli.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8de8598b53f83decfa4d92ee9259fd807b140651203a9f1b2c9152f243f3194"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.Nodes (cognitive 32): Resolver.Nodes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 7 (11 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/nodes.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fa37a409fc776b6bedc681752d9d57a95c2c691ed965cb55c4a3a2e2d47bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.Describe (cognitive 31): Resolver.Describe has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e9ddfa7ca67b0059af41771fc657a221e1f3ce77f560bbb62441e056776635"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.command (cognitive 31): Model.command has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3 (5 pts), boolean chains 4, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"967641955163671ea01efe1e5ee80e3a6586ced291fc1f6426a2982ca6b40e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.workloads (cognitive 31): Model.workloads has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 5 (7 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b1f3ec0e92beb63591f9c959c68064f1fd14bdf27440897832dc6fd2dd86d6"}},{"ruleId":"D2","level":"warning","message":{"text":"smi.parseNpuSmi (cognitive 30): smi.parseNpuSmi has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/ascend.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e62f2dd91d991dc4a509c8e214b19286c3cd71ae6dbe5da5e4c98ffb0a0d1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"derive.Anomalies (cognitive 29): derive.Anomalies has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, 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/derive/anomaly.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7770f2512fee7dc6590528efef1480b1262db625e50075473716c32b7d6ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.fromKubeconfig (cognitive 29): Resolver.fromKubeconfig has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31f28b6168c392120e36f0ed63282a67ede7602975eaff33432f21ef6867f13"}},{"ruleId":"D2","level":"warning","message":{"text":"Filter.Device (cognitive 28): Filter.Device has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/query/filter.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ffe1544d190c3fffa9ffb716113e6be16ea053dff2f6c71549efbf766c163"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.argSuggestions (cognitive 28): Model.argSuggestions has cognitive complexity 28 (threshold 15). Drivers by points: loops 10 (19 pts), if/else 3 (8 pts), match/switch 1 (nesting depth added 14). 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/tui/commands.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc2bcc73345f7e2be10e0c38f29596b8825927d79b169873c751d9a7d550e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.reliabilityTable (cognitive 27): Model.reliabilityTable has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views3.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde43457f5c908cd00d46840c6c27d79bff0ccd8bb33a2b42d37efc00af3ddc7"}},{"ruleId":"D2","level":"warning","message":{"text":"smi.parseMxSmi (cognitive 26): smi.parseMxSmi has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (5 pts), boolean chains 3 (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/provider/smi/metax.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eb09e40492fae1c56c8711df176af6d9252128c758818480a1d8f5121f5c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.Collect (cognitive 24): Engine.Collect has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4, boolean chains 2, 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/collect/collect.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92752fcd8a70e0eb3c90925e34eb630fc21e6596239fa9d0ebc19cd2f966a38"}},{"ruleId":"D2","level":"warning","message":{"text":"health.Score (cognitive 24): health.Score has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, loops 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/health/health.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75f71012b3c4738762414b7951a1a744fd614d59fce0990c31bb603fe2f3c89"}},{"ruleId":"D2","level":"warning","message":{"text":"Theme.tableMarks (cognitive 24): Theme.tableMarks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/tui/format.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e969d1a5dba3658eb3be7251f23e5e81032e6ad788f1758031907c0a2b48565"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewNodes (cognitive 23): Model.viewNodes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 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/tui/views2.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f6574215adb988067b5ccbf1b6a5966ed3695ed5d9c9bdbcf27eae5e4711c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.Record (cognitive 22): Store.Record has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (5 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/history/history.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23b702a85bde394ce531eb32fde3c79f417efdb25727f7ab94c969252e84810"}},{"ruleId":"D2","level":"warning","message":{"text":"dcgm.Parse (cognitive 22): dcgm.Parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/dcgm/dcgm.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"520518ed49b7ca7b812bda70e474f763ccbc7e664d6cec42afd20dbed010c264"}},{"ruleId":"D2","level":"warning","message":{"text":"smi.parseCnmon (cognitive 22): smi.parseCnmon has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/cambricon.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"300b6a85a0a885c3d1356f52165a5165b81d2593e82bc8188d8d15d2c5e479d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.key (cognitive 22): Model.key has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 3 (5 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/tui/tui.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ff90cc0b6d9193d23dfc9fce4c7533b5c7bc5eb56c8efec843e1970de4cc1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.trackEnergy (cognitive 21): Engine.trackEnergy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/collect/collect.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c9d38c91209095c349967b1aae3b6ad820131fa36e992223f08af1ae149a48"}},{"ruleId":"D2","level":"warning","message":{"text":"Detector.Observe (cognitive 21): Detector.Observe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/events.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50547140db12ba6312124b9431596d74e84fe58873c1fcd694de9b0c066a0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"kube.walk (cognitive 21): kube.walk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 1 (2 pts), boolean chains 1, 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/kube/podresources.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fbcb1b5da08d5d58153438ddba1e1b4deb90d658d46e082dae66910a9dc719"}},{"ruleId":"D2","level":"warning","message":{"text":"model.device (cognitive 21): model.device has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/sim/sim.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c0911440ce70b79b85ddffa451d0e5428b4eab5c51fb73092cc2df0bfb7ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"sim.Provider (cognitive 21): sim.Provider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 12). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 66). 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/provider/sim/sim.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8ebe95fbd372f4b3d9dcbfb5ca7c088e9fc64798550932e16482c557e003f6"}},{"ruleId":"D2","level":"warning","message":{"text":"derive.Summarize (cognitive 20): derive.Summarize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/derive/derive.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3417e4e5472342bdc565427d1c268fce31aa5e873d57a8f3dac58dfdf7775792"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.Logs (cognitive 20): Resolver.Logs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcb04a590fc75691ab0a347de8d38e34795f630788bcf3797842dfe3638d65c"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewWorkloads (cognitive 20): Model.viewWorkloads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee900b412c13293d50b7d48dbe99bb133f8c491a005ae452b2cc432f332485c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewDashboard (cognitive 20): Model.viewDashboard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce61536045e339856a4feee0c879bcc9809cc2d8d863ba56ab415f4ee026c56"}},{"ruleId":"D2","level":"warning","message":{"text":"kube.ParseListResponse (cognitive 19): kube.ParseListResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), match/switch 3 (6 pts) (nesting depth added 9). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 123). 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/kube/podresources.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"356863ac9dc5149e91ca2a6090bd50e43f69fb46c9b38fa9ea152c027549137d"}},{"ruleId":"D2","level":"warning","message":{"text":"procinfo.read (cognitive 19): procinfo.read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/procinfo/procinfo.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f5f985d889d4261fc47f9d2ef5f1891d6005fa8f2ee68c8672e21f0b2534f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ServeStdio (cognitive 18): Server.ServeStdio has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mcp/transport.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34ac3a92645e0db9f9ef437c60570cdff9308a547afdddecc974404c29603c6"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.Provider (cognitive 17): remote.Provider has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 50, 79). 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/provider/remote/remote.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8b8bac02161f2a05226aba68fd20c78ac937fb981e5e92ea1f57639fc1f047"}},{"ruleId":"D2","level":"warning","message":{"text":"smi.loadPCINames (cognitive 17): smi.loadPCINames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be42dcdf094ea31f348b4a729500e0db32ea58a343543954ba011acb5bdffa"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewHealth (cognitive 17): Model.viewHealth has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (6 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views2.go"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"5121c936aa58957219f7f3f6389335ff43bec2b159c74e4cdc1b3e3a04484701"}},{"ruleId":"D2","level":"warning","message":{"text":"host.rates (cognitive 16): host.rates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/host/host.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3794e646565f327bbd063ac506d1141831f8e6c6a744e29bcafe02b503114497"}},{"ruleId":"D2","level":"warning","message":{"text":"kube.convert (cognitive 16): kube.convert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 6 (8 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73f548f0d785508de4b60ff7269409e161dd7fbcf1f4a33c8bc664b9c72cf7e"}},{"ruleId":"D2","level":"warning","message":{"text":"nvidia.events (cognitive 16): nvidia.events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/nvidia/nvml_linux.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2389913490de63a0227ed8e87ae4842351dc905844f3a9c9dbd7c4d851cbdfe5"}},{"ruleId":"D2","level":"warning","message":{"text":"neuron.read (cognitive 16): neuron.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/neuron.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b940eae9321b7a5126f06e128e2791da8faa58cd67ffbd4668aaa6001b6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"neuron.apply (cognitive 16): neuron.apply has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (7 pts) (nesting depth added 9). 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/provider/smi/neuron.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e32e4264adac810af8bbf9118940ba7069ff66f24fab3ee7c1a48189730f21"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.NewKeymap (cognitive 16): tui.NewKeymap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 5 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/keys.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8545b2ef0190331aba9afc7969a2292d76480a9f92bfa4506ea6bed516c0de38"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.ExportCSV (cognitive 16): tui.ExportCSV has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views3.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eba7f21873fc4f56a35a470baf5c9e71d088b5609746b41cfee50e8899a2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.typing (cognitive 16): Model.typing has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"57065f35417a8864a7b04cdc90393b48ee8632fb9f096b320a602846dd342d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.viewOverview (cognitive 16): Model.viewOverview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/views.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4256dab3617a2fa903a0a85f8915cbbfb612254d56e12e2dbe691d98b4f7c013"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Model: TooManyMethods \u2014 117 methods, declared across 8 files: tui/tui.go (45), tui/views.go (26), tui/views2.go (18), tui/mark.go (12), \u002B4 more file(s). The bar is 30 methods; this is 87 over it, 3.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9270cca0f8f12e09d1a8f42a31228f7144fe8eece123da0913777fdae80fa42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.main: FunctionTooLong \u2014 main runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"069abe2a607fdba67ddfbf8a80105ae92b16906d22cadf6ffd75bdf24fcab79e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Model: ClassTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), 117 methods, 41 blocks, lines 78-1215. The bar is 400 significant lines; this is 386 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"de31c6cc74b675d9fd5b242671330bff408900a037c2c8feb2922c45462bfce4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/tui.go: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Model (41 blocks, 78-1215). The bar is 500 significant lines; this is 391 over it, 1.78\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/tui/tui.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1370183fc927005d1287ba96813eb323d484c38fefe6d0b485b4acb12176142f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/views.go: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Model (26 blocks, 27-1071). The bar is 500 significant lines; this is 287 over it, 1.57\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/tui/views.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9798975f51211cb9e999e707627f8e49a0fe71f0956fd3a274bf9c8d47323898"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Model: TooManyFields \u2014 46 stored fields beside 117 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d80d2d4847fc9eba2a8229fefc03f831b416589b4e79d2beab43ba4248c04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/views2.go: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Model (18 blocks, 27-899). The bar is 500 significant lines; this is 178 over it, 1.36\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/tui/views2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b82a38ef06c9ce5f5388375fab90fe4ab41e00d05e12302c91ebff2809c3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.key: MethodTooLong \u2014 key runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"501aca40c026e7826a2361779bc625b514ede31af2261de2e933cb69601c5c97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Engine: TooManyFields \u2014 32 stored fields beside 24 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/collect/collect.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"212877cf68913238518bace76b175029d3e90c24892ab4b29bc4e9ac29dc2290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/provider/smi/biren.go:25-47 | internal/provider/smi/kunlunxin.go:44-64 \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/provider/smi/biren.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7188f4ef8c5711ab68b70123a00637cb699ded4c0df9b5ebc71bcd2023aed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/mcp/format.go:147-161 | internal/tui/format.go:16-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mcp/format.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d201f2e1f31d4b972957ee678fa75b8b33f5ce059e22d7e9f4aa92f441a40870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/kube/kube.go:657-670 | internal/tui/views.go:512-522 \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/kube/kube.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"903b706d664db51a9d7c1fdd54afcc06e80742243fb07755b6dd1a1835d4ca57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/history/history.go:290-306 | internal/tui/views.go:812-824 \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/history/history.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f5c0bb9130dd6058b7e1ac0cb4e6c5622a56980cddc533d051fc614992edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/collect/collect.go:233-246 | internal/collect/collect.go:669-680 \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/collect/collect.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f50fe1917c6a8ad1a7a7d93095477a0cf308e10c2f0edaee113950967ab59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/kube/kube.go:275-286 | internal/slurm/slurm.go:64-73 \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/kube/kube.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"567927ab81f157296812edde72177a3ce168863a73af4abe59d578bb67459a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): internal/events/events.go:395-399 | internal/history/history.go:309-313 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/events.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c9ea2be1d951a6e6c68a537bf6a890ebbebbf54370456132c6f4951fa667c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/mcp/transport.go:96-100 | internal/server/server.go:132-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mcp/transport.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f250a830e013b31468af12a3216faeef6115267c9bc31d7fbe097de93e1cdcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/tui/views.go:495-502 | internal/tui/views2.go:180-187 \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/tui/views.go"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d9b51e1d402654861caa718b60afeeb9376e39ee5358f03f6330101791f937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): scripts/shots/html.go:19-34 | scripts/shots/svg.go:52-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/shots/html.go:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/shots/html.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0654f73f1cd89ec3e42486d9b64937c5cdd363b224179a37ab667011a118e7f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 4): Config\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/config/config.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31159c12efbb937c32e76cf4ecd1e1279e9054690747183a1591fc580b581f4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli.go: 42.0% line coverage (118/281)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8ec03de67f8f1d783783e3b8330208f55e75e061e6faa8cb24e23da8091a79"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/apple/apple.go: 38.0% line coverage (27/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/apple/apple.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c0bc1aa55fd5e3d3619e984020db38e83234be5f8805bf41b536780ddd7a1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/apple/deep_other.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/apple/deep_other.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"893f9cfd22114263b67062c92eb68f108a143601205a82dac6777056cca76ace"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/dcgm/dcgm.go: 38.1% line coverage (24/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/dcgm/dcgm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f084dc9eb96d5d73feca69903ea53cd3e1f1293140e8ae183a017928e5aa01"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/remote/remote.go: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/remote/remote.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff5706c06c7ad46e8e81f8ec1c6986174c5d525998996e34c7d83282f166dfa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/smi/proc_linux.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/proc_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e83ac589bb6b3ff8f6f17421e792755a12366c881e6c9534e0b2a784637bdb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/provider/sshp/sshp.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/sshp/sshp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d374f00b3c692e30ac114eeb66fa6dc85c8c7ffec88de352fe03d7d7ed35b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: main.go: 2.0% line coverage (7/351)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554851c30d387e22875d4438325173e6b8abdfe3fc5965b588b7a6a1a33b4cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/schema/main.go: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/schema/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27139937fb0c0a314a0ac010b7de93df610ea0a5491ae3988491f652746d25f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/shots/film.go: 30.7% line coverage (31/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/shots/film.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d510f502c3a834ceb52ea842c93dfb403b6b5692376e0685c6f1db2f8d1dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/shots/main.go: 0.0% line coverage (0/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/shots/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6e34e2bb41c9cfa122bf0d137ded790cc8ea64b23b24a768297351e6ae2305"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/shots/svg.go: 16.8% line coverage (23/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/shots/svg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8345e01d767e4fff9647fee3618b8b6aa21a91f5b7ca84e1072ee18ba63a8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: main.go: main.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in main.main at line 50. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- main.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad25fe010da123f16290dbc8424de869e4c5656398a37bebadeac3033236d07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tui/views.go: internal/tui/views.go changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Model.detail at line 367. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/tui/views.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/tui/views.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb76f41c945635c27e9924b0e09089b7e79a01a5805b4c54a6b42d3c30c723d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tui/tui.go: internal/tui/tui.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Model.command at line 616. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/tui/tui.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/tui/tui.go"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f7d13a6036063fecfd9f003e3a4cc75ff90cdb2870116c65393696affa4cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli.go: cli.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in main.diagnose at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- cli.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":"cli.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1958444692a74019849769073686f652c3f896a339f0d7b11c3e1c5fcd184213"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/shots/main.go: scripts/shots/main.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in main.run at line 60. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- scripts/shots/main.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/shots/main.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f2181f6021181794141ce2a915313d09d443803b9b035d5174ae5944a9723"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tui/format.go: internal/tui/format.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Theme.tableMarks at line 259. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/tui/format.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/tui/format.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ac529157da574d2029719f14db5ed6079220ee252e1d04a243fdfc952f196"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/collect/collect.go: internal/collect/collect.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Engine.Collect at line 249. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/collect/collect.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/collect/collect.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7804ee0f55d4fe1ae48327627366087e1e32acf83cb90584dd53a3c85584ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/provider/sim/sim.go: internal/provider/sim/sim.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in model.device at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/provider/sim/sim.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/provider/sim/sim.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"973f97db25e9529127fd2ccbdf3d4b3bc2789fd58bd8b8e0fe10151a45753321"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/server/server.go: internal/server/server.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in server.Prometheus at line 212. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 21:11:47 -08:00\u0027 --until=\u00272026-11-08 21:11:47 -08:00\u0027 --full-history --no-merges -- internal/server/server.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/server/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df03e9297aa0e183aee841e5a3809273ba426b144d7715b7acd0baf6467bc87"}},{"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 \u0060cli.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27f9589f24a561cebb6d77e63954fec65071e3db17a3d66fb393f55ec46f8b1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b359f2a143ab4c707788cd1bc9469eda64d0eacd51e202fdf0d45a6f4653a9"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"03b018003e7f5e8816b41cb6f382fd20407b24b933d5799c9953d33195b63d01"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"abee2a1a9d4f4e9ec3138ca4dc3246796d56a858446942c295b0e9933c71bbc4"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b11bdac430c75eaccd93558767197dd5cb8e6304efc91741f118ed1f9366a6fd"},"taxa":[{"id":"CWE-665","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-908","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3447bdcafdfcf2aa8aa3580f2d7ad8cf77233869f290397fc156a99d1d894087"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17d923ac484e0f5d16e3864d450b916b29b2361f98ac3451a0c53fb956015a64"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0dd9ddf30c0b41aa4beac10a91b12c372b777520cf3d3e73a2789b777485e09"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"31509f5777d7fb146d61f12934b9b6a701b1edc3c87b57ea8a7ae13e46e93093"},"properties":{"dependency":{"package":"stdlib","version":"1.26.10","advisory":"GO-2026-6859","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.26.11","relation":"direct","declaredRange":"1.26.10","reachability":{"kind":"production","file":"internal/kube/kube.go","line":410,"symbol":"http.NewRequestWithContext"}}}},{"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":"582ca59e382774ed9238925200a3c72c1188e804976f103bef399e7196fdc6eb"}},{"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":"1fd072bb97bf498e3ab05a580bdced383362f9c5d40518236b8e62d5c843b4e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"95b42b8a75f48aff48f3103adf3a49ff71ec39ec6131ce97a8e4143ec98e9476"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"7787c4936b9d098b370339aea6a4aa63131db6ebed8b231d52274eaee191d304"}},{"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":"d673c76d19c493315a049db7e7bc924d59e37dedd1417b55c3ff9699d153a906"}},{"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":"da380e80bab0cd605a6124d27d66686bde52e0925955657a8121e55391fbcd0d"}},{"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":"e334ff210b4830a6eb82276e8e10543f7c288890ab8a7f57b7ca29752c8ed4e2"}},{"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":"2478b1fc88f3c9cd73e9c1e5952db3132848ae2175bbbb5bc84bd45d6233504f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a931ce02fa54ee4466b634325b8be0b1cad6049c70f091423be4544c2cd8de7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba5476e27fd2f40c14f64712a8a0454fbf3442f52de4ebe9e5230c9387a1b992"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33aa0e86c19bca83f36ca1ef78165a91d2ff9b7c5b652d03d97cba0f29b6e9e9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48c67b1141207dfcdc048bedf9b8b877197a4c43e9a9868db79bf7b20264f491"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f638d845be4215e5de8f77137fe78dd7d95011e08c0624c81e310aa65b380dc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"deb7ac7e22ff52f0265f952b03bf371c30e677fa4911bf785be39dd76a156c68"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79118edab01ccd4450873e559ca9a73497a633979376ac06a626d102970268b0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2bd781e0a524688e1be5c445f817ae805f4b9c3e00928094f746fad1064c7a7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd8f7692f4fdcd0242f8ef0c99b1f3ce74cb79504ec1b12fe14abf2bf798eb7f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d97ae825386370d23ccdead9fb7eb73f1b053045a1921ef10fbc7fc8f5335881"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8137271bec304cee82efb96d10b08ec11162c209eeb217867ee6650b89538351"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fad84657b42ec8d2bbe672920de656b685416da8b6f013ed5707b6fc7e9e6fc2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"971d5e87218045d3d17fb198d52200474fed6f12a9085a948e1217da28ed65d8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d8e190902bc41f252ec47d1143168d412a06774bd47a87ef2aec33cdeb09986"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfe84cda3e87c4d6edd749643f3bcee16bd0b19750ce822a7a5c6d0618138118"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d510c881efd0952e6a9ede751371db08a38ecd6566848c105eac54d0f32cb75"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e386edc92ced9b690acbf884960de45c666d7a649d721bfcdb6e940c91b80f04"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e90fa4435cd6cd1b8253ecdda542b996587c29ed4c574dae1d9bcf97c4eebf8c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19bef5133a450c80965003d90c93aa459147bc23e2bbf479cfc169ddee19af40"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0d78743926c5e2bd179c3887a1bd51860204255747473b4ab48ca719ace381a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8955004de8605b68a37be64d7b078c64a0fca0a218fce2f8c88a15b17b14c198"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b26cfb8c8ea1c9a6a01b8b0aa6ac79d49719cace0114a98446c32df6b432c4ca"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"657774a6e0d5db155423cc485ea1d59528f573a531c69f7a80f0556ff13b9679"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf4bdf735516c6a6af24dba8be1f54034e418745e903cc77e5a28a2ff2e80131"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6cc88c5c1baec5808459181705a6f250bacb9376b2cec94924a3ce2aa4fd725"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a19ada0d117b8a9a0c387dc4c78a7c71fd4ec3e53fe62db4a4c5188fc4fdb90"}},{"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":"5afc5ee8e86a2b36766e511a47c5d547ce2cde4c3bdc4ce8d538c70ace45f72d"},"taxa":[{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/kubernetes/daemonset.yaml"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f37ce62db347f653c6a6cc83fa09c06739223fbb0a0d8ddbe8ea563892d09f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: content-security-policy: The live app\u0027s responses did not include content-security-policy (restricts the sources a page may load \u2014 mitigates XSS/injection). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b142e47096a32517bde0bb9b78f7e564119c7f87e22fba4dccc0d1e3645d74c5"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-embedder-policy: The live app\u0027s responses did not include cross-origin-embedder-policy (recommended by the OWASP Secure Headers Project (value: require-corp)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153214bb9c80f7d66cba8eb6a7715e9609e84c3979c9b641cd6bedaa8be6930b"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-opener-policy: The live app\u0027s responses did not include cross-origin-opener-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8cdbe5cdec6a55c732bf9a9975c0e40f81ddfa4ad583a4a50bfb0895531607f7"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-resource-policy: The live app\u0027s responses did not include cross-origin-resource-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ba35c34991db9965777a53477c2d497c4c6606f78d133bbaa3bc99c71648c2a"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: permissions-policy: The live app\u0027s responses did not include permissions-policy (restricts powerful browser features (camera, geolocation, \u2026)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac8a111f0bb913829dc090833718dca5ab8e5fba7350f9dcf68f1971010745"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: referrer-policy: The live app\u0027s responses did not include referrer-policy (limits referrer leakage to third parties). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"364ee3f006b552b8fee33710a1fbfb0c4fac59e927af9c4396e51940d9069f01"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: strict-transport-security: The live app\u0027s responses did not include strict-transport-security (forces HTTPS on subsequent requests \u2014 mitigates downgrade/MITM). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567d3eeb50a5678c0139a1d316c614c44cd4c4fb5db6fffa7795bc73d035966f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-dns-prefetch-control: The live app\u0027s responses did not include x-dns-prefetch-control (recommended by the OWASP Secure Headers Project (value: off)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50e54b8511264dd930857e4620bda8ba4053661b439218ed047812bcab0e3a44"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-permitted-cross-domain-policies: The live app\u0027s responses did not include x-permitted-cross-domain-policies (recommended by the OWASP Secure Headers Project (value: none)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55366a3d9fb1c5952ebc54aab272eb775bf2c1b056d6d399652365c26cc2375b"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: compose-siltide-1: \u0027compose-siltide-1\u0027 (ghcr.io/moezdil/siltide:latest) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7b84d5e02c7f812ef009314d558cee07913233ecf3562cd37678cf4457935010"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 1.1.1 reproducibly failed in a rendered surface: axe-core rule(s) image-alt failed on: img[height=\u002230\u0022]. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"28f4c45779a4309ff85f9c42c060990e7e52dbdb9dbe524270a65cd1efe1ff6f"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 1.4.3 reproducibly failed in a rendered surface: axe-core rule(s) color-contrast failed on: #mantine-p2ktfhnme-title, .cm-placeholder, .m_88bacfd0, .mantine-visible-from-sm \u003E .active[aria-current=\u0022page\u0022][href$=\u0022query\u0022] \u003E .m_80f1301b.mantine-Button-inner \u003E .m_811560b9.mantine-Button-label, button[data-variant=\u0022light\u0022] \u003E .m_80f1301b.mantine-Button-inner \u003E .m_811560b9.mantine-Button-label. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f3ac60a8f513543e3616e3310eadd04e48faee367c92309e284504e755a9ea60"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.4.2 reproducibly failed in a rendered surface: axe-core rule(s) document-title failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a152f745c16f064aeb9932e5d52584f548c37c248ac45bacf96a1a6ffc2e49e7"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 3.1.1 reproducibly failed in a rendered surface: axe-core rule(s) html-has-lang, html-lang-valid failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e1d2bf07ce04d82230fe7847e003479b78cd188efe60cc79686fb8ba8420"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 4.1.2 reproducibly failed in a rendered surface: axe-core rule(s) aria-allowed-attr, aria-conditional-attr, aria-deprecated-role, aria-hidden-body, aria-hidden-focus, aria-input-field-name, aria-prohibited-attr, aria-required-attr, aria-roles, aria-valid-attr, aria-valid-attr-value, button-name, duplicate-id-aria, label, link-name, nested-interactive failed on: #mantine-5k7s6gznv-auto, #mantine-5k7s6gznv-dark, #mantine-5k7s6gznv-light, .cm-content. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"15d5940c2ae6c28b9de7cec0020386357c95edc55924e278c858fab1d6499d47"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gomod: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gomod\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c90d93ed29080fa818c194f17c9d2235272f2230e20c0e851eccae554a8d85"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment automation exists and the service already exposes health probe endpoints (healthz/livez/readyz or a container healthcheck), but no manifest in this repository wires them into readiness/liveness probes, a rolling-update strategy, lifecycle hooks or a migration job \u2014 a bad release is harder to detect and reverse. If that wiring lives in a separate ops/Helm repository, document the pointer here so release safety is evidenced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 3/4 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: HTTP: \u0060HTTP\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/update/update.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17ffbe6b1051ab53dab734e28c65a763a82cfb5b14de72d92c70ac2d399b3a"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060files\u0060 is walked by the \u0060for \u2026 range\u0060 at line 222, and line 234 removes from (or inserts into) \u0060files\u0060 by shifting its elements in the backing array the loop is still reading: the element after each change moves under the index the loop has already passed, so it is skipped, and the last ones are read twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/history/history.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5791757f42defd6a9a88e8f2d8a6e783c6a952683e341b082e6c71f9f1bbbd7"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This condition tests \u0060f\u0060 for emptiness and then indexes it on a branch that test does not reach. \u0060f[0]\u0060 is evaluated whenever the guarded half is false \u2014 which includes the case the guard exists to anticipate, \u0060f\u0060 being empty \u2014 so an empty \u0060f\u0060 indexes position 0 of nothing and throws. This same condition already shows the intended bracketing: \u0060f[1]\u0060 sits INSIDE the guard. Either the guard is load-bearing, in which case this access escapes it and crashes, or \u0060f\u0060 cannot be empty here, in which case the guard beside it is dead code \u2014 the condition is wrong under both readings. Move the parenthesis so the emptiness test brackets every access to \u0060f\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/dcgm/dcgm.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"95abf74e7bcf78a796c1c39927f2445d34b21a3654f0aa0401ed882ee285fc96"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060strings.Fields(string(up))[0]\u0060 takes element 0 of what \u0060Fields\u0060 returns without checking its length, and this file tests that same result elsewhere before indexing it \u2014 the result can be nil or shorter. Here a short result panics with \u0060index out of range\u0060. Assign it and test \u0060len\u0060 (or nil) first, as the other call site does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/procinfo/procinfo.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25934671325958340fff440d80f353149f90b18bd5ac7729188b16e1a947d6"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060l[:strings.LastIndex(l, \u0022 \u0022)]\u0060 uses a search that answers -1 when nothing is found directly as a bound. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Assign the result, test it for -1, then slice (or use \u0060strings.Cut\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/history/history.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb3651a05c296a45776bc488170eff6cca4567971cb501abeab901fda01762a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060files, _ := filepath.Glob(filepath.Join(themes, \u0022*.yaml\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060files\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060files\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060files\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f213b8d825fd6af81f384eb8a7db1dd5def96787e99add1f3c821570166525"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060files, _ := filepath.Glob(filepath.Join(config.ConfigDir(), \u0022themes\u0022, \u0022*.yaml\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060files\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060files\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060files\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f696debf1a88c45560f9009eb839499da9c46809def6a0b4bc8662ae8022922"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060o, _ := uiOptions(cfg)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060o\u0060 as if the call succeeded. When \u0060uiOptions\u0060 fails, \u0060o\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060o\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5ee5a147cff0ff8157bbdf3144e9a11760b85fcb6f46e41fc604ea97708b50"}},{"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/tui/bookmark.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e075ed38cf2fa85b85b7c470cc79d6ef96400d76dfb1e560f17ec84d39cfbd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.Unmarshal(b, \u0026out); 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/tui/bookmark.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"826397b674ab10d215b83ad32dec9a9548c5264b76ebff522f1102d80398f51f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060colors, _ = resolve(\u0022default\u0022, dir, 0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060colors\u0060 as if the call succeeded. When \u0060resolve\u0060 fails, \u0060colors\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060colors\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/theme.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfee2d59f393c4cb24fc8457f212fa50cdde7f144f875a1cea1575e7b5cc4a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060t, _ := LoadTheme(name, \u0022\u0022, overrides, false)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060t\u0060 as if the call succeeded. When \u0060LoadTheme\u0060 fails, \u0060t\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060t\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/theme.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4b687d959bc2811ecb28fae520c0dbef8df9e45a690591b9f573168eb2bb77"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060home, _ := userHome()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060home\u0060 as if the call succeeded. When \u0060userHome\u0060 fails, \u0060home\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060home\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c38100060d2b74666bc6e6b44dbe57bdefd20be4cb2ee8b73aa4ac7e4da10c"}},{"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/tui/views2.go"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194a83f0280c6bc3ba3cec0f2a0e37dc0599117495d25107c652ee6cec3d7ec"}},{"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/slurm/slurm.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46fb568feb7d6451665c8be1804e2039830a2cc1a25e0a163fd5a52543455a"}},{"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/slurm/slurm.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45afe989f83f53724fd8448288b67e2596a15953065ef50b8b061d7657ad746"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ = strconv.Atoi(hi)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/slurm/slurm.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b45bfd8f9b19d776797e7332dd071c2c0ceade60b0bfa8c30d6cfc96ad4d8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := strconv.Atoi(r.URL.Query().Get(\u0022n\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060n\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060n\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/server/server.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf91beb48824b58684eb71c2006c269c6285ac4c6461f7f88a551a362efae62"}},{"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/provider/provider.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"787862582ad318761ceb9667c983ebaf5a26f2fb41ba9d2d109feeb179186ea5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := strconv.Atoi(f0[0]); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/ascend.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a635903626efd1dbd71e99f44320bd8a5f40c518b964c3f7a5bb9fdc957cc4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060card, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060card\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060card\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060card\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/cambricon.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1ecfbf3611a4b6bf387fe2d651e978c8b061d3abf23e0a718cb645d579c726"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pid, _ := strconv.Atoi(m[3])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pid\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060pid\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pid\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/cambricon.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13df1196080ab035ab0936aebbaf63567509d7d9de88c69e208075269d752c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060idx, _ := strconv.Atoi(b[\u0022#\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060idx\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060idx\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060idx\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/enflame.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88afbb19feb908fd937fe347981a07348a159ca390d2b03e7f85677ec77b90"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060idx, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060idx\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060idx\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060idx\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/hygon.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea335d763f12fbc628e1d3290f519ade23904fe07daeb85429055c9b69c2c77"}},{"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/provider/smi/iluvatar.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf299760de21b2ce5cbb09a9a20020655975239b04e7d18145a4edcfb5be2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060idx, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060idx\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060idx\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060idx\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/mthreads.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af91d15f210fb3d6253747095a0c1a6f1c7647bd6cfa16bf71958010dc39dd7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := exec.LookPath(path); 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/provider/smi/neuron.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f46ff3ae7ad131a973fa27aa578893a741d8b17f77acbd333faa14d0014c97"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cands, _ = filepath.Glob(t)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cands\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060cands\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cands\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/provider.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aee63e97df3b8f309eeddd8e53280acb1852738e5d91162f416e67a4cbbfe1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060entries, _ := os.ReadDir(root)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060entries\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060entries\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060entries\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"18787bbfdbea38f3554ada3764e275ec8f7aa35da31f38123a9379718776ee20"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060idx, _ := strconv.Atoi(strings.TrimPrefix(card, \u0022card\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060idx\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060idx\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060idx\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb6e21e8eddd04473bb7b69163c907d9a391d352127d8894e58bc4adbd83282"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060hw, _ := filepath.Glob(filepath.Join(dev, \u0022hwmon\u0022, \u0022hwmon*\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060hw\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060hw\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060hw\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a35868a0d1d45c20bf18aca03a0665d53f38ad986665d028512c9ae62974d5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pids, _ := os.ReadDir(proc)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pids\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060pids\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pids\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"426c801a4af0a8b80e3106fb3d854ee12f0499c18f4fad742c9b46e19b26fbfc"}},{"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/provider/smi/sysfs.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e2f7ae18678e6710630714f95b9a16844e99bf60637790d32d6fb8f527ccb9"}},{"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/provider/smi/sysfs.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02fe3680edd7f78cce39ab44c39f3354ff8e6ea2abc2aaa797975e31fd87ed8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060entries, _ := os.ReadDir(root)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060entries\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060entries\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060entries\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb821ee191a3ff8d5699fea81cb78ac891e51b1992c65901661a19698da38afb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(pciRoot); 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/provider/smi/sysfs.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8fe2349e3c531866d8e756fb3bb81133c3a27721bd2c1a201e3ec84bc9bb9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := os.ReadFile(path)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/smi/sysfs.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32333a7c71a53f325655f94a382f1065bb5b2b16af24e4500b5f90f923eca1"}},{"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/provider/smi/sysfs.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee9d4cec6088a077d836472f507a6b9327d9ead2ca617fce50048e9f775a327"}},{"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/provider/nvidia/nvml_linux.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a797879d3274ebae33bb2a52b6349d66de08673cf2affd8fbbcdcadb9b8c7d55"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060memTotal, _ = strconv.ParseFloat(strings.TrimSpace(string(b)), 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060memTotal\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060memTotal\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060memTotal\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/apple/apple.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6d72b8ae5b9f69626587495b1de31aec10abad0166a8007e62d4ace435f44"}},{"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/provider/apple/deep_darwin.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1683cc7e2b2c7c709c6fb6f47178080316916991f3b04c562f58cf6980a9773"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pid, _ := strconv.Atoi(c[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pid\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060pid\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pid\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/apple/deep_darwin.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e280f4703ce000ef268390e62a9a0af4340ed5ddd759cb12a8cbfbbc4b7cb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ns, _ := strconv.ParseFloat(g[1], 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ns\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060ns\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ns\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/apple/deep_darwin.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e7eeed87ea5d0e9f8b1ab69ea8bec43e69d84b8f51e68494fc4a6ab12d0b1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060uptime, _ := strconv.ParseFloat(strings.Fields(string(up))[0], 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060uptime\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060uptime\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060uptime\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/procinfo/procinfo.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"230287b7124f16210d1998fe2a598269651353be19b67278129c5c42f108d0c8"}},{"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/procinfo/procinfo.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cdd4b09bcd9187323aa1082808691b905f934666046a0901deb955dbf53516"}},{"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/procinfo/procinfo_darwin.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9801e27c2e262ace21f8ceb3c1cf1c3a0843846cf66485c35e9642f37a8421f"}},{"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/mcp/transport.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f2b258a8584e782b77a9189cd231a7376e8202756257f7e36aa1294eab80a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := os.ReadFile(file)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e856b1d185054d71d7ea971c3b39f088d1d7e5a0a8da5d0fbde70fd900f41ade"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060entries, _ := os.ReadDir(r.logDir)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060entries\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060entries\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060entries\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a5d18265fc0921ad92f58f58ab0ea7a30fae00ded6eb046f3a7450b5119cd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060entries, _ := os.ReadDir(dir)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060entries\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060entries\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060entries\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a7eb1c7069381abf14abfd8c88f7408c3229f8d2cc47e7124f4d0d40cb890"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060files, _ := filepath.Glob(filepath.Join(dir, container, \u0022*.log\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060files\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060files\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060files\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kube/kube.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5687e8b5ca2a159b967d4da112c575da9c901810994cdf633f41782e174bfd81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.get(ctx, \u0022 \u0022, \u0026list); 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/kube/nodes.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d11171c28a0bef5fc765755c455eb880c2debf6eb7dbe6fa6f6d681ee237d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := strconv.ParseFloat(strings.TrimSpace(strings.Split(sec, \u0022,\u0022)[0]), 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060n\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060n\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/host/darwin.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd42cfc5ac3c3fc5c056fdda86f33681cf80355838544563bcad8f5e28abe9b"}},{"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/host/linux.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d6ac96ca774380102ce7461b8cbe11cb4ed6c1582cfbdaa957b7143f5a19b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060files, _ := filepath.Glob(sysRoot \u002B \u0022/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060files\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060files\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060files\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/host/linux.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"649dabe23f50a0f38cfbb305618e8697c762d845212c733b86f41cb9afb49b7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ports, _ := filepath.Glob(sysRoot \u002B \u0022/class/infiniband/*/ports/*\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ports\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060ports\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ports\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/host/linux.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58f92608f10c696b79f9e45a5a67ba5a84824b0b58f57da23b2b9321ccc5943"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060port, _ := strconv.Atoi(filepath.Base(p))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060port\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060port\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060port\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/host/linux.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af5d6dad54a1dd99a41b3fbc0eddd3a62fe4e01d0b790c23b6cadec5e488918"}},{"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/history/history.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0760d8011cb63d4e18ce65aa22f62d060737793e878400eb4b29bedfae0455"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060files, _ := filepath.Glob(filepath.Join(s.o.Dir, \u0022*.log\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060files\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060files\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060files\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/history/history.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bc4ebd8e69d1df6d757ce1344112b8f7a58a702078a83bdb87f694ddcf2fbf"}},{"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/history/history.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23050656088ec8d4b774838bc068fff495476d86e3f1ccaa4e09b729a8f1a78"}},{"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/history/history.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f8b0e4c3fd1670550f7165e244024fbdfe34b79d512e68c63d6c9f928c5f86"}},{"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":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"325053a5a2b52c7eeefebccdf4841045b4ceef9862b6afdf7bee44aa67a48b43"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := yaml.Marshal(c)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060yaml.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b8ac3af3f8af71db186fd8aa10e5fc98113f7b89bfdbcfd24261d2de04f93"}},{"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/collect/self_unix.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad4388206b81a42ed1c0cec9ec04b0bdbb58cb0228a57e4483a7f0e78712ce"}},{"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/collect/self_unix.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d20f8847566eab14474f97d5e497c20fdc4a411af08ea26343694280a24093"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060startTime\u0060 turns a non-nil \u0060err\u0060 into \u0060return time.Time{}\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/procinfo/procinfo.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a97ae247720428a7f1e00dd423f6a5f32e78227c825320f28bfadb5f37db418"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ProcName\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/provider/provider.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"69483d4b4e8ed59982cf7dbee492c00ccb2395750360c42838690e57392ccfe0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060luminance\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\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":"scripts/shots/html.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd4c058f591ce7a25215c411baa344fdeb6270b4cafb8806b6b4a897285af2"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-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-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"Insufficient Compartmentalization","shortDescription":{"text":"Insufficient Compartmentalization"},"helpUri":"https://cwe.mitre.org/data/definitions/653.html"},{"id":"CWE-665","guid":"fe279ff9-a979-f952-9df9-3f7d05af85d8","name":"CWE-665","shortDescription":{"text":"CWE-665"},"helpUri":"https://cwe.mitre.org/data/definitions/665.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-908","guid":"ca1da1d1-5eaf-e95b-adbb-4eb2bc10b9fc","name":"CWE-908","shortDescription":{"text":"CWE-908"},"helpUri":"https://cwe.mitre.org/data/definitions/908.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"}]}],"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":48,"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."]}]}