{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Terminal.Loop (cyclomatic 755): Terminal.Loop has cyclomatic complexity 755 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 677 belong to 13 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":"src/terminal.go"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ad3ba92622d364758a0d63225b2e7cd6622f82394e8b009b5d4ab1dd36777f"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseOptions (cyclomatic 372): fzf.parseOptions has cyclomatic complexity 372 (threshold 15). Of this number, 352 points are the body\u0027s own statements and 20 belong to 7 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":"src/options.go"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e95b1ef5f87e5571cc1d84930fdcd0028925f54ac39999995f94c4f143ecece"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRenderer.parseEscSequence (cyclomatic 200): LightRenderer.parseEscSequence has cyclomatic complexity 200 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf61c81f38a908a299650342d46e943e2757272b88ede7157a84cba7a91ee54"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.resizeWindows (cyclomatic 181): Terminal.resizeWindows has cyclomatic complexity 181 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 71 belong to 6 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":"src/terminal.go"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a8e55fbbf8eff2008415fba53f5574bf718b608deba50dfb3143cbc0a06874"}},{"ruleId":"D1","level":"warning","message":{"text":"FullscreenRenderer.GetChar (cyclomatic 157): FullscreenRenderer.GetChar has cyclomatic complexity 157 (threshold 15). Of this number, 156 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":"src/tui/dummy.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb54e9894103c0b55488c31ef64107319fd3a1e25333e0f0ca3436fdf83c400"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseKeyChords (cyclomatic 149): fzf.parseKeyChords has cyclomatic complexity 149 (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":"src/options.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"2071f1fbe66dcaef1163336450e611ab8c25f14a4b949e6a95d4ed32fc1ffb58"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.Run (cyclomatic 127): fzf.Run has cyclomatic complexity 127 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 84 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"450de9cc63115481e4b84dbfa62c3ac532f8a094ec1aa4ecdcddca5b39c85c2f"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseActionList (cyclomatic 118): fzf.parseActionList has cyclomatic complexity 118 (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":"src/options.go"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"301f511231e5d2cec03d32c0bcddec67b1f8e7cb96de62e4bb5921ea97358649"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.printHighlighted (cyclomatic 96): Terminal.printHighlighted has cyclomatic complexity 96 (threshold 15). Of this number, 95 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":"src/terminal.go"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9883a68be79e4269c36f11330caa0f2441368e69abec76a825a6eb49916d68ba"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseTheme (cyclomatic 91): fzf.parseTheme has cyclomatic complexity 91 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 35 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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":"src/options.go"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa5b537d4856921f13bfdffc2c0e4f09e95765272cfba2d29665098fa689343"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.UpdateList (cyclomatic 67): Terminal.UpdateList has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2503a05c5b71f25a1c0bab273fbed2c962479acdc2dbfbe59c16b44795e26a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.renderPreviewText (cyclomatic 66): Terminal.renderPreviewText has cyclomatic complexity 66 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 19 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5066}}}],"partialFingerprints":{"codehealthFindingId/v1":"474a79378a67c553597923fc4303544af70bb958f6fd7d176255f37c60748d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.FuzzyMatchV2 (cyclomatic 65): algo.FuzzyMatchV2 has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa5e22d2fb9baa8a8d3eb956553d1178bb1980866b4199de60604e253605c06"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.interpretCode (cyclomatic 65): fzf.interpretCode has cyclomatic complexity 65 (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":"src/ansi.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca16de733134691abd6331784e9435c6d8b85a6026a9c574cff7a59563a69d3"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.NewTerminal (cyclomatic 65): fzf.NewTerminal has cyclomatic complexity 65 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81677a271d6116acfd6194eabaa64abe6760bdb42d094c878f2c019127ce1c"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.postProcessOptions (cyclomatic 57): fzf.postProcessOptions has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c047389ed0a377101141880b6a30327408e730096fb2ec99bea76d946af30"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.printInfoImpl (cyclomatic 55): Terminal.printInfoImpl has cyclomatic complexity 55 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 7 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":"src/terminal.go"},"region":{"startLine":3487}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b72026f784c2c9cad498f00010c722a42bc90e1463b4178258a2eebf5719c"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.printItem (cyclomatic 55): Terminal.printItem has cyclomatic complexity 55 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 26 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":"src/terminal.go"},"region":{"startLine":3989}}}],"partialFingerprints":{"codehealthFindingId/v1":"1636888c30ec0183424b2ce898e08f91c80b5c9f70bc2c992faf0c63adca681d"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.fuzzyMatchV2Two (cyclomatic 43): algo.fuzzyMatchV2Two has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"845c0c349f7fa1869889d8d0bf3fdf5b32f89d57c97ac04a4737549c95f7b14a"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parsePreviewWindowImpl (cyclomatic 43): fzf.parsePreviewWindowImpl has cyclomatic complexity 43 (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. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4edb6951e85d629dd5a207a47eed5e38e5af5b528a15e90ec8e4dd460b3b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Result.colorOffsets (cyclomatic 38): Result.colorOffsets has cyclomatic complexity 38 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 19 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"acffc33aa76c37c63d9edaed3fa0180b9deb2eb20b33cfa8dfb3b68ee38312f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.readFiles (cyclomatic 37): Reader.readFiles has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 308). 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":"src/reader.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b461cc5d0662122b3b7ec06f03380306864e52398811a56aaf45bd4e0a49c09e"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.exactMatchNaive (cyclomatic 35): algo.exactMatchNaive has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa79288a3ed697d095962572faa6905b9c363d205c02e80e946092cf772d7a53"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.validateOptions (cyclomatic 29): fzf.validateOptions 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. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"db738a4b1a7ae3fa42087b4d0fa57b8fdf1d55ff1f3733fe30004a1377b338dd"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.runProxy (cyclomatic 28): fzf.runProxy has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e913f4b82f1afbd492fea0292587117c92f946e97f2cb9efafb2f72061793"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.replacePlaceholder (cyclomatic 28): fzf.replacePlaceholder has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to one function literal inside it that branches (line 5600). 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":"src/terminal.go"},"region":{"startLine":5593}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bd1c84c73f6402a67cd651bc708688e2d78b60d2c16ee17079380e1aaf72cc"}},{"ruleId":"D1","level":"warning","message":{"text":"httpServer.handleHttpRequest (cyclomatic 28): httpServer.handleHttpRequest has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be907d1a98eb20de259c815d7b3e6b0cf3055954d6d69e0090996eaccbe3e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.resizeIfNeeded (cyclomatic 28): Terminal.resizeIfNeeded has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3705}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c211d20a360d8623c8333cb8fe15ea438d1f460048070ba387afb5c6ae4f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.constrain (cyclomatic 28): Terminal.constrain has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8745}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0c9d3deeb2374e6f93e64171833d382a75b5f29fa27a12be64186d4d734a24"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.nextAnsiEscapeSequence (cyclomatic 27): fzf.nextAnsiEscapeSequence has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ansi.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03409252333bc1bd12593c47e0f1a2b8a8bd3e5b7b7c2e872b62ea661a41036"}},{"ruleId":"D1","level":"warning","message":{"text":"tui.InitTheme (cyclomatic 26): tui.InitTheme has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908033e7b6de39934cd0f71ae95a1dc16ac5cc6ce42d35b9f9c5387e0df06be"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseTerms (cyclomatic 25): fzf.parseTerms 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":"src/pattern.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"393922c2980fa03ff876b6f305f51e63b40685907ce00bcaaae8fee69401ffb6"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.separatedByBorder (cyclomatic 24): Terminal.separatedByBorder has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e196ebbcb58b32a85f20bc8dfaf342028fba1f4c5a82215eb87a29413a405"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRenderer.GetChar (cyclomatic 24): LightRenderer.GetChar 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":"src/tui/light.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"523ba7af3b50169c2b680769ca9175fb649b49b13c02af942cbb6fe1bfa6ed4f"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.FuzzyMatchV1 (cyclomatic 23): algo.FuzzyMatchV1 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":"src/algo/algo.go"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c62cae54928918394a89c4b64e84da79c8880c679636c5ea44569c36e6e8007"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.adjustMarginAndPadding (cyclomatic 23): Terminal.adjustMarginAndPadding has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19f14ccfa38d21961e849208854766a427c338f7df293955c9f2c1b88a37d32"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.executeCommand (cyclomatic 23): Terminal.executeCommand has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5806}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d08c09b1c162cd32df7bc8638e31cd2a31517f372162f077443d1ebaf6163"}},{"ruleId":"D1","level":"warning","message":{"text":"tui.stringReply (cyclomatic 23): tui.stringReply has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1198c0196e8ccf3383d662b1f140d9273595a7eddf75326f6fc3627051c25ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"Chars.Lines (cyclomatic 23): Chars.Lines 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":"src/util/chars.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ada1bea0ae54ffca41cf194dd0331faeb0226dc658aee2fe194902eeb489e"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.buildResultFromBounds (cyclomatic 22): fzf.buildResultFromBounds has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b2e158e3c66ada7417e6423d8d459d052277cb7bc64c4959d92982f7d16471"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRenderer.mouseSequence (cyclomatic 22): LightRenderer.mouseSequence has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebffaf64f14c0611d94376f13d0f188b29c217f73106c70f9bd59045a155fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseTmuxOptions (cyclomatic 21): fzf.parseTmuxOptions has cyclomatic complexity 21 (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. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8307552d8f33ee29e36fdd65651c63db116836a543228a5ec2ad0d5afbe007f5"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.BuildPattern (cyclomatic 21): fzf.BuildPattern has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d566dd6dbcb04de61863c0ed8f4634d06bbdb3b5022d99172b46eba952516933"}},{"ruleId":"D1","level":"warning","message":{"text":"Pattern.matchChunk (cyclomatic 21): Pattern.matchChunk has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d99f2dc6997062a44346897f2cbd155d7f332d4e7f5b293cf7c428b3c6825b3"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.extractColor (cyclomatic 20): fzf.extractColor 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":"src/ansi.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f553fab1db59b9fcc68dbda73de0663976e8dcf3e91928373fd9672e73e545"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.Transform (cyclomatic 20): fzf.Transform 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":"src/tokenizer.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"174fb3bbd4a5713af62463f450e8b52c9a4df32530e315f7e5c7ff35b47bde55"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.feed (cyclomatic 20): Reader.feed 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":"src/reader.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"20de33f403e6bcc7c7e7a908559872a28ca044f9756b7c4eb7cd092795a6a483"}},{"ruleId":"D1","level":"warning","message":{"text":"LightWindow.drawBorder (cyclomatic 19): LightWindow.drawBorder 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":"src/tui/light.go"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29ed66f30596987d6033df1472f7284cc3d9a7e85da2756ee4348d102ceb995"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.radixSortResults (cyclomatic 18): fzf.radixSortResults has cyclomatic complexity 18 (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":"src/result.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86aaf7adaf01c32f9bbc830a0d3982a0a4901706ec9bf91e7ba0b9f6cddc3ca"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.ParseRange (cyclomatic 18): fzf.ParseRange 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":"src/tokenizer.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd99848ee90725c6fa4bd2ba0a8cc947abc98f6cd8b40e22ffa39aa3b123010"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.environImpl (cyclomatic 18): Terminal.environImpl has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3d93e31bc683acfc12cb8c1c4088d1a00fd8ac3de2c637e40d4c59b6f12bb"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.parseTiebreak (cyclomatic 17): fzf.parseTiebreak has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106dfdb8a9233adfbdbc769e6adef9b1928a381283dae97adc5df95dfb1e867"}},{"ruleId":"D1","level":"warning","message":{"text":"Matcher.Loop (cyclomatic 17): Matcher.Loop has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/matcher.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ee99e1bb7bdb6f3da6b71d20714e218892f856b1392860ec912a0b9095071"}},{"ruleId":"D1","level":"warning","message":{"text":"Matcher.scan (cyclomatic 17): Matcher.scan has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/matcher.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eee07942e3eac9efe374b403525abbd133180b38b2e93081928d02d5469d793"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal.addClickHeaderWord (cyclomatic 17): Terminal.addClickHeaderWord 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":"src/terminal.go"},"region":{"startLine":6172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217cc081af588414396c2767e1ca5d6ed8f4c548573b4b1910e6202e70196ac"}},{"ruleId":"D1","level":"warning","message":{"text":"TcellWindow.drawBorder (cyclomatic 17): TcellWindow.drawBorder 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":"src/tui/tcell.go"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a82d59746e4f1faf8ddeb5c1e9d493aeeb2cf8ae5bd69c47a72e07b02621e0"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.Init (cyclomatic 16): algo.Init has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2072e065cb8cc9679534e4c80ed7f2c11f8f83b39f9fe1769d808c1b1f8366b2"}},{"ruleId":"D1","level":"warning","message":{"text":"algo.asciiFuzzyIndex (cyclomatic 16): algo.asciiFuzzyIndex 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":"src/algo/algo.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae0f472a78eee287524a659ad7d1d834e7e01d79aea71c19ff752313dab88ed"}},{"ruleId":"D1","level":"warning","message":{"text":"ansiState.ToString (cyclomatic 16): ansiState.ToString has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ansi.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4955570536b742c3395698b8dd7db4f825c67f9d7022d8f24a3d3aded233377"}},{"ruleId":"D1","level":"warning","message":{"text":"fzf.ParseOptions (cyclomatic 16): fzf.ParseOptions 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. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3912}}}],"partialFingerprints":{"codehealthFindingId/v1":"89515f081dcf1b6ccd42afc4a430f8aa644c0bfe062922ac1941880b49d9e376"}},{"ruleId":"D1","level":"warning","message":{"text":"previewOpts.compare (cyclomatic 16): previewOpts.compare 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. This is NOT this file\u0027s highest cyclomatic complexity: fzf.isExecuteAction (cyclomatic 72) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc0306756d675e34b97a1e70610c4cdaf41f13049f8601b5e9599fc8e5650c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.Loop (cognitive 1536): Terminal.Loop has cognitive complexity 1536 (threshold 15). Drivers by points: if/else 366 (1177 pts), loops 42 (139 pts), boolean chains 133, match/switch 21 (75 pts), jumps 12 (nesting depth added 962). Of this number, 155 points are the body\u0027s own statements and 1381 belong to 13 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"152bf686097ffbfd2205d3c72f7448797157677bf8d605213a5d11689fbb04ff"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.parseEscSequence (cognitive 505): LightRenderer.parseEscSequence has cognitive complexity 505 (threshold 15). Drivers by points: if/else 82 (423 pts), match/switch 14 (62 pts), boolean chains 20 (nesting depth added 389). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb7952814a5f44628092d50707ee31193b9f57bc770d01b6cdf5b4620da39b8"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseOptions (cognitive 455): fzf.parseOptions has cognitive complexity 455 (threshold 15). Drivers by points: if/else 171 (439 pts), boolean chains 6, match/switch 2 (6 pts), loops 3 (4 pts) (nesting depth added 273). Of this number, 431 points are the body\u0027s own statements and 24 belong to 7 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":"src/options.go"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d555cc248a89e6b6158afcaa1ac7488b14cd17062c9e87eb4b6ebc24e0c05ac"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.Run (cognitive 320): fzf.Run has cognitive complexity 320 (threshold 15). Drivers by points: if/else 83 (248 pts), loops 10 (33 pts), boolean chains 22, match/switch 5 (17 pts) (nesting depth added 200). Of this number, 66 points are the body\u0027s own statements and 254 belong to 9 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a707f0d37edda07f537a24a7b5aa6629f86ad8b1689c2a9f5804d38cf434ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.resizeWindows (cognitive 298): Terminal.resizeWindows has cognitive complexity 298 (threshold 15). Drivers by points: if/else 136 (239 pts), boolean chains 32, loops 11 (18 pts), match/switch 6 (9 pts) (nesting depth added 113). Of this number, 168 points are the body\u0027s own statements and 130 belong to 6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab35aa016d65801c3d4850c9fbaa3d0c7a94afbec3b39546c2787adf39bde2"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenRenderer.GetChar (cognitive 246): FullscreenRenderer.GetChar has cognitive complexity 246 (threshold 15). Drivers by points: if/else 75 (224 pts), match/switch 6 (15 pts), boolean chains 7 (nesting depth added 158). Of this number, 244 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/dummy.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba7786bcc1dcdd0658081b32b69309fb6428bcac1335ff0fb2da18176f09833"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printHighlighted (cognitive 210): Terminal.printHighlighted has cognitive complexity 210 (threshold 15). Drivers by points: if/else 71 (165 pts), loops 10 (24 pts), boolean chains 21 (nesting depth added 108). Of this number, 206 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4400afffa0e21933b019d1bbb8df4f867d3af696404907ef042e30612a5fadf0"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.renderPreviewText (cognitive 169): Terminal.renderPreviewText has cognitive complexity 169 (threshold 15). Drivers by points: if/else 37 (123 pts), boolean chains 25, loops 5 (17 pts), jumps 4 (nesting depth added 98). Of this number, 120 points are the body\u0027s own statements and 49 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5066}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5faf6e638837157fd9d11819e4a5b77ddd14cd1b62c9f272768bba1f2b281"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.FuzzyMatchV2 (cognitive 109): algo.FuzzyMatchV2 has cognitive complexity 109 (threshold 15). Drivers by points: if/else 37 (81 pts), boolean chains 22, loops 4 (6 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d22b82b4275b72776c361af20fd9329241d8d6a8781d4ef91efb1430bbdc062"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.UpdateList (cognitive 106): Terminal.UpdateList has cognitive complexity 106 (threshold 15). Drivers by points: if/else 41 (75 pts), boolean chains 15, loops 5 (14 pts), match/switch 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21753e93e3546b4d72365dfc3e5e94ad0a03d7d5d9482e64ffd97d8386534ae"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.NewTerminal (cognitive 95): fzf.NewTerminal has cognitive complexity 95 (threshold 15). Drivers by points: if/else 64 (81 pts), boolean chains 14 (nesting depth added 17). Of this number, 90 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f29e4188b2fadd9cfcddc0655f0e36223ac51b8c838b3407fe70c3378172d8"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.postProcessOptions (cognitive 90): fzf.postProcessOptions has cognitive complexity 90 (threshold 15). Drivers by points: if/else 41 (64 pts), loops 6 (12 pts), boolean chains 7, match/switch 2 (7 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2494d74d6001fa13a154000ab3952a453c0461e4cda6c9c80156efe6b10e7b03"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.fuzzyMatchV2Two (cognitive 84): algo.fuzzyMatchV2Two has cognitive complexity 84 (threshold 15). Drivers by points: if/else 31 (70 pts), boolean chains 12, loops 2 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b471151d19084cba308558fa82ae9d4748882bfc41542f7c1a3dbb95316783"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printInfoImpl (cognitive 84): Terminal.printInfoImpl has cognitive complexity 84 (threshold 15). Drivers by points: if/else 53 (77 pts), boolean chains 6, match/switch 1 (nesting depth added 24). Of this number, 75 points are the body\u0027s own statements and 9 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ab29de8347e28cf30590d94cac4639a4cdadd0a17a6675243d7a6fcd785af3"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printItem (cognitive 79): Terminal.printItem has cognitive complexity 79 (threshold 15). Drivers by points: if/else 41 (67 pts), boolean chains 10, loops 1, match/switch 1 (nesting depth added 26). Of this number, 35 points are the body\u0027s own statements and 44 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3989}}}],"partialFingerprints":{"codehealthFindingId/v1":"d206061616c835b30e2fd7b02e2a514d9564a6dd3e3d23a726bdf45d7ed795fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.constrain (cognitive 79): Terminal.constrain has cognitive complexity 79 (threshold 15). Drivers by points: if/else 14 (51 pts), loops 6 (21 pts), boolean chains 7 (nesting depth added 52). Of this number, 71 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8745}}}],"partialFingerprints":{"codehealthFindingId/v1":"91547030fb8f4549739038d78305ee89f05385d5d1f846fc723ab75fe0d3f95a"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.readFiles (cognitive 76): Reader.readFiles has cognitive complexity 76 (threshold 15). Drivers by points: if/else 24 (61 pts), boolean chains 10, loops 3 (5 pts) (nesting depth added 39). Of this number, 20 points are the body\u0027s own statements and 56 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reader.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e51e1cc46ffa55c2037429a347eac5f1aa4b14b0dbb2e2691ddb37bf6ddbc8"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.exactMatchNaive (cognitive 75): algo.exactMatchNaive has cognitive complexity 75 (threshold 15). Drivers by points: if/else 28 (65 pts), boolean chains 9, loops 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5416f8fb453e84cb30bba6c902c308d9ed4c5b5608117ceb538714cb3af88b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Result.colorOffsets (cognitive 67): Result.colorOffsets has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (46 pts), loops 11 (16 pts), boolean chains 5 (nesting depth added 27). Of this number, 28 points are the body\u0027s own statements and 39 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c4e3afed5d59385c5065968b520275cc870fec174b40da4d73b3b46729e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"Chars.Lines (cognitive 64): Chars.Lines has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (52 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/chars.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7befe567640cb48912ca80b5ecf1703cf7e50b2d3eff109d9b3013acf0c8d946"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.interpretCode (cognitive 63): fzf.interpretCode has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (35 pts), match/switch 4 (17 pts), boolean chains 10, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ansi.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba44e0f69864e7dc0d7daedf4deeede8d8c740e1ef2e70c1f99df651c3f69c"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.runProxy (cognitive 59): fzf.runProxy has cognitive complexity 59 (threshold 15). Drivers by points: if/else 25 (49 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 28). Of this number, 45 points are the body\u0027s own statements and 14 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d17e521618f6abcfc1853207a1657591c3141e95d00d02a2930010a53939bb7"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.buildResultFromBounds (cognitive 59): fzf.buildResultFromBounds has cognitive complexity 59 (threshold 15). Drivers by points: if/else 10 (38 pts), loops 5 (17 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14a689c2c3776259813a00b894a098e39eb373c158fc9c5f9cad370299e578a"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.Transform (cognitive 54): fzf.Transform has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"26327f7fe044a892546bc1b2f7f8596ff4ab4477102cedea6af3306e58d72f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.nextAnsiEscapeSequence (cognitive 51): fzf.nextAnsiEscapeSequence has cognitive complexity 51 (threshold 15). Drivers by points: if/else 9 (33 pts), boolean chains 7, loops 3 (6 pts), match/switch 2 (4 pts), jumps 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ansi.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c24cf332de5ae6677066a4659c122146a01abdc708f59b57a99b4c4d48c6698"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseActionList (cognitive 50): fzf.parseActionList has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 3 (7 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f872c2f1f037504ef3fbf7f673eae1a8bae2aa85853931081d4ee798a0de47bb"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.FuzzyMatchV1 (cognitive 45): algo.FuzzyMatchV1 has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (39 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c9b101ec5da8398a04c278c79b596b0f352f544e7b6308ea005fb2de78ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.executeCommand (cognitive 45): Terminal.executeCommand has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (41 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5806}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faaca2fa190b46e9451ade94e1dab6ef4dbd50e0655e49c93d5ff3ebc940e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"httpServer.handleHttpRequest (cognitive 44): httpServer.handleHttpRequest has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (31 pts), match/switch 3 (7 pts), boolean chains 4, jumps 1, loops 1 (nesting depth added 21). Of this number, 41 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":"src/server.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9a9094e195cd32ad5860688d516df4826fb6e2c13d4876a35164e0d2c7358b"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.extractColor (cognitive 40): fzf.extractColor has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 3, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ansi.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c46ba2dd9e9da7366bd73ce2c1ececb67d2dc83cefc3bd32037ee587a843c9"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseKeyChords (cognitive 40): fzf.parseKeyChords has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 8, match/switch 2 (6 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f4db76a6a8024ce07c586005eda15c56d391aa6685f6ee945d27311638c8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseTerms (cognitive 39): fzf.parseTerms has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 7, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bb6dcc5c00d431990b30355a9a3aea5df14d065cb5cefa002c2ae438a78085"}},{"ruleId":"D2","level":"warning","message":{"text":"Matcher.Loop (cognitive 38): Matcher.Loop has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 21). Of this number, 30 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/matcher.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c248cbcf5a901da9f20222f11468adfe3a02a7aef2220a9182c972aa50788d46"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.feed (cognitive 38): Reader.feed has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 5, loops 3 (5 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":"src/reader.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5dc600360b99ca0a6d8098ba6917b8687327092c4c8de2940bccb904161943"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.validateOptions (cognitive 36): fzf.validateOptions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8497313d5c0aaad9bd74cdea33fd0a7f1ab01058c0f6b9b4a0a92641757f99"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.BuildPattern (cognitive 35): fzf.BuildPattern has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 7, loops 3 (7 pts), jumps 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6828944c9bfbaf0e303c69fef765f4910fd1a7e2b1ca95281d53ff85071cc99"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.replacePlaceholder (cognitive 35): fzf.replacePlaceholder has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5, loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 14). None of this is in the body itself: all 35 points belong to one function literal inside it that branches (line 5600). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5593}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6d2dfedf1c3ef2425b81689181f23540d1de8b8e0f1c30ddc2ee7d56d5da1"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.calculateScore (cognitive 34): algo.calculateScore has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"227943346c85e6e95ad30e4e50d8ec88fabb1813e7ee352c1cf23ed5e291b6e4"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseTheme (cognitive 34): fzf.parseTheme has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 3 (9 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 22). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 1452). 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":"src/options.go"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9f8dfc8a0bd5d46cb5ed112696245bbb4e019d4e4c17f99ad33c2869e4f0b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pattern.matchChunk (cognitive 33): Pattern.matchChunk has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 3 (5 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":"src/pattern.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"19840deb687fcc3ee654b08c6a21af72b4587b465062b9a96db260fa98cc140e"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.ParseOptions (cognitive 32): fzf.ParseOptions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce6d4496acd620a5a5cfd15e0c9d8e13927a39508613d73765f665a6a86206f"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.radixSortResults (cognitive 32): fzf.radixSortResults has cognitive complexity 32 (threshold 15). Drivers by points: loops 8 (17 pts), if/else 9 (14 pts), boolean chains 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":"src/result.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"673ceafc164c9a9456ca2e115ebeccf4559d92ee900c7e8869145a06492a37f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pattern.extendedMatch (cognitive 32): Pattern.extendedMatch has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (9 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b4117978c5c2b73eb6224f2dd2673edfdeec814e05336a7972ad993dd5192"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.InitTheme (cognitive 29): tui.InitTheme has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 7 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ea04ad2d9e9a0a8539bc7e7a4674f605bad4aeaee278f89109898ef385b19"}},{"ruleId":"D2","level":"warning","message":{"text":"LightWindow.drawBorder (cognitive 29): LightWindow.drawBorder has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0eada27a21f2581f12cb754852599a1a1feef38a56535fd7d31fbb8fdd035d"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.startHttpServer (cognitive 27): fzf.startHttpServer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 1, loops 1 (nesting depth added 13). Of this number, 21 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":"src/server.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bbc443fa4a169c5b8516f1b872b48d45bb64f32f19bac3dda119d4714d2f72"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.adjustMarginAndPadding (cognitive 27): Terminal.adjustMarginAndPadding has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa4bb364ac46647a170c4f5ea92e8b733c8e983a7434e6d462afd22d4c96711"}},{"ruleId":"D2","level":"warning","message":{"text":"TcellWindow.drawBorder (cognitive 27): TcellWindow.drawBorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fde41017df76c828b44eb0ba7b023f9dd2dfadc110c4cdbbed1ba7947f95dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Matcher.scan (cognitive 26): Matcher.scan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/matcher.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f86b510e82533feb8e79184594fc2befb46ea85bec803dfc9216324c01158d"}},{"ruleId":"D2","level":"warning","message":{"text":"LightWindow.fill (cognitive 26): LightWindow.fill has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ae8f4cc75076df49ae3effb343d5562d5a68ddbd69d80840870062a9f7bcd6"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.mouseSequence (cognitive 25): LightRenderer.mouseSequence has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"src/tui/light.go"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885256f31158c5aa953e380386d530c92b4893845811cefd82e21bb39fca549"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseTiebreak (cognitive 24): fzf.parseTiebreak has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). Of this number, 22 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":"src/options.go"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1a0a6639026ad089ba94b76bb3b337ef4e53a5b311bdf27f5abe103f2a7a51"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseKeymap (cognitive 24): fzf.parseKeymap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22ed762c365708babf68303549217163da0d6b81042a99abdfc0c6d31c2dfe6"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.addClickHeaderWord (cognitive 24): Terminal.addClickHeaderWord has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":6172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffc6b10b333c1c78593e408a3f49e3a9adca5d4264aee2df8ba94a87aad2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.queryTerminal (cognitive 24): LightRenderer.queryTerminal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (7 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":"src/tui/light_unix.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2267439bbcddf841a13a5c3e6bbdba2ccf7aaa16a02ac7a0ddcce69a6a26749a"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.asciiFuzzyIndex (cognitive 23): algo.asciiFuzzyIndex has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, 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":"src/algo/algo.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a591432263681bcca1637236e71a7b7316738c52dec4945b9f8b616572ade7b"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parsePreviewWindowImpl (cognitive 23): fzf.parsePreviewWindowImpl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07f709b8c348592169bd44c197061435bd7211fbab8aa44004f184e0820dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.flush (cognitive 23): Terminal.flush has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (23 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9eb7475dbac5e38e58475fda1890c788c2933910e9d11650676535af46a0ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.environImpl (cognitive 22): Terminal.environImpl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fa610a2a6746b354d19d13fdc84d235a1f648b2e4758a7f708c7eae67d882d"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.separatedByBorder (cognitive 22): Terminal.separatedByBorder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"11df03f912aeffb2a3bf990635bd621c5b12ee57de8f3066d83773aa399337fd"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.GetChar (cognitive 22): LightRenderer.GetChar has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c26dfff2687e2d024660fa00ab0d53376989b0bae1da8b32736253896b3b3d"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.findPassThrough (cognitive 20): fzf.findPassThrough has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b174c73ca1b3531afb68dfd970874a7d4f50d87e86f2e862bc66c70bbd4b53"}},{"ruleId":"D2","level":"warning","message":{"text":"Merger.mergedGet (cognitive 20): Merger.mergedGet has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, 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":"src/merger.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaad8b191824ed9867f55522166186877978fc4f3f02e63433d9cf858b51ee2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.resizeIfNeeded (cognitive 20): Terminal.resizeIfNeeded has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, if/else 5. Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e73d6e0d8a30b8750209e3abbc2cebf8f25e8a4b8f6ab8517db378c0aa43f"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.wordWrapAnsiLine (cognitive 20): Terminal.wordWrapAnsiLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf01ebeaa0533ec48ab3b268c63d5d15ec062222d483c169d44a5452141363"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.getBytesInternal (cognitive 20): LightRenderer.getBytesInternal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e49eb429431201973fee2083837b5a7125b4707316f1c86d48848a0bb8e95"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.debugV2 (cognitive 19): algo.debugV2 has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 4 (9 pts) (nesting depth added 10). 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":"src/algo/algo.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ccbee8ec6d3d5d4ea80fe11468e4c1ae74161d5989febe5359ae9b1329179c"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.nthTransformer (cognitive 19): fzf.nthTransformer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96572ed6fbab747df54b7d474400fe49ec6fc33a65c40783882f09b1df1d7ce"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseMargin (cognitive 19): fzf.parseMargin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa9ad5b42715248d8932bbfc8d9a8d4109a346ae98034767bc37e2f4decd3c"}},{"ruleId":"D2","level":"warning","message":{"text":"LightWindow.PaintSectionFrame (cognitive 19): LightWindow.PaintSectionFrame has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f7cc5356b06b2ff6b738029a2f22461230c5fd6a03b7ed6e7d493ec3106c08"}},{"ruleId":"D2","level":"warning","message":{"text":"TcellWindow.fillString (cognitive 19): TcellWindow.fillString has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88498362703a8431b8f6fe16dfaf666284cfe7ea050788ce7509279c82cfdb5"}},{"ruleId":"D2","level":"warning","message":{"text":"TcellWindow.PaintSectionFrame (cognitive 19): TcellWindow.PaintSectionFrame has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b96a595a991692d637ffa9d641d8f0338ec2894c487ba3800cb605619f6e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.ParseRange (cognitive 18): fzf.ParseRange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"533afb8afb551a76b47341cf9c53d408e9cd4b5dc44a6083270b843be637c5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkList.Snapshot (cognitive 18): ChunkList.Snapshot has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/chunklist.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf68febc85ef235fc9a0c28851dd7a9dafa926ff51c65a9de84f83e7be78284"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.initProfiling (cognitive 18): Options.initProfiling has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options_no_pprof.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54cffedc3170270ace63100dcda1b8f1fcc2fd868a77fabc3ab87f222dcddd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.ansiLabelPrinter (cognitive 18): Terminal.ansiLabelPrinter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1651, 1625). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9d79dd9ce7425f5c8d9e12f69ade26c055d00ae016184953cb68f8d39ea4b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.trimLeft (cognitive 18): Terminal.trimLeft has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4194}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b416c3cfed9ed679ccf65b5c5d42e971b3c0a96ff957a5b80da5d32139bc60"}},{"ruleId":"D2","level":"warning","message":{"text":"TcellWindow.printString (cognitive 18): TcellWindow.printString has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"097c8a5471fd5d8f9bdd61fb4ea0a720365dd7f3e582ef55b6a4754907385137"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.Init (cognitive 17): algo.Init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4846b028944cb5642d090ce647c365e17e612f5505bffb873b767ef054df0755"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.EqualMatch (cognitive 17): algo.EqualMatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a99053053c9cc4915fe813c73b994cf31d38f27113647b2e3da0a1a1041117f"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printHeaderImpl (cognitive 17): Terminal.printHeaderImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/terminal.go holds 22 of the 88 functions over the threshold \u2014 including the worst \u2014 and 2637 of the 5329 points over it (49%), 4\u00D7 the next-largest file (src/options.go at 667). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3834}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f3cf97ddbc6cfe926350c1b7d7fcf1ad9836e27900a1126827d5f051c8ae72"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.stringReply (cognitive 17): tui.stringReply has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 2 (4 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 3). 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":"src/tui/light.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfbbaf61da05a2d171e5fb111c99f98d03265fbd0b7420e45f76baea754e802"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.stderrInternal (cognitive 17): LightRenderer.stderrInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"001228e0a5cb2aad330fbd073e93f89c48efd835d8da274930ce9974880c8da2"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.fuzzyMatchV2Single (cognitive 16): algo.fuzzyMatchV2Single has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e9f41d059b726f5e6fb3cf2dd528e560f2220b116d72830e5c8a43924f941"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseTmuxOptions (cognitive 16): fzf.parseTmuxOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a955269168c5d67907704fbcb6b1446e3e7edd49df27ca0ae8135033ecbf50"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseGetParams (cognitive 16): fzf.parseGetParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bfccd13b4cac02b77dd991128822aca7be60eba001a0d9095785c62537f918"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.RangesToString (cognitive 16): fzf.RangesToString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa193f0495bc02de8750bd936fc59ffb53b12f6ca6a7979107b2d4b532ec037b"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.awkTokenizer (cognitive 16): fzf.awkTokenizer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7be10cb5ab643cdd359582a55b6acd302123f71bd2cb118bb74cfc76aeb3ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.Loop: MethodTooLong \u2014 Loop runs 1697 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1597 over it, 16.97\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":"src/terminal.go"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2458104e525ed0f3e416b7ccd9a3fd9f05b204904743f12e49b2330c0ea6425a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Terminal: ClassTooLong \u2014 4998 significant lines (blank, comment-only and punctuation-only lines excluded), 146 methods, 147 blocks, lines 206-8966. The bar is 400 significant lines; this is 4598 over it, 12.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da08cf06d5b403dfa1451bfee7d68c15773892718af2a5fd9edf2d5656a522b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/terminal.go: FileTooLong \u2014 6197 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Terminal (147 blocks, 206-8966). The bar is 500 significant lines; this is 5697 over it, 12.39\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":"src/terminal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35d351b86035dbe53a1ec1d95b3c1a5e4d8d5ba9e22e3300e230c015e8bb3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.parseOptions: FunctionTooLong \u2014 parseOptions runs 822 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 722 over it, 8.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3ca61b1080bd4eb9ec52f1319a639616f57a9a295a82dd40381739e0e5ffa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Terminal: TooManyFields \u2014 214 stored fields beside 146 methods. The bar is 30 stored fields; this is 184 over it, 7.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b252bc6c98129c4b71509bb478219a52189a8d1b34b772557ed2ce20a2d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/options.go: FileTooLong \u2014 3028 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2528 over it, 6.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a818deb16ba47c75ecb80b7caa2c88977fc3940a7f69bbd39cdbf9657389c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.resizeWindows: MethodTooLong \u2014 resizeWindows runs 488 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 388 over it, 4.88\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":"src/terminal.go"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"11109d77d46940302c44c0b2b6701a487c0248ef72e6ddfddaa06a75bfa7d5c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Terminal: TooManyMethods \u2014 146 methods. The bar is 30 methods; this is 116 over it, 4.87\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":"src/terminal.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e16aa63e0e5acd6818573722db435a71c1b352f3ae897b5baa81a9e8e54752"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.Run: FunctionTooLong \u2014 Run runs 424 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 324 over it, 4.24\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":"src/core.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0034dc5fe098a70c287f746cd3666c2556f9e1028795219718066da8948ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Options: TooManyFields \u2014 122 stored fields beside 6 methods. The bar is 30 stored fields; this is 92 over it, 4.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":"src/options.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"040268d45caddf3fd463ba28344c2b20cc40c5ec6f3d6d3fb66331324e5a0078"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LightRenderer.parseEscSequence: MethodTooLong \u2014 parseEscSequence runs 389 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 289 over it, 3.89\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":"src/tui/light.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"359616fbed91b79b21486ac9d7846cdb9bbac6862b8fc8baa9a2871ec9a8830f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.NewTerminal: FunctionTooLong \u2014 NewTerminal runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67c766a6a5e395013835a84bdc1acbfb089806e41733dd7df31cb1a9ffff651"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.parseKeyChords: FunctionTooLong \u2014 parseKeyChords runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afa8ce7f4aa802f195593ce69a203acd0765f64da510dae91167746ff57c6ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.parseActionList: FunctionTooLong \u2014 parseActionList runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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":"src/options.go"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a09c57a94b677911a37192ade08817114eab8dabffc596f9b41bad8e7c4d271"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.printHighlighted: MethodTooLong \u2014 printHighlighted runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\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":"src/terminal.go"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d9aa1fe5fe12e53bc95d2158f19f1fe53570f88c6746131f8c4db65b4f9ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/light.go: FileTooLong \u2014 1246 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: LightRenderer (42 blocks, 65-1877). The bar is 500 significant lines; this is 746 over it, 2.49\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":"src/tui/light.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fa60a17224e594e7d57d9480e43e97db6ca20cc88e85e9de6b2d5019fa6f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tui.init: FunctionTooLong \u2014 init runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"src/tui/tui.go"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"099f50807efc7e1e037a3a8fd8dc351a0cdcb9d52e2c91703b1579713c071f8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/tui.go: FileTooLong \u2014 1189 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 689 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77437c43776218fa4c78632c40c3fe2d7926aa4893bf93932611f00b5be4bfca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LightRenderer: ClassTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods, 42 blocks, lines 65-1877. The bar is 400 significant lines; this is 412 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cb3527c72a1cfac21f385bb712bf3dc9232f6aadd8fbc9e4d0f546af6a48f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.parseTheme: FunctionTooLong \u2014 parseTheme runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"src/options.go"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f0ce29b4686dd1f533a67d3795f7aa5cf969f58d49cad811e443035ded58e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightRenderer: TooManyMethods \u2014 54 methods, declared across 2 files: tui/light.go (41), tui/light_unix.go (13). The bar is 30 methods; this is 24 over it, 1.80\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":"src/tui/light.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2a258249c7e5590c72d58f31c417c7c18ea42afb0ddc043f2b0a898cc4da7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ColorTheme: TooManyFields \u2014 50 stored fields. The bar is 30 stored fields; this is 20 over it, 1.67\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":"src/tui/tui.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8cb9fba689bf71804e1c874b1021d50c469a90647b5b375b894e0ddc5998b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.printInfoImpl: MethodTooLong \u2014 printInfoImpl runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"src/terminal.go"},"region":{"startLine":3487}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e2b55e6c9b7dd66ce2f51dc169008d4649ade7a7187c8c419571426598cfcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/tcell.go: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 298 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dce3bc9d4a22f4f7b630c65ab7823c5302b1c19b7efbf46f96ff1e7331cf92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: algo/algo.go: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"636429a55b865ad9dfc0336189758abc31dbf07d395993df79298a9a2f654895"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: algo.FuzzyMatchV2: FunctionTooLong \u2014 FuzzyMatchV2 runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"src/algo/algo.go"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2effa6cc0e10c98e7afdb738a909bbe11ebe31a99c5185a7369934e5e3e35b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.isExecuteAction: FunctionTooLong \u2014 isExecuteAction runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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":"src/options.go"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a82203a73ef786799aae7d885cb1469faa58e808292ed0fafc5b88ebed50d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.printItem: MethodTooLong \u2014 printItem runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3989}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26cb4770ace35ae87ff812fb6d3a93159695ad6808e3c12f0ce6b58915330d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.interpretCode: FunctionTooLong \u2014 interpretCode runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"src/ansi.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb83b60ce661a0c0f60b7657b16187816b905520be819b03a4059ab070f1371"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.UpdateList: MethodTooLong \u2014 UpdateList runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"src/terminal.go"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf28e74aa336e4dcd9d90cde20f6c1fb2a3f41c12965764916920ce7ae4380d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Terminal.renderPreviewText: MethodTooLong \u2014 renderPreviewText runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"src/terminal.go"},"region":{"startLine":5066}}}],"partialFingerprints":{"codehealthFindingId/v1":"31550c313755a7cd730b6350bd0aa8c05e6baa71996b0718a84521274aeffc3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tui.MakeBorderStyle: FunctionTooLong \u2014 MakeBorderStyle runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"src/tui/tui.go"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd8c6c1fed9b67f80fce32766aa6a3b20a4ae66c78d063e86449a32ba2b6e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TcellWindow: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b9e02dcc6e5a3bf3c46e21176f0f65036bf385d6ada044ccea024c2cece0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.postProcessOptions: FunctionTooLong \u2014 postProcessOptions runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d270f086a83e83903641d86ab14b16f663281ea2624cb9b7a62547780886dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightWindow: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6538476e72619e3ce5994b7dd60b84d44d17e0bc412b33d73ce84c8480f6457e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tui.InitTheme: FunctionTooLong \u2014 InitTheme runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf672de2ad34053d4c54451d6940aea80c9d0cc0e6838ad6c997140e56f4409b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Result.colorOffsets: MethodTooLong \u2014 colorOffsets runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"79484e5b63e0aca8a0ce297c993dd662829361aba4bdf30255aacb25acd83ca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: algo.fuzzyMatchV2Two: FunctionTooLong \u2014 fuzzyMatchV2Two runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a326e3189dfb898ac7e603da627ba4072af9995fd0f35d1662f1eea7291326"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: LightRenderer: TooManyFields \u2014 32 stored fields beside 54 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":"src/tui/light.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"40738f23150cd762395e6dc6547cee77b9ac672b104d2d3b994f63c95f9e37df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fzf.parsePreviewWindowImpl: FunctionTooLong \u2014 parsePreviewWindowImpl runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49dbab18eba62407f68ec82492c64f37d51d4f2c5e95542d4e3cf61ebd050b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (102 shared lines): src/tui/light.go:677-1175 | src/tui/tcell.go:251-706 \u2014 These two members are variants of one another: 102 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efb2d39e52bd0195d6ac83dbaf31b1727c8952da82a357bdeeaaa15090525be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/algo/algo.go:1228-1257 | src/algo/algo.go:1260-1291 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ff84c3222c467607e8c6589990a02e1c54d7125984c5c4fdb795a10aa1384"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/algo/runeindex_x86.go:23-43 | src/algo/runeindex_x86.go:109-128 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/runeindex_x86.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f4f499a7ee3d73d71a4e5714a74aad101fd094f2e578e05292afa8e0d7868b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/algo/runeindex_x86.go:73-88 | src/algo/runeindex_x86.go:91-106 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/runeindex_x86.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf57ff0d3b3f76ce28182ca4927c581016a8d12aa50db5b9d991ade203d67ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/tokenizer.go:222-237 | src/tokenizer.go:239-254 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc2524805464660875c5f36e4aed5f3b5e1a2465f575d226c9315ab7ad73f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/proxy_windows.go:49-66 | src/proxy_windows.go:68-85 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy_windows.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b610051ad423425a4b9bb47968814f3e60c4bad282c80a9fbcba0fb52526a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/algo/runeindex_ref.go:13-24 | src/algo/runeindex_ref.go:26-37 \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":"src/algo/runeindex_ref.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"db77ff18bb65646f3017baf71922befb986747ce450eea0db178147a9294491b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/terminal.go:1992-2002 | src/terminal.go:2004-2014 \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":"src/terminal.go"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7e65d4161945266c3ac347e97fc2d72da139794d62db1e0f616751e51e78ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/cache.go:37-51 | src/cache.go:54-69 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cache.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9005ce2771a06ee0e14c2d67f79b213aefc0af46f1be777937f7b63157ee6b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/tui/tui.go:1163-1199 | src/tui/tui.go:1214-1250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4393f247279da7f9d8d7cf65742b13f254365d36a68aea299f0228bfb353cb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src/tui/tui.go:1135-1160 | src/tui/tui.go:1186-1211 | src/tui/tui.go:1237-1262 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tui/tui.go:1135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"869e4e10f12866b47492ec460ea29d04da47fe661b512ae443c5c52a13ba6854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/tui/light.go:1053-1074 | src/tui/tcell.go:512-533 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"5485370e803d6c0fa82ebdfc9fed93e6590f4b3643637b02c5a42c00d5c43de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/algo/algo.go:1239-1254 | src/algo/algo.go:1271-1286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/algo/algo.go:1239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597f3cca41591f9b0f724894a5cea23758531a31723b60e94c7853caeb3a43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/tui/light.go:1007-1022 | src/tui/tcell.go:443-458 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tui/light.go:1007\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a0f8dda5341d4d58716e5a53b20e63f4369af55cac92ea121fe11e1bab8699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/tui/light.go:1030-1045 | src/tui/tcell.go:466-481 \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 \u0060src/tui/light.go:1030\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"4080720536665a25cb9e1e5c28a2f93a6b3dd0e90874b675a439a27178ec7ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/tui/light.go:1076-1091 | src/tui/tcell.go:489-504 \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 \u0060src/tui/light.go:1076\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcbf6e8a6f5bca6a085744ce9da05a6031065d6e9043712b45a6d3ff3dd6bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/tui/light.go:1099-1114 | src/tui/tcell.go:539-554 \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 \u0060src/tui/light.go:1099\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"874a50a0aaeef65ca069e158f5fdecb0d7f3851d7e6250edec4d0bf16be88ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/tui/light.go:1122-1137 | src/tui/tcell.go:585-600 \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 \u0060src/tui/light.go:1122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd31abfce1ea9a02fa371d42fbaa3d2fa9e09860253fdfcf0ef44c596dfa21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/algo/algo.go:1070-1084 | src/algo/algo.go:1141-1154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b46b09e3f2541163a76d668f4680e26756485303cf5bc0b3ee256c976ddfe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/options.go:2461-2471 | src/options.go:2475-2485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c61456f891da31841922684a2d20b38a5a1dd8be54faca80c9a5b307b19050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/options.go:2450-2458 | src/options.go:2464-2472 | src/options.go:2482-2490 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f44aac929b3387a3e8e41e76cf5b3afc501c1c2944d2954e2364cf7106bd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/pattern.go:361-369 | src/pattern.go:376-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/pattern.go:361\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/pattern.go:375\u0060 calls \u0060Index\u0060 and \u0060src/pattern.go:360\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfdaeeb4fab9329711a68876e100474deae8261e9bc3965197aeee75e9f2227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/tui/light.go:1507-1515 | src/tui/light.go:1567-1575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tui/light.go:1507\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b44e80a6e5e4cf43265d7a7cfb5e6caef57432ff07c48155f84bfa579dd2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/terminal.go:6238-6245 | src/terminal.go:6274-6281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/terminal.go:6238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":6238}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc6d39b1f63db249cef5bc2d7917a05df408bd85a6d4e0e59eedd4048a8507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/tui/tcell.go:858-865 | src/tui/tcell.go:915-922 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd8b097a0d17ac6d0ad64afc6ae1b2bfae4d7769fc8f882b0e1eb21c4067b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/terminal.go:8193-8197 | src/terminal.go:8218-8222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1213a343f0d78b5d995bfca45bc7334c2813d37a24ff0b9bf9f8b95a86cb7da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/terminal.go:8199-8203 | src/terminal.go:8224-8228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8199}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb506f03417e9925c947e6b29dde3a59f038fd339158dadd7fa270c66ae810b7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FullscreenRenderer (LCOM4 8): FullscreenRenderer\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b59b7c0d4611aef7efb4dead0e86114c982282706ce18b140f543d13b0b74d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/terminal.go: src/terminal.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 755 in Terminal.Loop at line 6356. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 10:51:45 \u002B09:00\u0027 --until=\u00272026-11-12 10:51:45 \u002B09:00\u0027 --full-history --no-merges -- src/terminal.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":"src/terminal.go"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485ede262d71905493564537c2a7fa5ec59ef786a86678d02dc2f90786e8da7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tui/light.go: src/tui/light.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 200 in LightRenderer.parseEscSequence at line 677. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 10:51:45 \u002B09:00\u0027 --until=\u00272026-11-12 10:51:45 \u002B09:00\u0027 --full-history --no-merges -- src/tui/light.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":"src/tui/light.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a311389549fca7fe07e8ea2de5092cf3ab4499b08969e9941c69768f2e877"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: src/terminal.go, src/options.go, src/tui/tui.go, src/pattern.go, src/ansi.go, src/util/chars.go, src/tmux.go, src/result.go (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"51780b63d28a4e0dc6ac8b6f952cbe516059e4d898ea04513b7d175cb9c0a9c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We should also check the behavior of \u0027exclude\u0027 during reloads \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/test_core.rb"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fe0f8781d04069bfc27f155534d281605f1d16b840a54949ce943edf75eafe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We should also check the behavior of \u0027exclude\u0027 during reloads \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/test_core.rb"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c442a8cd3b5eb4e60be2a9002186efb662731aa50f80adb716cbdbac604dfc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: How do we verify if an intermediate empty list is not shown? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/test_exec.rb"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b53efd475831f7c17e7e821487f358e9d778a2ab9de9fe19c2085f449d98c9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/chunklist_test.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"908f4c7d17570b0fcd8c76f30b7bc48629ca67049da4af325717148c2390340b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result_test.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8ecc7c7c7c06384642d42642ff2de1a831c444ef58425a91124d2176205e4b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result_test.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3aa53c1f05d58e4f95834dabd7bf565753e0cc27f211744be9c47db244d0c8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result_test.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f9f6faa80c953b33adfdcd7b931b7c5c91aacd5b9066b4b8c84decfb6f6340"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Should we terminate the program? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"722f4447338414244b981abc4a7ea7ccc863ca4bf4e9ea37828e7a668ab5e262"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should we merge consecutive blocks? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result_test.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e400852694ccadf21d8255aceccb7fa8bf1395bdabc9661e0c2dd47ce03fb5c7"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Deprecated in favor of jump:accept binding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f02898ee5924620a535b07969e33b38e77da75cf7742dd29d7392500215691"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Deprecated (not very useful, just use --print-query) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f485d2accdb91345534f1c0e11eedf719d898b50a99a2ed49c94ef55372197b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Needed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337e053d5ceb1b9e80fdfc51b1619cff2b7cf7b636a261633634918c48e4c50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Counting can be incorrect when the delimiter contains new line \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":6225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb6ff5c9831eead316ed7566ccd6a4d26d6a4665b675b7c6f544cd8d1a2d962"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: One-time preview window can\u0027t reappear once hidden \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8584}}}],"partialFingerprints":{"codehealthFindingId/v1":"218522e29e4ce3f332f75bc8038b5296043d0b13c5f8764aee78c567c0a06b24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Errors? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8964}}}],"partialFingerprints":{"codehealthFindingId/v1":"523ea48f32682acbc2baa6091b0c222ffe79101e6206f5829038d697d22882c3"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Deprecated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal_test.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7be2fc8db931946ed5a74dea4ddf822a0b606bc280a6d170a0e5e3b291071ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this should actually work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal_test.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1222dee2fc2485ba376a0c44e48f0ad9017063b5d7c81042f3650b76332a970d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this should actually work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal_test.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0175a6e6ec8260e07453f93bf7b863e8f9b90f28f0a62aeb99bd470ecb0e32d1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal_test.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9560ef36b787899d542e7504ba1913da5e0fdd2a666756780ad6b1a14e5187"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal_test.go"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee5df6951161d01efee8ea480c79e81bf61ee12cc3d764e54c37c866803faf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tokenizer.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac79af0224eb6a23e342c5169d41e026a7e62f6954b349b7f504f9477f50af8"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Piggybacking item index here is a horrible idea. But I\u0027m trying to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/chars.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a20f1417a2ca109e645d62b60fb63edd035ceb0243a55b39ba3c7c5e87b756c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: if run from PSReadline, something resets ConsoleMode to remove ENABLE_VIRTUAL_TERMINAL_INPUT. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light_windows.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b26fcf32fd036cd4e60cce15bd2899418445048a2a4e1e858788e9c9f9b676b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pixel width and height not implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f47f62f7b06760bec6deeb4b3cf20c11806f58e47f0f382605dbd4e318e5c92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb05d48ec1a539f6c949d8ffdd9aef49291befd84034223e03e9b9498b4ca5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tcell.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"145ff17d6971bb1d525ff9aedc4eabc1d3cdb5090b16bdf4ac4f86ff9bba5822"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO int32 should suffice \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e833fe876b79ebfb0431a90a938c02e93872f09b2a6055b5781e8b2901c8518"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17685adcee330cea31ce9b9422f1d9578b8970b49340c2d03f8dad429690099e"},"properties":{"commitSha":"d57c6d0284c2fc7040d101bc70f39978ff9e58f8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd2ab60f0744f0fa3ded8d666143bf909ab8a2e8348ad2ddd8a93156d3adc94a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a29df3c4b73b38337ac0c48c825ef6aace52faedb76536737648711426349e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7edfd8f4f5bf8e12eaa030a7c42ab1e660cfefd97a58fe598164ecb96a02e3c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbae55df5f85e32ca32b5237b845c7388ab1f1cff2e732654830f8f06acc6881"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0954855d3ffd7bf2568d82f9acba07ecb587e78166799a2857de99a4d7be44a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81b8b1dc294601314c89788f4f766fb4fa7d75686cb6d662c1872850e3f33948"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d8137e2843a4d9ace312984d4d1b8b07998cf19f7a31e2c7e904de2ca9c84a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6afba6f6b1280763301c87b4a8f7bb8707e12f9b0570665d03cfa52ec49ce4c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83bee7b28c8ee9360c1e5a6dbcc20587daf23e294b16a36cb46981904211d773"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71aa5ebdd916aee053a96ee4058a3a64436af024cb0f909170d2b66e887ed41b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66fa588b6cb3bf87b438ec858a49249eaa4739829aa8c11257b28be2011b78b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6786623d6ab07e0a341cf9587d23782500bea68078e42294090ebcea5d09345e"},"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":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07132a4fdf3794e7c2fe91432546624d5c70f19374e6fdd0d64f349a37cfb72f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75bfb07d5f342791a67e0f7660959dfa8058e38ab62cfb6ba18790e949e489bb"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd95124bdd1d91b781e0cc3468c1e0aa3fa3e6ea2cba125157b1ec06c7fae444"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4413a1248904d966f75c00a93227b55ec4d74fad265946f4662cba88880f776"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c4d285a19e2099f78cf83a62744089693aec96de25927e90aa34b5c953300f9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"871b56a7e847c8046831f8d3b41f4edd2cb3e12ab145e6f66027f11daf9de7a7"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c62268e5863c4ba232eb963e0356929b84f3c1f5f7e14e81d4759785172e8c57"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e32703bd3e1c04b36874648735ce815b26582a2d826d4ecf5c5c1de0abf2bbd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ffca5ebfcca529286784c3e9c68e9a347cdb89fb1a4952bdca14cbac49e563c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a04de29336921af59488bf6d70c59bcf8470a6cddadf579a8b7f07e6a783236"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63c4a093cd4d8270d8663d7b47af1062c73ee032c2d6873d217251d788ab2402"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49c16b6fbc91670e61b639ab9c9270b4df42b6b11889eae216a02e4dd9c52b80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2907054ed0601daf6ae7c71d01799b339a9735c1c06ff6caa79d5a8d0ad82bbd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7637a33639ec507d622124f715eca38710fe631e8fd2c8a3e20acad412310e2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96de53a9c41aa9762bf4bb7d8c6ceb5328ca215e45d4016e18c2ff1458e371c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6279e5b94d4e4ebc1cad0ae080effbfa9f70a0bb22e3708308444a0a0be5af9b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cec383f2bdebe31c365beb0bb9fdc33888d0d1527fb723d28fdd7208664d0a95"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f84e69ed22da370a965fad87333ff1b5533d95eb293524ad10cb525c279954cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27f8d1ec73f25a48655391d257c16d1d5d3544935806336b985462a15300f93f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28fa5cf1a0adc181975aa802b813524c044217e39ac53ba7a329dcbd152dfe1f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edd3f91817ffb3460bbf746a705955578dfd8a457adeb42236728fe20c8040cc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65a28f55bb71b4790fb2d772f0395b55e720c5b67ee357bdcbcefe9d6867fb72"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1f0a6790e2b79d7626f56e96569f4ff0e80fbd895d93b032293b4b9cc0b8a9e"},"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":"710821d4ae7173713035127ff46d2b9ad6ad07dc5dc73a6b7454bb4d827fb4b7"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffa4c2df211fbd7ca048f989d90b7e4654f51d0972e537fbaa43ea11a6efbe7a"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73ae6058cb16cb5edb67db7e9606c4e8e75be800af1d4e252c20b3a08e0f6e83"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bec23cfc02f1759d16fc95812848f044a8c617dab7fb78ecd2a3f15c573ec0e"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3d85425b08a8ac702c6afea9c7c0745a5506d36a3744b1e3c6054fc3a217308"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aef31096cb3a86d414f9b795aab239be24217b584029ad44faf4b566d8a42174"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc3f352dc6189653bc14d9b53a9c15ea51f589862451f39fda63a40e3af7c5d3"},"taxa":[{"id":"CWE-665","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-908","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c055bc16689e781d51834fae63a1f08080ea1c0e65ac21f3d4411ee24d4882f"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0675a0d92a60c707ecc46126641cb866edd442e9efd6d19246762fdae88460fc"},"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":"715cc7d90738cebb77fdd79e1a8be24b38a8e240ce7a759d082a46643e0e86ac"},"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":"731ff140b4a68f55ec49d45e44fa5b3cd360a819ec5855c16217c10dafd87d1c"},"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":"6864467d2087bf298beebb7095d27daf1a6a33ff374ac9e6b1a9c7c2bfd49912"},"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":"ecd757587467e993a6dd97b01a5469708db7dd4cec6cc0dd3a7b342ce933ce9d"},"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":"04a7a6c8c57e98e23ef7d3b04fdc2b35abd7f2b38fbc144d152d361527820224"},"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":"cb827b4ec88d463ac3ca64c5cf46292d5d15e5ced82f759792f891b9525c8fb7"},"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":"8f8014e096c50edac73fcb4fb5958bc9ae0c176d906fca999c0e32c5dbc6a4f5"},"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":"44c8eb8f80f83d6f249c7098add30254a99afbd4e34fe2c804eb20d9b69f90dc"},"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":"f3e25339429328a4dc6354e34d3e704321aa87728b92db427cceba7bcbfb6e4d"},"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":"62d16a3f6c45fd3b7ad897ad6440faa0d3a5704b9cdc825aa0b988654e7787f5"},"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":"38f4cce260ae51b5a65e07430fd896917311a7d400fff6f55539b8283f3cd7b0"},"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":"e6aa908372f2b67a8ac3372c9cd2bc9f17243d979f5f1f9ebc2cb4496be53228"},"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":"cc832cee6696ad726950604cd9aaa1c7a7e69fce5707e9113afcefb729a51b70"},"properties":{"dependency":{"package":"stdlib","version":"1.23.0","advisory":"GO-2024-3105","aliases":["BIT-golang-2024-34155","BIT-golang-2024-34156","BIT-golang-2024-34158","BIT-golang-2024-45336","BIT-golang-2024-45341","BIT-golang-2025-0913","BIT-golang-2025-22866","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2024-3106","GO-2024-3107","GO-2025-3373","GO-2025-3420","GO-2025-3447","GO-2025-3503","GO-2025-3563","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"main.go","line":103,"symbol":"os.Remove"}}}},{"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":"362d19fbc20680c130f6d3f829465778e97203407075f4ceb76a4cf0cc41a027"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.35.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"src/terminal_windows.go","line":11}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d999f7f0da1c7805a61d7a77ca6e9d78cdf7e7d953cafe7b73d81759ae1a99"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.28.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5adb16dfd7c416605cf9e2db2aafbc240f37778b6a278bc4cdc73cb5789b4847"}},{"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":"41f42fa5e7c771ddd4d4ef03eba3e33705bfb48e472a9aa389df6b304e7226e8"}},{"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":"135122fe19eae2a629d55651d8e5b7b10a06c0fdb1bdecfafb4ced7e1108c3fc"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ed5deeaf2a10c51f61d6192cf54dd8a84fa40fdc05109a603155df805e714c1"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Go 1.23: .tool-versions declares Go 1.23 as this project\u0027s version file, and Go 1.23, support ended 2025-08-12 when Go 1.25 shipped. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2025-08-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".tool-versions"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d442a5d9196be8d00dcd66ebde783ffb7894dab0883d1ed0fdb3a3cd66a0330"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 58 Go production file(s) this check read across 1 module(s). Each was searched for its ecosystem\u0027s logging libraries (Go: log, log/slog, zap, zerolog, logrus, klog, hclog, logr) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch bundler: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060bundler\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":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a8c390cbc2188233fef14ffb4358a56a528b78ae8c7b25e644c32da73cc783"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060edge == SectionEdgeBottom \u0026\u0026 shape.HasBottom()\u0060 appears character-identically in 2 files \u2014 src/tui/light.go, src/tui/tcell.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a75b32e4a93d524adc0e2d2761adbb58da9c4ad81122fdf6e47a8f7ab2db15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060edge == SectionEdgeTop \u0026\u0026 shape.HasTop()\u0060 appears character-identically in 2 files \u2014 src/tui/light.go, src/tui/tcell.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cf6f3f1a577fa1bab9d4a8f17898b6098c40d5f7e188358548df326ee3d34f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.begin == rangeEllipsis \u0026\u0026 r.end == rangeEllipsis\u0060 appears character-identically in 2 files \u2014 src/options.go, src/tokenizer.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3851}}}],"partialFingerprints":{"codehealthFindingId/v1":"e589e0aca22630908e234d0927f1fb8d54525c783ba130ea1bdc9410b42cf183"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/1 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: startHttpServer: \u0060startHttpServer\u0060 calls \u0060net.Dial(\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":"src/server.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69f9b78008d4780f0e867ec358a9a9edd78edd7543f49eed90c2b1ba471439"}},{"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":"src/proxy.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a817621b04cb64ec7022f1b605d4e2ca4d4de54a3953de4fbb584b0c3beebe7"}},{"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":"src/proxy.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"866c24e5c5b8c201b4c1caeaf367ed0a1be354b484212009890024f208a4d40b"}},{"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":"src/reader.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"209fb8987fad2687665943a5837e26dd4d9ab19ed0f1df2c07a4f86463e0c724"}},{"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":"src/terminal.go"},"region":{"startLine":5422}}}],"partialFingerprints":{"codehealthFindingId/v1":"951e66a1b69da908b4ce3c2fa5bae268f242ed188372aea7c76b4d18efbdd5a6"}},{"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":"src/terminal.go"},"region":{"startLine":5435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9751027bb4c04b1d0702d58aefb9f765cfe4c3cc4401739f89f8e2b2d6085f0"}},{"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":"src/terminal.go"},"region":{"startLine":6527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a310e96a2b485b4ba462144df76a7fe16c4dbc565f9b0ff9ccbe7efa6f5d313c"}},{"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":"src/terminal_windows.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae456c43235b93aaf8a9142f960bf9afb314edb487dac39b8a7f01e86a3e695"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := fmt.Sscanf(string(out), \u0022 \u0022, \u0026width, \u0026height); 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":"src/tmux.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b9002c935b3cc6e4f8e6a5d18661e0979dd30419efc69bc1a834d16f39ea32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := exec.LookPath(\u0022 \u0022); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/winpty_windows.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8c6f9fd9366850d0f33bcca91c23fb149edb3305a017153f590f8aa3a1c27"}},{"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":"src/tui/light.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b49f585f293e33b7c4e0edeab639d0f138a286c94592fe365f45bc500c138"}},{"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":"src/tui/light.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cdbcc903b49da25d1a69af32abfa4938bea8393d2c4246c21976591b9805bb"}},{"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":"src/tui/light_unix.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dac22072c3e52a1469acd0355a41f3a8e6454c8a05846301c8da383aa93402"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := windows.GetConsoleScreenBufferInfo(windows.Handle(r.outHandle), \u0026bufferInfo); 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":"src/tui/light_windows.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a1a58ee83603ba67c76801ad2ff85cc008201de7c7fbd75d01a0a9382c468"}},{"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":"src/tui/ttyname_unix.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bf099ab6a52b01bc42e4b7d5d2d974b8864e79e1ffa777f19e296007b1e9b2"}},{"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":"src/tui/ttyname_unix.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"063bbb8b5cba7a2c343594c0ad0cc5b0765eb587fc161e66a037641494b3ff79"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060findLastMatch\u0060 turns a non-nil \u0060err\u0060 into \u0060return -1\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":"src/terminal.go"},"region":{"startLine":5422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3007b93bdadb831773e722194877ddf48045d81173f4c1b3347aa539382c8132"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060findFirstMatch\u0060 turns a non-nil \u0060err\u0060 into \u0060return -1\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":"src/terminal.go"},"region":{"startLine":5435}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdaf972ca0464d6641c50c069d711998ee077b86305b04726bfb757efe4850a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060evaluateScrollOffset\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":"src/terminal.go"},"region":{"startLine":5569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe98213860cd5b8ea21eeb60242cbcb5835b880dcafc4a01a78d02bceeddf68"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060CompareVersions\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":"src/util/util.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b70f36aca660c5f4164cebda02e0b31b068bbaa7d00da051b16b3edd6b03c"}}],"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-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":77,"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."]}]}