{"$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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Terminal.Loop (cyclomatic 747): Terminal.Loop has cyclomatic complexity 747 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 669 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":6229}}}],"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":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e95b1ef5f87e5571cc1d84930fdcd0028925f54ac39999995f94c4f143ecece"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRenderer.escSequence (cyclomatic 189): LightRenderer.escSequence has cyclomatic complexity 189 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4599dacf20949a1f7d4a7cf95229fefdde3e6600a98cacc9c46166902e5f75"}},{"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":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a8e55fbbf8eff2008415fba53f5574bf718b608deba50dfb3143cbc0a06874"}},{"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":1744}}}],"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":4234}}}],"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 66): Terminal.UpdateList has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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":2019}}}],"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":4996}}}],"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":639}}}],"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":971}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3708}}}],"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":3452}}}],"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":3951}}}],"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":479}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4edb6951e85d629dd5a207a47eed5e38e5af5b528a15e90ec8e4dd460b3b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.readFiles (cyclomatic 39): Reader.readFiles has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 11 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 318). 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":"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":"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":1037}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3614}}}],"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 5530). 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":5523}}}],"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":3667}}}],"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":8568}}}],"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":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e196ebbcb58b32a85f20bc8dfaf342028fba1f4c5a82215eb87a29413a405"}},{"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":939}}}],"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":2311}}}],"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":5736}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d08c09b1c162cd32df7bc8638e31cd2a31517f372162f077443d1ebaf6163"}},{"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":252}}}],"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":"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."},"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":"LightRenderer.GetChar (cyclomatic 21): LightRenderer.GetChar 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/tui/light.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"523ba7af3b50169c2b680769ca9175fb649b49b13c02af942cbb6fe1bfa6ed4f"}},{"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":"LightRenderer.mouseSequence (cyclomatic 20): LightRenderer.mouseSequence has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebffaf64f14c0611d94376f13d0f188b29c217f73106c70f9bd59045a155fe7"}},{"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":1250}}}],"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":1405}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106dfdb8a9233adfbdbc769e6adef9b1928a381283dae97adc5df95dfb1e867"}},{"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":157}}}],"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":6082}}}],"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":"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"89515f081dcf1b6ccd42afc4a430f8aa644c0bfe062922ac1941880b49d9e376"}},{"ruleId":"D1","level":"warning","message":{"text":"Matcher.Loop (cyclomatic 16): Matcher.Loop has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/matcher.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ee99e1bb7bdb6f3da6b71d20714e218892f856b1392860ec912a0b9095071"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc0306756d675e34b97a1e70610c4cdaf41f13049f8601b5e9599fc8e5650c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.Loop (cognitive 1521): Terminal.Loop has cognitive complexity 1521 (threshold 15). Drivers by points: if/else 1166, loops 139, boolean chains 129, match/switch 75, jumps 12 (nesting depth added 953). Of this number, 155 points are the body\u0027s own statements and 1366 belong to 13 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/terminal.go"},"region":{"startLine":6229}}}],"partialFingerprints":{"codehealthFindingId/v1":"152bf686097ffbfd2205d3c72f7448797157677bf8d605213a5d11689fbb04ff"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.escSequence (cognitive 481): LightRenderer.escSequence has cognitive complexity 481 (threshold 15). Drivers by points: if/else 401, match/switch 62, boolean chains 18 (nesting depth added 376). To reduce it, split the body into named stages: move each independent step or branch into 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":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f30963b34088dbe754ca7d11e2db88ba566f0341c66365d6517e314cc31e59"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseOptions (cognitive 455): fzf.parseOptions has cognitive complexity 455 (threshold 15). Drivers by points: if/else 439, boolean chains 6, match/switch 6, loops 4 (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":2529}}}],"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 248, loops 33, boolean chains 22, match/switch 17 (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, split the body into named stages: move each independent step or branch into 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/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 239, boolean chains 32, loops 18, match/switch 9 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab35aa016d65801c3d4850c9fbaa3d0c7a94afbec3b39546c2787adf39bde2"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printHighlighted (cognitive 210): Terminal.printHighlighted has cognitive complexity 210 (threshold 15). Drivers by points: if/else 165, loops 24, 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, split the body into named stages: move each independent step or branch into 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/terminal.go"},"region":{"startLine":4234}}}],"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 123, boolean chains 25, loops 17, 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, split the body into named stages: move each independent step or branch into 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/terminal.go"},"region":{"startLine":4996}}}],"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 81, boolean chains 22, loops 6 (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":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d22b82b4275b72776c361af20fd9329241d8d6a8781d4ef91efb1430bbdc062"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.UpdateList (cognitive 105): Terminal.UpdateList has cognitive complexity 105 (threshold 15). Drivers by points: if/else 74, boolean chains 15, loops 14, match/switch 2 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2019}}}],"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 81, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":971}}}],"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 64, loops 12, boolean chains 7, match/switch 7 (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":3708}}}],"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 70, boolean chains 12, loops 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into 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":479}}}],"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 77, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ab29de8347e28cf30590d94cac4639a4cdadd0a17a6675243d7a6fcd785af3"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.readFiles (cognitive 83): Reader.readFiles has cognitive complexity 83 (threshold 15). Drivers by points: if/else 61, loops 12, boolean chains 10 (nesting depth added 44). Of this number, 21 points are the body\u0027s own statements and 62 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/reader.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e51e1cc46ffa55c2037429a347eac5f1aa4b14b0dbb2e2691ddb37bf6ddbc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.printItem (cognitive 79): Terminal.printItem has cognitive complexity 79 (threshold 15). Drivers by points: if/else 67, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3951}}}],"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 51, loops 21, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":8568}}}],"partialFingerprints":{"codehealthFindingId/v1":"91547030fb8f4549739038d78305ee89f05385d5d1f846fc723ab75fe0d3f95a"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.exactMatchNaive (cognitive 75): algo.exactMatchNaive has cognitive complexity 75 (threshold 15). Drivers by points: if/else 65, boolean chains 9, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1037}}}],"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 46, loops 16, 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 52, loops 10, 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":252}}}],"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 35, match/switch 17, 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 49, loops 7, 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 38, loops 17, boolean chains 2, match/switch 2 (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 43, loops 7, boolean chains 2, match/switch 2 (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 33, boolean chains 7, loops 6, match/switch 4, 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 36, loops 7, match/switch 6, 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":1744}}}],"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 39, boolean chains 3, loops 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":939}}}],"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 41, boolean chains 2, match/switch 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":5736}}}],"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 31, match/switch 7, 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 36, 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 25, boolean chains 8, match/switch 6, 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 31, 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":"Reader.feed (cognitive 38): Reader.feed has cognitive complexity 38 (threshold 15). Drivers by points: if/else 28, boolean chains 5, loops 5 (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 23, boolean chains 7, loops 6 (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":3614}}}],"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 20, boolean chains 7, loops 7, 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 24, boolean chains 5, loops 3, match/switch 3 (nesting depth added 14). Most of this is not in the body itself: 0 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 5530). 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":5523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6d2dfedf1c3ef2425b81689181f23540d1de8b8e0f1c30ddc2ee7d56d5da1"}},{"ruleId":"D2","level":"warning","message":{"text":"Matcher.Loop (cognitive 35): Matcher.Loop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 27, loops 3, match/switch 3, boolean chains 2 (nesting depth added 19). Of this number, 27 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":"algo.calculateScore (cognitive 34): algo.calculateScore has cognitive complexity 34 (threshold 15). Drivers by points: if/else 31, 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":879}}}],"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 20, match/switch 9, loops 4, 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 23, boolean chains 5, loops 5 (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 31, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":3905}}}],"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 17, if/else 14, 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 23, loops 9 (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 22, 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 22, boolean chains 5, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1250}}}],"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 25, 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 21, match/switch 4, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":2311}}}],"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 22, boolean chains 3, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 18, loops 5, 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":157}}}],"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 22, loops 3, 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":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ae8f4cc75076df49ae3effb343d5562d5a68ddbd69d80840870062a9f7bcd6"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parseTiebreak (cognitive 24): fzf.parseTiebreak has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, match/switch 2, 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 18, boolean chains 3, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2017}}}],"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 18, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":6082}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffc6b10b333c1c78593e408a3f49e3a9adca5d4264aee2df8ba94a87aad2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.parsePreviewWindowImpl (cognitive 23): fzf.parsePreviewWindowImpl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, match/switch 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":2321}}}],"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 23 (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/terminal.go"},"region":{"startLine":5301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9eb7475dbac5e38e58475fda1890c788c2933910e9d11650676535af46a0ef"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.mouseSequence (cognitive 23): LightRenderer.mouseSequence has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, boolean chains 4, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885256f31158c5aa953e380386d530c92b4893845811cefd82e21bb39fca549"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal.environImpl (cognitive 22): Terminal.environImpl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1405}}}],"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 12, boolean chains 7, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"11df03f912aeffb2a3bf990635bd621c5b12ee57de8f3066d83773aa399337fd"}},{"ruleId":"D2","level":"warning","message":{"text":"fzf.findPassThrough (cognitive 20): fzf.findPassThrough has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4731}}}],"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 13, boolean chains 4, loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3667}}}],"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 15, loops 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4927}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf01ebeaa0533ec48ab3b268c63d5d15ec062222d483c169d44a5452141363"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.debugV2 (cognitive 19): algo.debugV2 has cognitive complexity 19 (threshold 15). Drivers by points: loops 10, if/else 9 (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":392}}}],"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 17, 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 18, 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":2433}}}],"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 15, 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":1208}}}],"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 15, loops 3, 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 16, 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 13, 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 8, if/else 7, 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":"Terminal.ansiLabelPrinter (cognitive 18): Terminal.ansiLabelPrinter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, 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 1626, 1600). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1583}}}],"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 10, loops 6, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":4156}}}],"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 16, 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 9, loops 4, 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 15, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1211}}}],"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 13, boolean chains 2, loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f3cf97ddbc6cfe926350c1b7d7fcf1ad9836e27900a1126827d5f051c8ae72"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.stderrInternal (cognitive 17): LightRenderer.stderrInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, 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":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"001228e0a5cb2aad330fbd073e93f89c48efd835d8da274930ce9974880c8da2"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.GetChar (cognitive 17): LightRenderer.GetChar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c26dfff2687e2d024660fa00ab0d53376989b0bae1da8b32736253896b3b3d"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRenderer.getch (cognitive 17): LightRenderer.getch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 2, loops 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light_unix.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c790a80489f94d8e24bd94c1b6627d76c28aa2e6a08222747ce7fa86a46efb4"}},{"ruleId":"D2","level":"warning","message":{"text":"algo.fuzzyMatchV2Single (cognitive 16): algo.fuzzyMatchV2Single has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, 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":432}}}],"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 11, match/switch 3, 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 12, match/switch 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 14, 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 12, match/switch 2, 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":"D2","level":"warning","message":{"text":"LightRenderer.getBytesInternal (cognitive 16): LightRenderer.getBytesInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, 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/tui/light.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e49eb429431201973fee2083837b5a7125b4707316f1c86d48848a0bb8e95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/terminal.go: FileTooLong \u2014 6090 significant lines (blank, comment-only and punctuation-only lines excluded). 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/terminal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35d351b86035dbe53a1ec1d95b3c1a5e4d8d5ba9e22e3300e230c015e8bb3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/options.go: FileTooLong \u2014 3021 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"TooManyMethods: Terminal: TooManyMethods \u2014 142 methods. 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":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e16aa63e0e5acd6818573722db435a71c1b352f3ae897b5baa81a9e8e54752"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/tui.go: FileTooLong \u2014 1189 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"FileTooLong: tui/light.go: FileTooLong \u2014 1121 significant lines (blank, comment-only and punctuation-only lines excluded). 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/light.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fa60a17224e594e7d57d9480e43e97db6ca20cc88e85e9de6b2d5019fa6f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightRenderer: TooManyMethods \u2014 50 methods, declared across 2 files: tui/light.go (40), tui/light_unix.go (10). 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":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2a258249c7e5590c72d58f31c417c7c18ea42afb0ddc043f2b0a898cc4da7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/tcell.go: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded). 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 746 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"TooManyMethods: TcellWindow: TooManyMethods \u2014 35 methods. 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":"FileTooLong: algo/normalize.go: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: normalized (6-573). 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/algo/normalize.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e68ae0646f174305409aa7786749e7d6cf24ef5f319bd8a1d82da4285e2cf65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightWindow: TooManyMethods \u2014 33 methods. 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":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6538476e72619e3ce5994b7dd60b84d44d17e0bc412b33d73ce84c8480f6457e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/tui/tui.go:1135-1149 | src/tui/tui.go:1186-1200 | src/tui/tui.go:1237-1251 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e87b4efb69c4a626974bc00349a50d5a154b34037a40fb3f5c6de90fec2e1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/algo/algo.go:1160-1172 | src/algo/algo.go:1192-1204 \u2014 both copies are in the same file, so extract the block 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:1160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"499b04b891931ae1d2e34586e8e4c42c74babf44b74c9768fddfe2607f6ea8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/algo/algo.go:988-1000 | src/algo/algo.go:1059-1070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1826352c3b9a53438df654f4c5aaebcd2ed5b6028e9e723608614a54724195b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/options.go:2454-2465 | src/options.go:2472-2483 \u2014 both copies are in the same file, so extract the block 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":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"112fc6a2e400d8dbd41724bcd3c1afe31fe64298be28941b4caf498dc943c267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/terminal.go:6148-6155 | src/terminal.go:6184-6191 \u2014 both copies are in the same file, so extract the block 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:6148\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":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f8835d73c0fca47827f753b0202c80007479e581c0e0af47c40807a92b091"}},{"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":"98e1078ee02136332597d289448a8956cfa2b8cf520ac62954a4efbda36cbbf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/tui/light.go:1219-1225 | src/tui/light.go:1279-1285 \u2014 both copies are in the same file, so extract the block 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:1219\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":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf299f92607a358d1cfb705bea9bb973d745286c2ce08f0f282f9fc38ca5f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/pattern.go:361-366 | src/pattern.go:376-381 \u2014 both copies are in the same file, so extract the block 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pattern.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaafa2189ef49effed3d17351a3d28022402117ce01eb010b4113ddb1faf4501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/terminal.go:7771-7775 | src/terminal.go:7778-7782 \u2014 both copies are in the same file, so extract the block 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":7771}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0a6a65b6cf4382efd2e8a8a81a6d93739e527a8e32e9a65a80b6a7aee9797a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/terminal.go: src/terminal.go changed 23 times in last 90 days, max complexity 747. 2 of those changes were fix/bug commits, and the other 21 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/terminal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485ede262d71905493564537c2a7fa5ec59ef786a86678d02dc2f90786e8da7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/options.go: src/options.go changed 10 times in last 90 days, max complexity 372. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b014355f55c254d7918e44c2a0c20ea8b403521b2d2ffde3bf9b121728776c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tui/light.go: src/tui/light.go changed 6 times in last 90 days, max complexity 189. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/light.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a311389549fca7fe07e8ea2de5092cf3ab4499b08969e9941c69768f2e877"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/algo/algo.go: src/algo/algo.go changed 5 times in last 90 days, max complexity 65. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/algo/algo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d09ccb028ed3dcbb1937e370c59772711a6776283ed0ddbb888cc170b914034"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/proxy.go: src/proxy.go changed 4 times in last 90 days, max complexity 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec081b674ed37361fa9f7d247bda4d20cb019fc713904edaa4cd4ddfafffebe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tui/tui.go: src/tui/tui.go changed 4 times in last 90 days, max complexity 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui/tui.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3397ec17b7ae8f2db69fe558f4927f50bab7b7c3202a26a613dad61ca9fbd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/result.go: src/result.go changed 2 times in last 90 days, max complexity 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/result.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3180886e59f9cb4c89aca873041d168acb2ace9feeb6cd4683bb29a5925119"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server.go: src/server.go changed 2 times in last 90 days, max complexity 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9ca7dd7266ccbb160364443770239d17e6a381bf3cac6fa856412753117cc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: src/terminal.go, src/options.go, src/tui/tui.go, src/pattern.go, src/ansi.go, src/tmux.go, src/proxy.go, src/tui/light_windows.go (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"51780b63d28a4e0dc6ac8b6f952cbe516059e4d898ea04513b7d175cb9c0a9c2"}},{"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"}}]},{"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":"7dc5db3fb556c21c639c6723ffba8ee9586d32a6587bfd3de87d7f4797dad2e6"},"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"}}]},{"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":"db572b4b6ebfa4863e9cd49eaf64fa9b025e53e7a748e781dbb52f26b598e054"},"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"}}]},{"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":"48de7ef42589b8e791c9bbfb8ef9c45e2c46c403d0c718acee2bab1c2000f011"},"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"}}]},{"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":"eb0a7a97ba16a809a94c29ae7f33cd752468bb6440dd2e177d5ae0778d8ff84c"},"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"}}]},{"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":"ae7ce838c71f43d391842970256d142f15725136beabeb13e0ea589c9ffde1da"},"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"}}]},{"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":"d7e399dfb8a72d1b86d418c31f86e018d34529feb2917d3b33c35b6607fc4ad8"},"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"}}]},{"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"}}]},{"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":"5da7a489176c8864afee3a3691e52c4cb8821fd4338b70a13b8da3331c7bc234"},"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"}}]},{"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":"4c5c479fe60cf3633ab2ec69410dd7b3f1f9fa8f85d175eb0d9de1f8b835adc9"},"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"}}]},{"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":"82dee28fa684bb19360ec281414d3d1dfe6ba70aec76d1456517aa92d5b10559"},"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"}}]},{"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":"dd95d6e8e098c2659e4fa0884626f6aac5d9cdb2be2bd1c5a63e591eb28edfaf"},"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"}}]},{"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":"c15e03ac1fa47e87e1db1facbff939b0109157aa1a15ea9510ba7aa38b6e07cb"},"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"}}]},{"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":"160f8e4f73e01d60a8b0f3a55ca62cade4ad4cf4c5bac6b888bcc7b6a7289d91"},"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"}}]},{"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"}}]},{"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":"cdbec602078e3c4ad4c341a49c4f169fa84ff3b8fac6acdd00f5eccb4bdef7bf"},"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"}}]},{"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"}}]},{"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":"72b04bbf243c7b2dfa1dff68b613fc09f6d402bc03f82cbeacb53bd64e620da8"},"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":"a4054d28fac5fac7a2cfd2818b43d06970bcc12a56ea42b660b89ea12e7d89ce"},"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":"0c1ada37558652c4494c3968532443cb582fc3a17e3246a8428070a1c1a1ba45"},"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":"f75ebe4a9794386e3a726ec3b1ec2b3e9e6a49f68ab22f5e23019401cb00d34c"},"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":"906a4c3be2f209a4709bf79dcfd566802b2ebb445680798fadf6009f65995068"},"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":"282a1d3042cdaa1106e8cd5384499329df3b3e9872b1d1886d02c934c50bfc49"},"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":"ad4b5d464c2f041c321cc8a95ff864d0a248819e110bb5f6cee0b14d53066615"},"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":"7e20ca0e296d1564f02e5e7c1fa99a4b915e20aa8666bbe1db2d170b02921320"},"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":"be0ac32558016fb7ca3ba5378c3235733c32d2328827f655db00741e3e5820a0"},"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":"75a01fcb843450b617d2960b1fe919c861a3af158d27e46711ecd6cb72724e2c"},"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":"2a32fc672ddd8ad7b82be70a79bff4223d9ce5ce41bd4f999d2e877f963ab679"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security 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":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b67787f58bbdcde79a43cc08af597219f8bc8ccd5a82b8588a8f7af6b62ec402"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be217444638ac33aa1bd5044cfc99a2e92b284c1cc1654e8220d2ef2ef47944d"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"249ed604ffb2ce220259907c4e7e0c6f770d2dd2e470495b9f870c23d32e1d0f"}}],"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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":40,"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."]}]}