{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"graph.getBoxDrawingChars (cyclomatic 65): graph.getBoxDrawingChars has cyclomatic complexity 65 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/graph/cell.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a89060ee17f99209d79af09d12d8ea65039f8627793f3b4505dbce020fdd7"}},{"ruleId":"D1","level":"warning","message":{"text":"RefreshHelper.performRefresh (cyclomatic 51): RefreshHelper.performRefresh has cyclomatic complexity 51 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 5 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":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf18f8fd7993edea3b315b229b513eadf28ab1a600e13e0e67ac6dfcc713ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewBufferManager.NewCmdTask (cyclomatic 51): ViewBufferManager.NewCmdTask has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 1 of the 51 points is its own statement and the rest belongs to one function literal inside it that branches (line 473). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tasks/tasks.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba121c8a80c2ebaf00fad3634d6030d87bea9c44a53312829d13bf0a0ac336d9"}},{"ruleId":"D1","level":"warning","message":{"text":"Gui.layout (cyclomatic 49): Gui.layout has cyclomatic complexity 49 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 14 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/layout.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc3597f7582859ff9c619803d61f33e29a1bdf18074f7c608e7409f6393d05b"}},{"ruleId":"D1","level":"warning","message":{"text":"graph.renderPipeSet (cyclomatic 42): graph.renderPipeSet has cyclomatic complexity 42 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 7 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":"pkg/gui/presentation/graph/graph.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6074afb0191ee02bf7ca954df2656e95044e01dd25588eece5b4a83dd4a3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"config.KeyFromLabel (cyclomatic 29): config.KeyFromLabel 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":"pkg/config/keynames.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7110e8f11860839cba7709c3f69d4140cef50843b123287e24ae0deb287c0865"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation.getBranchDisplayStrings (cyclomatic 29): presentation.getBranchDisplayStrings 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":"pkg/gui/presentation/branches.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cad920146484c5a5ed5146c12fbd7d384468a1e18613b23d90db276cebf40e"}},{"ruleId":"D1","level":"warning","message":{"text":"app.Start (cyclomatic 27): app.Start has cyclomatic complexity 27 (threshold 15). Of this number, 26 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":"pkg/app/entry_point.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8346ce284e77ff149432aa6c171c3ed31352a002d0e990060bc7f52bc18a003f"}},{"ruleId":"D1","level":"warning","message":{"text":"graph.getNextPipes (cyclomatic 27): graph.getNextPipes has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 5 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":"pkg/gui/presentation/graph/graph.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db532d3562ccd49c5d617bc76dab2d3bdf4c7e21d47449f896f797315c7e041"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.shrinkToContentSidePanelBoxes (cyclomatic 26): helpers.shrinkToContentSidePanelBoxes has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/window_arrangement_helper.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2721f051157aea32986577e5ca6491c17f564faa130cf4b2e1ee321b8ce57e"}},{"ruleId":"D1","level":"warning","message":{"text":"oscommands.StartPty (cyclomatic 25): oscommands.StartPty has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to 4 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":"pkg/commands/oscommands/pty_unix.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6856976ea746f83acecfc59ba2b0a9011f64b97b79a41fa8db1cbb32e3a004fb"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeLoader.GetWorktrees (cyclomatic 22): WorktreeLoader.GetWorktrees has cyclomatic complexity 22 (threshold 15). Of this number, 20 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":"pkg/commands/git_commands/worktree_loader.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafeeb98aa03938f590927319db0285b425598556c509bfa0cf47dad51d32390"}},{"ruleId":"D1","level":"warning","message":{"text":"RefreshHelper.refreshStateFiles (cyclomatic 21): RefreshHelper.refreshStateFiles has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbb20e732d0107b54a120d3e3834be840b064d949769191fda0d99c603ab280"}},{"ruleId":"D1","level":"warning","message":{"text":"Gui.onNewRepo (cyclomatic 21): Gui.onNewRepo has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 410, 385, 447, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d74838e401fc19edc7ee49ee94d3edb5fed7d42adfaa6d65f18e6c1b49e5e4"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation.displayCommit (cyclomatic 21): presentation.displayCommit has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2779ec65d773e4baf4f251739eb00ff74cbc4780473799fc7b0e73f4987f1e3d"}},{"ruleId":"D1","level":"warning","message":{"text":"RebaseCommands.GenericMergeOrRebaseAction (cyclomatic 20): RebaseCommands.GenericMergeOrRebaseAction has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b127a8f87b05231b56e05f2048c7a53e2a5f76fb643dfde0cf84e47c31d6305"}},{"ruleId":"D1","level":"warning","message":{"text":"BranchesHelper.AutoForwardBranches (cyclomatic 20): BranchesHelper.AutoForwardBranches has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 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":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c22c46c08a2cc00d528fd4ce93cbfa4ca61b44e520a1314a08a42fb59abdd"}},{"ruleId":"D1","level":"warning","message":{"text":"config.computeMigratedConfig (cyclomatic 19): config.computeMigratedConfig has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6675a2c3e2f3997e5a13ef746c371545eaa2091c03f240ecce4f7a7c32550373"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation.GetCommitListDisplayStrings (cyclomatic 19): presentation.GetCommitListDisplayStrings has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 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":"pkg/gui/presentation/commits.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7adedd80a7d013cb7c5d3b57b09484a38e5ac6f3b6c2bccb025c34e9c17d76"}},{"ruleId":"D1","level":"warning","message":{"text":"clients.RunTUI (cyclomatic 19): clients.RunTUI has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 47, 59, 120, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c1169b6506425d986235485fcd0ac329147527d622ff884b84c0feadaa7d86"}},{"ruleId":"D1","level":"warning","message":{"text":"App.setupRepo (cyclomatic 18): App.setupRepo has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/app.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"552fabab7b44bd2b5b59fd0a4daa1126a274e003b1322e8cf89fe69887181762"}},{"ruleId":"D1","level":"warning","message":{"text":"BranchLoader.Load (cyclomatic 18): BranchLoader.Load has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch_loader.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3d73f3b1063c35beebefdf62659004e397082a62fb40956b9e46908723b04"}},{"ruleId":"D1","level":"warning","message":{"text":"config.validateCustomCommands (cyclomatic 18): config.validateCustomCommands has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config_validation.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"477af2ca2c72c47b15603ea1c54beabbb100e29fcf4292ba8dc1297abc30f9fa"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation.getFileLine (cyclomatic 18): presentation.getFileLine 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":"pkg/gui/presentation/files.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0838360bf75c7674f317c48bef5c2d56085088f444eb242e463d62725c3bb76d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkingTreeCommands.DiscardAllDirChanges (cyclomatic 17): WorkingTreeCommands.DiscardAllDirChanges has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 198). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"257acee658effaaea539b39da029752e832dac0960ca50e1e964c2dca774cc69"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.infoSectionChildren (cyclomatic 17): helpers.infoSectionChildren has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 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":"pkg/gui/controllers/helpers/window_arrangement_helper.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d8caaaf8414fb0794b155a49c055b9cb10a53347028e415cd5103e0daf8076"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.WrapViewLinesToWidth (cyclomatic 17): utils.WrapViewLinesToWidth has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/lines.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3d2b81aa47066eb05b629b30bc901a6f2f379d54036324afab9d7aa51a88c7"}},{"ruleId":"D1","level":"warning","message":{"text":"config.migratePagersToDiffRenderers (cyclomatic 16): config.migratePagersToDiffRenderers has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 581). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79f8fb1c65722ab8770387e701c78f18bc63cb232847b1e8e974793849c88e2"}},{"ruleId":"D1","level":"warning","message":{"text":"UserConfig.Validate (cyclomatic 16): UserConfig.Validate 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":"pkg/config/user_config_validation.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09775754eced3b30cb1164748c93954f060d3bc7419458d4eab68f7202bfdb6"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.changeBlockStart (cyclomatic 16): helpers.changeBlockStart has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_queries.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e2f711cf96edc9f16526eed22a018baf589a9cade40846e32d273050497f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeAndRebaseHelper.genericMergeCommandImpl (cyclomatic 16): MergeAndRebaseHelper.genericMergeCommandImpl has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736f89a2bb7361aaf59b6a1b3eedd5fbceb6a07fb8bf6bf3b7eabc550d84a90"}},{"ruleId":"D1","level":"warning","message":{"text":"Gui.configureViewProperties (cyclomatic 16): Gui.configureViewProperties has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/views.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7524ed64510e95d99618e423f7f9886d617a0e76859fad30aacfd9d1385c5bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewBufferManager.NewCmdTask (cognitive 87): ViewBufferManager.NewCmdTask has cognitive complexity 87 (threshold 15). Drivers by points: if/else 29 (57 pts), match/switch 8 (16 pts), jumps 6, boolean chains 4, loops 3 (4 pts) (nesting depth added 37). None of this is in the body itself: all 87 points belong to one function literal inside it that branches (line 473). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tasks/tasks.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17a957aaaffb1de05a62794d53d0e093b5a628005798fd2a9d4f5e0f1133585"}},{"ruleId":"D2","level":"warning","message":{"text":"Gui.layout (cognitive 67): Gui.layout has cognitive complexity 67 (threshold 15). Drivers by points: if/else 31 (48 pts), boolean chains 12, loops 4, match/switch 1 (2 pts), jumps 1 (nesting depth added 18). Of this number, 50 points are the body\u0027s own statements and 17 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/layout.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa9885add7122732ade417a5e2294b1f65ae2e316ba858f5770f03e585fdb0"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshHelper.performRefresh (cognitive 65): RefreshHelper.performRefresh has cognitive complexity 65 (threshold 15). Drivers by points: if/else 44 (54 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 11). Of this number, 58 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac89775bcededacc2b4171d21d4b28184a99983c3c3e07748de92014a244baac"}},{"ruleId":"D2","level":"warning","message":{"text":"graph.renderPipeSet (cognitive 61): graph.renderPipeSet has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (32 pts), loops 12 (20 pts), boolean chains 9 (nesting depth added 22). Of this number, 53 points are the body\u0027s own statements and 8 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":"pkg/gui/presentation/graph/graph.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef7ade32641a04ee69642bad02d29926f498e27f4b3cdaebc53f9364e2eec33"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation.getBranchDisplayStrings (cognitive 50): presentation.getBranchDisplayStrings has cognitive complexity 50 (threshold 15). Drivers by points: if/else 31 (47 pts), boolean chains 3 (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":"pkg/gui/presentation/branches.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e59133f497de78dc68db5268942d50404d1d6ed12f41af5c8f902928bd0479"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.shrinkToContentSidePanelBoxes (cognitive 42): helpers.shrinkToContentSidePanelBoxes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 9 (13 pts), boolean chains 5 (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":"pkg/gui/controllers/helpers/window_arrangement_helper.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bff15bed474f7285a172cd59a672e329d343c64cc57f95f95ed46fa6efe233"}},{"ruleId":"D2","level":"warning","message":{"text":"graph.getNextPipes (cognitive 39): graph.getNextPipes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 10 (13 pts), boolean chains 4 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 11 belong to 5 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":"pkg/gui/presentation/graph/graph.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a133ddc1777477712ade2af506c2f2ab14580789710a70ebd6fafe56a6c778"}},{"ruleId":"D2","level":"warning","message":{"text":"config.KeyFromLabel (cognitive 36): config.KeyFromLabel has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/keynames.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcec601bef65009bd8b05da01f7627e4b2c90c1aff310cb8b896412e5c5bf1ae"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshHelper.refreshStateFiles (cognitive 36): RefreshHelper.refreshStateFiles has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 15). Of this number, 26 points are the body\u0027s own statements and 10 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":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"315030df44a61820e89a61548136a00d2fa1be35206b7d75a86e8dbdb2a5a6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"app.Start (cognitive 35): app.Start has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (33 pts), boolean chains 2 (nesting depth added 9). Of this number, 33 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":"pkg/app/entry_point.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"261baf75fb0b31d83c20a5853c0e3c9876ff22774063abfdf26e0cb169e3815d"}},{"ruleId":"D2","level":"warning","message":{"text":"config.validateCustomCommands (cognitive 34): config.validateCustomCommands has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config_validation.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a198451b2e1aa3bdeef7a948b30098aa2c07d3b6eddfeab8120d0487f475b3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation.GetCommitListDisplayStrings (cognitive 34): presentation.GetCommitListDisplayStrings has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 4, loops 1 (nesting depth added 16). Of this number, 29 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c2065bb072774b2da050d3e439eecab9b1b043ada80e4ea813653db890f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.WrapViewLinesToWidth (cognitive 34): utils.WrapViewLinesToWidth has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/lines.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9698795c655d1f17f4f37b855518708f942e13aa60876b0ae92e4d586b281e"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeLoader.GetWorktrees (cognitive 33): WorktreeLoader.GetWorktrees has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 6, boolean chains 1 (nesting depth added 11). Of this number, 29 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/worktree_loader.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b457895b871719c855765f71d15a101d1fffe8f8736f351bde63c569b7d2fe45"}},{"ruleId":"D2","level":"warning","message":{"text":"BranchLoader.Load (cognitive 32): BranchLoader.Load has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 4 (7 pts), jumps 1, match/switch 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":"pkg/commands/git_commands/branch_loader.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3507bed6d34f5cee45b6ab4958da6c66e4f51b9d6e9ecd62b61a2ef570eb95"}},{"ruleId":"D2","level":"warning","message":{"text":"graph.getBoxDrawingChars (cognitive 32): graph.getBoxDrawingChars has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 16, if/else 16. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/graph/cell.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f32ba79cdf7e361d57ad4bc6baf50fa967640d18287b0e6a853b58dff41d4"}},{"ruleId":"D2","level":"warning","message":{"text":"config.loadUserConfig (cognitive 31): config.loadUserConfig has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 1 (3 pts), 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":"pkg/config/app_config.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1286d0f13e8cf5b50275a2c28ccd3981da01b1e5be7895c2c31010e9255bb"}},{"ruleId":"D2","level":"warning","message":{"text":"App.setupRepo (cognitive 30): App.setupRepo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/app.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e806bb37a2c332ef9d3802dbccd735e751ea60c6f6c7e92bf6fe2528dca1be5e"}},{"ruleId":"D2","level":"warning","message":{"text":"FixupHelper.blameAddedLines (cognitive 30): FixupHelper.blameAddedLines has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 2, boolean chains 1 (nesting depth added 13). Of this number, 17 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/fixup_helper.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdaa907f00210a8203170cf8491b46ead0b75848ad4a95400f418b620dd1433"}},{"ruleId":"D2","level":"warning","message":{"text":"Gui.onNewRepo (cognitive 30): Gui.onNewRepo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 1 (nesting depth added 10). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 410, 385, 447, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded16880b08e326125055df0894c2616df0ecde00a70fdfaab40fc41e02abb2f"}},{"ruleId":"D2","level":"warning","message":{"text":"oscommands.StartPty (cognitive 27): oscommands.StartPty has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24 (27 pts) (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/pty_unix.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb98416d8f3c283d13898bad6d604092be5e9e5db87e4b0ea63f6fedfb4256f"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlerCreator.call (cognitive 26): HandlerCreator.call has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 48). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/services/custom_commands/handler_creator.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8964be81eef17f59ee00cd673bd6e9e7bfddbfeab1839438e9934ba3e8475c3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkingTreeCommands.DiscardAllDirChanges (cognitive 25): WorkingTreeCommands.DiscardAllDirChanges has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, loops 2 (nesting depth added 9). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 198). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5343dfc3fc3a328d57c001389e4260dd0352f33c6dbdca912b4115cd2663f43"}},{"ruleId":"D2","level":"warning","message":{"text":"oscommands.CopyDir (cognitive 25): oscommands.CopyDir has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, loops 1 (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/copy.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4109c3ff9efaea423ff64e4f7aaab1fbe5037b78f54589a5399f3ced2f1c1d71"}},{"ruleId":"D2","level":"warning","message":{"text":"config.changeCustomCommandStreamAndOutputToOutputEnum (cognitive 25): config.changeCustomCommandStreamAndOutputToOutputEnum has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4 (nesting depth added 10). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 450). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"459ed7cee6c5bfa502a0ddb797911ba0e06ad36be547ca56ceb311e42b4006ca"}},{"ruleId":"D2","level":"warning","message":{"text":"config.migratePagersToDiffRenderers (cognitive 24): config.migratePagersToDiffRenderers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, loops 1 (nesting depth added 7). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 581). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9399d5eff579574019db4d945a4458911f8e9d6e0a1228a8f6870743f4473"}},{"ruleId":"D2","level":"warning","message":{"text":"patchTransformer.transformHunkLines (cognitive 23): patchTransformer.transformHunkLines has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, 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":"pkg/commands/patch/transform.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae9b1556096cfe24b2d9e9a83d5895e16232006e40d7722a92eadb10eac6f14"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffLineHelper.PlainDiffOfSelection (cognitive 23): DiffLineHelper.PlainDiffOfSelection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_plain_text.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c7aec0b5c26de9cb4c4d12b5126c11b4d98ed1ed5e4646ab4f7738a3a8c23c"}},{"ruleId":"D2","level":"warning","message":{"text":"UndoController.parseReflogForActions (cognitive 23): UndoController.parseReflogForActions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/undo_controller.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b60313bda79cae702de4006b5f2bb178e14ed8e6d8266d027145141e52973a6"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkingTreeCommands.removeEmptyDirs (cognitive 22): WorkingTreeCommands.removeEmptyDirs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 12). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd594c03481dc4974f45fabca21d80366e1b8757223b1b152ded7fae8a1715eb"}},{"ruleId":"D2","level":"warning","message":{"text":"config.computeMigratedConfig (cognitive 22): config.computeMigratedConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cf2102869212309736bb613ce61c818470bdfc6a97577bb41c4d5469c51ebd"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation.displayCommit (cognitive 22): presentation.displayCommit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"pkg/gui/presentation/commits.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69a99309d32b4e449a51e55c429da8c61e371fd8fb465ce9212a83720c0f49d"}},{"ruleId":"D2","level":"warning","message":{"text":"config.validateDiffRenderers (cognitive 21): config.validateDiffRenderers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config_validation.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f9394dc7ac547702f38c4ca277f46b39635af5c88ef7b14a8356894a4dc256"}},{"ruleId":"D2","level":"warning","message":{"text":"context.NewLocalCommitsContext (cognitive 21): context.NewLocalCommitsContext has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2 (nesting depth added 9). None of this is in the body itself: all 21 points belong to 2 function literals inside it that branch (lines 201, 166). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/local_commits_context.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22c790d4b15cc03dd3b749615d88fcd239ceba1d7eb6796d17a99dde3072e0"}},{"ruleId":"D2","level":"warning","message":{"text":"BranchesHelper.AutoForwardBranches (cognitive 21): BranchesHelper.AutoForwardBranches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8923946d54b86c4443b440daaa13747f9024d8d75f4ee4c5aaea601c167f594e"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation.getFileLine (cognitive 21): presentation.getFileLine has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/files.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed35b349c8e2b2ef2237554344caf9a69c03a5b822186bd745e1e0593f8b0fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"app.layout (cognitive 21): app.layout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdc5f1085f538e6a032905c4dbb24fdc90029d54ab1ba29f4f527a6618e46ff"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkingTreeCommands.DiscardAllFileChanges (cognitive 20): WorkingTreeCommands.DiscardAllFileChanges has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8d24216e1883ba08d9cd5e230bb19f7dbc67d9c8d32048b514ccb8e3945755"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdObjRunner.processOutput (cognitive 20): cmdObjRunner.processOutput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/cmd_obj_runner.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d342d47ff7dd09150be27be31391cf518da3a5f502044a5c851d155d6c7b6"}},{"ruleId":"D2","level":"warning","message":{"text":"config.validateKeybindingsRecurse (cognitive 20): config.validateKeybindingsRecurse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config_validation.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f6fc0b49754279fc24593b60f75edb54533b995348aa1b5727b0f78b39e3a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMgr.pushToContextStack (cognitive 20): ContextMgr.pushToContextStack has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0921820a0478fdbd5968df15e14a9dd415c13b9e496fcbd5a7f35b9287cb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomPatchOptionsMenuAction.Call (cognitive 20): CustomPatchOptionsMenuAction.Call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/custom_patch_options_menu_action.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b8cf7f15d1e942110c79567cea9e7fb5e6436fefde859a8a985d23aefedb0f"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.infoSectionChildren (cognitive 20): helpers.infoSectionChildren has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/window_arrangement_helper.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ded62efa80256acf557e1ae724d3bac251432b90177483b01cd40f9a80f018"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewDriver.assertLines (cognitive 20): ViewDriver.assertLines has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, loops 2 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45debf35e44c28ab716d1df22bac55cf4c058d018ccf60188eb38882b35384d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLoader.getHydratedTodoCommits (cognitive 19): CommitLoader.getHydratedTodoCommits has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 3 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 7 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":"pkg/commands/git_commands/commit_loader.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f9abbe52558bf406aad216f3d0a1ece9e478cfd407ec143e648baaf79b8a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"RebaseCommands.GenericMergeOrRebaseAction (cognitive 19): RebaseCommands.GenericMergeOrRebaseAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, match/switch 1 (2 pts) (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":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f52b62561f5d644ea05ebcef3e239acba6129a6906653e9f7f2633f6f4adad"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdObjRunner.runAndStreamAux (cognitive 19): cmdObjRunner.runAndStreamAux has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 pts) (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/cmd_obj_runner.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc781ab6abdad654bafaec7ef8dd906ca494a6b1fa6f5d0471d483fc9d82d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"filetree.BuildTreeFromCommitFiles (cognitive 19): filetree.BuildTreeFromCommitFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), jumps 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/build_tree.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3765e1f06202b93a35e62b4c438d1bc0767a610056e2b5480570f27c3ddd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonschema.inlineSharedStructDefinitions (cognitive 19): jsonschema.inlineSharedStructDefinitions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (6 pts) (nesting depth added 9). 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":"pkg/jsonschema/generate.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e67e097811d627a538f5371e2087dd983249f3a7ef3001b1be7d2825fb15d"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchCommands.MovePatchToSelectedCommit (cognitive 18): PatchCommands.MovePatchToSelectedCommit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (18 pts) (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/patch.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a6cdd8aff39372b8eb4c250ee5c2490ab320c2ec56f6fe7e88d5999e8f80e"}},{"ruleId":"D2","level":"warning","message":{"text":"config.LabelForKey (cognitive 18): config.LabelForKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/keynames.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1edfa9d8991570bdf47d5235931ca976e8d898bf6f6041262bb6dc53f18c9"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.changeBlockStart (cognitive 18): helpers.changeBlockStart has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (7 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_queries.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d59a30fe76b8d948716af61b40a6b4acd69f0122aff717334cb7c6fbebf332b"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.sidePanelChildren (cognitive 18): helpers.sidePanelChildren has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 427). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/window_arrangement_helper.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff19a2442a7a7d47ae5f0fa97d2ffda2c4d8993d2a15f619098dc9b17fafc6e"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshHelper.refreshCommitsWithLimit (cognitive 18): RefreshHelper.refreshCommitsWithLimit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 879). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"c647df28f3a39dfb525e7c06eb268f973bbc2663d1442f867019871db085ddb5"}},{"ruleId":"D2","level":"warning","message":{"text":"SuggestionsHelper.GetFilePathSuggestionsFunc (cognitive 18): SuggestionsHelper.GetFilePathSuggestionsFunc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts) (nesting depth added 9). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 122, 157). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/suggestions_helper.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f449bc8ac99e426598a9df35ab15a892bf0d85f7d5556717b24d1945b4b672e4"}},{"ruleId":"D2","level":"warning","message":{"text":"filetree.BuildTreeFromFiles (cognitive 18): filetree.BuildTreeFromFiles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), jumps 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/build_tree.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5593edacde42fe481f18cb7beec771685ff562f4b6516a76e86eb21067fba0"}},{"ruleId":"D2","level":"warning","message":{"text":"Gui.RunAndHandleError (cognitive 18): Gui.RunAndHandleError has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 1039). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55b516f1015694f4c8d454d19bdb0b26067778e57e4b5cf3cbf601a19bddd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.showCustomCommandsMenu (cognitive 18): Client.showCustomCommandsMenu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/services/custom_commands/client.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"58425ea696e1c79bc95744952222abe99ac646a58df923cc8221aa485ddb7603"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlerCreator.finalHandler (cognitive 18): HandlerCreator.finalHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 306). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/services/custom_commands/handler_creator.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e96dffbb7e7c1a20524915f6d88945f65bd1e2cc9915704db4977206affe2e"}},{"ruleId":"D2","level":"warning","message":{"text":"clients.RunTUI (cognitive 18): clients.RunTUI has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 47, 59, 120, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8284dda5fac96e42177c240c19dd820ad597568b2f4666eed7bb70e5ffde0b"}},{"ruleId":"D2","level":"warning","message":{"text":"RebaseCommands.DiscardOldFileChanges (cognitive 17): RebaseCommands.DiscardOldFileChanges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6fd48ba68d209552ed481b5da7494d9a3cbff5921a536a8dddfa41adb31b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundRoutineMgr.startBackgroundRoutines (cognitive 17): BackgroundRoutineMgr.startBackgroundRoutines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/background.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4297d6f14c4c48896ee2725614a0fe1083c2a0fe94e0a6e4cd1071aa0af149ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeAndRebaseHelper.genericMergeCommandImpl (cognitive 17): MergeAndRebaseHelper.genericMergeCommandImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (nesting depth added 3). 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":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5754c91b9f07530148f160e44856e5d10729edc6c5ec266936056dc7ca80297b"}},{"ruleId":"D2","level":"warning","message":{"text":"theme.GetTextStyle (cognitive 17): theme.GetTextStyle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/theme/style.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"da53f7c28aa0aca52d66cbe0a08cc609853dab4997ca3af822d2b56138922632"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchCommands.WriteCustomPatchDiffTrees (cognitive 16): PatchCommands.WriteCustomPatchDiffTrees has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"pkg/commands/git_commands/patch.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa271d4e48b5190dfc792cacfc725f3a8a3cb71286a8c9b40a72e332acaf001"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchCommands.MovePatchIntoIndex (cognitive 16): PatchCommands.MovePatchIntoIndex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). Of this number, 10 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":"pkg/commands/git_commands/patch.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"67751035f2bb35690ac6a1c9d98801caeaf19e8b16e62eb77dd30fd95ccae266"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.getExplodeImage (cognitive 16): controllers.getExplodeImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/workspace_reset_controller.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb7ce35f177982f3c6eb7b582e2cffa57392b1316f02075c759b41603a981c4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitDiffActions.removePatchLines (cognitive 16): CommitDiffActions.removePatchLines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commit_diff_actions.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9eaa53dfbb9d474bc13ab31ba453aa021b5c537cfbad937da968516dbaa827"}},{"ruleId":"D2","level":"warning","message":{"text":"Gui.keepDiffSelectionAcrossACommitRewrite (cognitive 16): Gui.keepDiffSelectionAcrossACommitRewrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/main_panels.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedf3cbb1de55adbf68c51824690187e71e93fd5c94d9e50951975ce132d2e23"}},{"ruleId":"D2","level":"warning","message":{"text":"components.RunTests (cognitive 16): components.RunTests has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 67). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/runner.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84003d68638ea61ad95a4d4c539537229f2639bd45a64d91506cf00ffded752"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewDriver.ContainsLines (cognitive 16): ViewDriver.ContainsLines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 211). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5502f02ce010f407f3b5e867877a341968470abf065b42cfbeb9f11176227c0"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.excludeBlankColumns (cognitive 16): utils.excludeBlankColumns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 5 (7 pts), boolean chains 1, jumps 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":"pkg/utils/formatting.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"68de3f4429f9cfb864c2a0daa020efa78fe6926cdfbb0b516e47fee83ed5515b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TranslationSet: TooManyFields \u2014 1041 stored fields. The bar is 30 stored fields; this is 1011 over it, 34.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af343509029d3c885b4261d7aa2f70defea485bb442001aad547aa7f1d3544f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: i18n.EnglishTranslationSet: FunctionTooLong \u2014 EnglishTranslationSet runs 1207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1107 over it, 12.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eab9015b6af4ede2f20bcba0b1c103177ac4bc93315916bb4334de5451972cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Gui: TooManyMethods \u2014 165 methods, declared across 21 files: gui/gui.go (35), gui/global_handlers.go (21), gui/main_panels.go (21), gui/editors.go (11), \u002B17 more file(s). The bar is 30 methods; this is 135 over it, 5.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0332749c8108e0c058de2511db6a38410a08df1d954513172e8b3b2b2dc6f1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: i18n/english.go: FileTooLong \u2014 2412 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1912 over it, 4.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56565e11932c0231c999167a8d0eb72581fbc66e68e14ccf9e840c2c0c4261bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Actions: TooManyFields \u2014 124 stored fields. The bar is 30 stored fields; this is 94 over it, 4.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"51abe58e87adbe25e76d84752d87263d320ff6777c9c1b37ca6d71b5ba1613ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.GetDefaultConfigForPlatform: FunctionTooLong \u2014 GetDefaultConfigForPlatform runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config.go"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6ece9550600af0cf37426cabac6b860e13399443bb5f061eb5b32e17fcb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KeybindingUniversalConfig: TooManyFields \u2014 84 stored fields. The bar is 30 stored fields; this is 54 over it, 2.80\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"003c9a4c10754649abc40c70ac998fdf5de756dfae946a488533302b3877bf26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalCommitsController: ClassTooLong \u2014 1117 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods, 84 blocks, lines 51-2061. The bar is 400 significant lines; this is 717 over it, 2.79\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a43f1d8cbcaa9e0668214b322568a5f7f4d88752521a4f53b3a225caefd0d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalCommitsController: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b126c090661e2673065edda9ca39b541df9c73987e4beeb52fddda95f35937"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilesController: TooManyMethods \u2014 81 methods, declared across 2 files: controllers/files_controller.go (78), controllers/workspace_reset_controller.go (3). The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca15ec86281a5569fa8a85283ea52aef622cd8837759e1711c8f016c8651e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gui.resetHelpersAndControllers: MethodTooLong \u2014 resetHelpersAndControllers runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ae9ff13468d12634ede6234a2d4638c159927c5fdafe7f58f934180ea112db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesController: ClassTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods, 79 blocks, lines 21-2039. The bar is 400 significant lines; this is 650 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e28202bf82c1d74f2b1c84618dd7c211198099c2404ac54c770c6b874014f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranslationSet: ClassTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 642 over it, 2.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a843e066a3bfd77cbc602cc62e5b5f3b3295e8ee9de3e030f5e6e1661546e0d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ViewDriver: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"739da28cdf0320e7915165c1d6ce3acb709eb7758f403eeea60e62fa760f3a25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/local_commits_controller.go: FileTooLong \u2014 1236 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: LocalCommitsController (84 blocks, 51-2061). The bar is 500 significant lines; this is 736 over it, 2.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114a0daf2ffb98be3adf321a3c07c7ee581a5bd19ab04571de268c06d1d7817"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainViewController: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/main_view_controller.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40bc2fa09de89fae0a827ba50dc022bf08c42134553307bbe705e09f0d58746"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/files_controller.go: FileTooLong \u2014 1160 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FilesController (79 blocks, 21-2039). The bar is 500 significant lines; this is 660 over it, 2.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e360374bc3ddf453a9b2cdaf0a678eb9359a49050478a843f911cea3c733415"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiffLineHelper: TooManyMethods \u2014 65 methods, declared across 8 files: helpers/diff_line_queries.go (17), helpers/diff_line_selection.go (14), helpers/diff_line_restore.go (12), helpers/diff_line_helper.go (9), \u002B4 more file(s). The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_helper.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7978f35f7d325ec6823b01018f6ac3458863c40380e0500db6687e680d202c81"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: GuiConfig: TooManyFields \u2014 63 stored fields beside 2 methods. The bar is 30 stored fields; this is 33 over it, 2.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"201cfacb43eed417badbb06ff7b12923b3ecb66858869d92c82e9d1ab4a1a036"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shell: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/shell.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9784fe626eb2abd0b621ca6e0548123c0b40a01898e76e58dce11a22ef909504"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helpers/refresh_helper.go: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: RefreshHelper (48 blocks, 29-2034). The bar is 500 significant lines; this is 485 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24a731782a21525ee4409d12dc924642c50e047c784044bef5983cc0ac4cf72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefreshHelper.performRefresh: MethodTooLong \u2014 performRefresh runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5815611c07a125ffdce1921674eba27228801cc6729d30c6d6d9fe0e03e1dfd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RefreshHelper: ClassTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, 48 blocks, lines 29-2034. The bar is 400 significant lines; this is 347 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eeba834ff9cd9db99f59a896adeb3720998c302d3979eb83c0d35050d48d96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ViewBufferManager.NewCmdTask: MethodTooLong \u2014 NewCmdTask runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tasks/tasks.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d72be40a40480b0e24ce419d343c04dd53a69588aa5f595374dff3acf1a20a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: guiCommon: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. Most of these members implement types.IGuiCommon (48 of 50 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui_common.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"10afc6589a2190ded9fd8c35cd47b8c8bece9790c018d10eed5df29bbec53386"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gui.GetInitialKeybindings: MethodTooLong \u2014 GetInitialKeybindings runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/keybindings.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"700e483e6c925338aff564e223dbd26226686fb2439c9656dcb28050d202d159"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RefreshHelper: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0430be997eab7292cebb3719bb9aa614be95bc0ff71bbbacd3782c41b76bc4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/gui.go: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: Gui (36 blocks, 62-1371). The bar is 500 significant lines; this is 263 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acd4adb83cd46feab9a8de3fc74adc2533a65bff0125abc9d61ae14f3fa0dd2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainViewController: ClassTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods, 70 blocks, lines 19-1195. The bar is 400 significant lines; this is 208 over it, 1.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/main_view_controller.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b1fd17d2cacecbc282a69e35d481b3d95476b3097e2e7ea8f4ed15adc573f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/user_config.go: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 260 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a5bd77e1e15d0ff4b5d98c9ff2b4698b6284b2f2ee9fe58493fb3a63dfb3cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkingTreeCommands: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700fad3e673b367aaa4d8afba626df4d1ac414dadf73874fe5ebf8bd641d71b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalCommitsController.GetKeybindings: MethodTooLong \u2014 GetKeybindings runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b372f58bb11cbadb8492de51a7a2b4ea45442532f395d29ca001c0f2e115480"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainViewController.GetKeybindings: MethodTooLong \u2014 GetKeybindings runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/main_view_controller.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0aebb49c99ddabb4fa5f033039a44cee24c42e5d1e936b63bee1c4f8d95a04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Gui: TooManyFields \u2014 40 stored fields beside 165 methods. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eb52a8f8259f6fedc1141311e0dbe2309aacc30de7b01c9404fac166fbd60d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ViewDriver: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods, 78 blocks, lines 12-1043. The bar is 400 significant lines; this is 132 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3a3b136cd9caeb7446435e6900931aa11ab602e26e2197816f037a03bf48ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/main_view_controller.go: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: MainViewController (70 blocks, 19-1195). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/main_view_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d41063a0e9ed60a8f945e798bb9ad059e9dcf60d9c1bf354f8240b1927c75"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BranchesController: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods, 38 blocks, lines 18-895. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d661ae7cf09acb615da0b5c0a83b3385607d27bcd2bd4aabbe978e50abf6d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gui: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 165 methods, 36 blocks, lines 62-1371. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0d0dc5207595e802a03c79be0b9e68e7789972c6affa84bf8d630cabb14ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GuiDriver: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. Most of these members implement types.GuiDriver (32 of 38 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui_driver.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba9548465831b6e0f0465e81b4cb3fb1a7584c6001d26d980889a2df4bded7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gui.layout: MethodTooLong \u2014 layout runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/layout.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba8120de4460dd3043243bc84c88d73bea1f178b370a861222d0915f0a5070"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebaseCommands: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ccf840ec98b69cb1e075b3d09f0935ba560c70f5451420a29c58c379141843"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BranchesController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8516c6121f12afc27d04e838de5367fc7105fea06c03a7c426c20351ffed3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presentation.GetCommitListDisplayStrings: FunctionTooLong \u2014 GetCommitListDisplayStrings runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"051258863a2c6b4d5b262a44ce85efba872781c0b189f65958198483a1d9a9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesController.GetKeybindings: MethodTooLong \u2014 GetKeybindings runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5bc81f0d628cdc5e29ba97bd4b2b2c1fed1fcf25ca0873894d7286e7fa2038"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Helpers: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/helpers.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4732dcc910bdf7e1a4631f06ad170ccfe3e3a33c7963b3f6954e0f409ac7c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Views: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/types/views.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1644113d30f9a5f00da611f87b5cb7bc5e16be0d1af0349adefd49ef9ef9e986"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BranchesController.viewUpstreamOptions: MethodTooLong \u2014 viewUpstreamOptions runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b73c7e02b6af27cd7e00b6eb992f007db4f50839910b1fdcb889d2df989c8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/branches_controller.go: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: BranchesController (38 blocks, 18-895). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0206c88a5c4d578bdb1857ab588885df7e6739ee342700ea466ae4a79183fce1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/app_config.go: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4c9eab38879e05e4a3a3cee3fec902413d66271a187434e6e0d06dd4d7dd1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BranchCommands: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5884a9849266e8e2e28633a550b27954307433ded74e638d2f88eb03e9d101a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseContext: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/base_context.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f927441dfca3c212a44bb52a5b04bcd999fd6ad6342f13b41a1ba2f134b7dbf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ContextTree: TooManyFields \u2014 33 stored fields beside 1 method. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/context.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4d4accadb18a7b8370c99acd172880fdea6f1aefc9c4352b3d7474502063ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BranchesController.GetKeybindings: MethodTooLong \u2014 GetKeybindings runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b5a8cefef71d5bdbb1a28585980f7628abe779d3f83d70ffe48497a494e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/view_driver.go: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ViewDriver (78 blocks, 12-1043). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f012dfe5105bf66d7f3ad7810391cc85fa58712416bc0d9f729fe3833105e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: context.NewLocalCommitsContext: FunctionTooLong \u2014 NewLocalCommitsContext runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/local_commits_context.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c9f763f6e77843a216f4ac2c781f5cf3b5550c81de9506dea38a9e502af8d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CmdObj: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/cmd_obj.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c85d8c63b25c5bf341e4a6d3a1fe2c757d5e1fdde6c25141d65725dbfe71360"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesController.createResetMenu: MethodTooLong \u2014 createResetMenu runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/workspace_reset_controller.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf659c1aec9f6d991c761924fc4d284e2dcd96358702eb09848dee10a7f22ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BranchesHelper: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods, 28 blocks, lines 18-768. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"68221e49b733b1b8d6e104fccc99efa11ef8644fa1184b95b90c6588b92bfebb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.getPreset: FunctionTooLong \u2014 getPreset runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/editor_presets.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08908bfe48a677fabf3271dd0f097d9d2c751ac43dc1c328eb138adb948b9d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clients.RunTUI: FunctionTooLong \u2014 RunTUI runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae547965d2a1bf7374ee1c52e420f889265777332f72525bb749d19512ff0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/gui/controllers/helpers/branches_helper.go:30-58 | pkg/gui/controllers/helpers/branches_helper.go:107-173 | pkg/gui/controllers/helpers/branches_helper.go:379-394 | pkg/gui/controllers/helpers/branches_helper.go:399-414 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa858edea21f2435ea9b2a5dd2001e8288e4524dea1d17b0ad6b5569f95ddaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): pkg/gui/controllers/commits_files_controller.go:239-331 | pkg/gui/controllers/files_controller.go:1475-1580 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"068d09ec82ee22cf894c16562f0b3af873b5a3b102a45ae55c96d2380578be59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): pkg/gui/context/branches_context.go:19-61 | pkg/gui/context/reflog_commits_context.go:26-69 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/branches_context.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360f3fb3196d033e057410e26a500bb3a1c36529a70d899bc64b16da5f71d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/gui/context/commit_files_context.go:53-95 | pkg/gui/context/working_tree_context.go:27-62 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/commit_files_context.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fba775106883a8325c970c4fcb83a55dbb9c180d292c23d8d781826cbeb61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/gui/controllers/quit_actions.go:49-92 | pkg/gui/controllers/quit_actions.go:132-168 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/quit_actions.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1938b58dfe08316c50f6d9bcee58dda4ceaa02c17b30e0f703063b104b8b282c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/gui/controllers/helpers/refs_helper.go:530-562 | pkg/gui/controllers/helpers/refs_helper.go:564-598 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refs_helper.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d2171d4c5fcbff210feb2bbfdbc71096d7887935c3c2b98d374618d5cc5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/gui/controllers/helpers/confirmation_helper.go:444-460 | pkg/gui/controllers/helpers/confirmation_helper.go:462-484 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/confirmation_helper.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e348dfd72c79110da5f29960f75ddf61e472700b8f4eb0848c90275187d355aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/gui/controllers/local_commits_controller.go:1366-1387 | pkg/gui/controllers/local_commits_controller.go:1389-1409 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d559802473ee6fc44b76040f47bfc701b14191a629c404e644c468dd748de6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 30\u002B corresponding lines): pkg/gui/context/remote_branches_context.go:23-55 | pkg/gui/context/remotes_context.go:19-49 | pkg/gui/context/stash_context.go:26-55 | pkg/gui/context/submodules_context.go:16-45 | pkg/gui/context/tags_context.go:21-53 | pkg/gui/context/worktrees_context.go:16-48 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/remote_branches_context.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"98be6ad36da0d387c42ff1866a9a77a36e2242f3a23df4b494d5e04b92848eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/gui/presentation/files.go:330-355 | pkg/gui/presentation/files.go:357-383 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/files.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a8704ba13df1a5a690ed08d0a55c62b04547ce915ba9d62dbb41624e419b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/commands/git_commands/version.go:31-61 | pkg/gui/types/version_number.go:19-41 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/version.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ab8d590bc87a04b28161634e0853b3c7f6c805539b0ac572896223152eafa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/gui/controllers/local_commits_controller.go:1975-2001 | pkg/gui/controllers/local_commits_controller.go:2003-2031 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337a8b9b70b5a15650ffe8f184938c9813f682363071e02abf58003e21d5965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): pkg/gui/controllers/helpers/merge_and_rebase_helper.go:512-528 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:539-559 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:570-586 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad829349e26f8127b7e4d7d3ebf2b006f8d2b45276f12d0512d8b7d21584dfec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): pkg/gui/controllers/reflog_commits_controller.go:60-84 | pkg/gui/controllers/stash_controller.go:87-115 | pkg/gui/controllers/sub_commits_controller.go:40-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/reflog_commits_controller.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1425d303291739cf1ee4cd392f69ed3f80a431644a2ada5ab771049c7a29a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/gui/controllers/side_window_controller.go:47-69 | pkg/gui/controllers/side_window_controller.go:71-93 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/side_window_controller.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dac3f8f7b1dd56eca525bd32465fc6e275233ec2ac2ae7816ae931ea3a523c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/tags_controller.go:177-188 | pkg/gui/controllers/tags_controller.go:190-205 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/tags_controller.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fab7c37d76e0dd3834baf423ecc6321646c21d03eead218f2fa012c1e7870e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/commands/patch/patch.go:130-153 | pkg/commands/patch/patch.go:161-184 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db858f3cc9fcfc9c26252b3b104e8eb3e3eabcf7b02a0fe5e1465b44f07c2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/gui/presentation/remotes.go:36-55 | pkg/gui/presentation/tags.go:36-53 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/remotes.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a138b2a1e987cd3b5f04013010fc162ccc81bfe0b3b58a01dd239decdb836af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/gui/controllers/commits_files_controller.go:158-180 | pkg/gui/controllers/files_controller.go:229-251 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e79e43db78f1d0d9b77651e9714ff02f63a0e4defb3782ab810ab1f096a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): pkg/gui/controllers/remote_branches_controller.go:114-135 | pkg/gui/controllers/remotes_controller.go:101-125 | pkg/gui/controllers/tags_controller.go:102-124 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/remote_branches_controller.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25a101ebd2653e5ea6f98eb0e3d488695501604e4ce2c6f719ef52c69e3844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/integration/components/view_driver.go:282-312 | pkg/integration/components/view_driver.go:443-467 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236605ce07194b6388fa855e6c6dc1d8902fc6cc19fc144f39b55f9367504b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/gui/controllers/branches_controller.go:682-696 | pkg/gui/controllers/remote_branches_controller.go:153-166 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b4c3ec2a796093c8f2e2154da54a941299174b8ccdb93ee8fbda276ab4db51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/commands/git_commands/branch.go:366-388 | pkg/commands/git_commands/branch.go:400-425 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddbf1e7288ba942e8b2f9512be83392a549fd3a71fc7bdda3dee8b027b8dfab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/gui/controllers/workspace_reset_controller.go:34-54 | pkg/gui/controllers/workspace_reset_controller.go:162-177 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/workspace_reset_controller.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a347f29e88aa78193c4f45df14bfb4021a8e25be502fc8fb4256fe221a1199c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/gui/controllers/sync_controller.go:143-157 | pkg/gui/controllers/sync_controller.go:307-321 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/sync_controller.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c53ffafe5c304f7bb5e673212776273372fd00cf9dcfdd544ac281f3d725a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/commands/git_commands/working_tree.go:401-418 | pkg/commands/git_commands/working_tree.go:476-491 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb5468730d0fee74dd36c4fee667969016f7798f0fffa758ff133966f097fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/helpers/refresh_helper.go:784-796 | pkg/gui/controllers/helpers/refresh_helper.go:1073-1083 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"695eec35d2929e291be70ee3cdc0412e958de8efd1d2e1083f5233c5c641c7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/helpers/worktree_helper.go:271-282 | pkg/gui/controllers/helpers/worktree_helper.go:287-298 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/worktree_helper.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c633175577d24cf75885ccf86c3efae9f798a66a02c0931fd4dd001b3cbd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/gui/controllers/custom_patch_options_menu_action.go:140-148 | pkg/gui/controllers/custom_patch_options_menu_action.go:150-159 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/custom_patch_options_menu_action.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4b6f27f0fad5984370fccaf5af45cc9d856def78a7184142c1cb2286f6dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/bisect_controller.go:256-266 | pkg/gui/controllers/bisect_controller.go:274-284 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/bisect_controller.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbe4affb84a0b3618bd4c7215c835606c45a34f794f60c95e083035f55d6913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/helpers/merge_and_rebase_helper.go:742-756 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:758-769 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d5bc5b9e9435cb5d61427e840f6eb0a52adc8499044db26d193c14e5c47a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): pkg/gui/controllers/submodules_controller.go:207-218 | pkg/gui/controllers/submodules_controller.go:227-236 | pkg/gui/controllers/submodules_controller.go:243-251 | pkg/gui/controllers/submodules_controller.go:258-266 | pkg/gui/controllers/submodules_controller.go:273-281 | pkg/gui/controllers/submodules_controller.go:289-300 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/submodules_controller.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e43610f48919f2d37d46af06c85084140bce39710aae1d2a3b0b9dcb70dc79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/config/app_config.go:408-426 | pkg/config/app_config.go:428-447 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acd901c8e651829401c15afe3e81a12385fd7a0b46daae8799f4896f37d2036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/gui/controllers/helpers/search_helper.go:32-48 | pkg/gui/controllers/helpers/search_helper.go:50-65 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/search_helper.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"364d09f3202bb3bc062b0c23b0938cd93f2b1d3f16a4fa2675c6a783242fdd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/gui/controllers/local_commits_controller.go:1919-1933 | pkg/gui/controllers/local_commits_controller.go:1935-1949 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f630592ffec50018fae2e955e9ca2d061be9ca0387c2f529130ad93af6f989"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/gui/filetree/commit_file_tree_view_model.go:161-181 | pkg/gui/filetree/file_tree_view_model.go:206-226 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"61306dd2b319584ccb22fb3ad5170eda2912294b50bd32e7d098135cf9364edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): pkg/gui/tasks_adapter.go:106-125 | pkg/gui/tasks_adapter.go:127-147 | pkg/gui/tasks_adapter.go:149-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/tasks_adapter.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e10e60004439c13b616c2870846b746a004dff1ed43cd60e0f328784d7235c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/integration/components/view_driver.go:191-204 | pkg/integration/components/view_driver.go:520-536 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0668819c3d015a4da363eed8f7b97470efaa8540f23094c31f12e0fa26cb2121"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/gui/controllers/local_commits_controller.go:810-818 | pkg/gui/controllers/local_commits_controller.go:826-834 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d61dabda24e2e0b7328d67bbcfd7a4997c1bb623461f9ff09f37d425053091d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/gui/controllers/helpers/search_helper.go:125-142 | pkg/gui/controllers/helpers/search_helper.go:144-162 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/search_helper.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f5ecfed9c321fecb46d842ed9f5e1963f2a0cc592d100b7056a2886f9639e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): pkg/gui/controllers/basic_commits_controller.go:380-393 | pkg/gui/controllers/commits_files_controller.go:451-464 | pkg/gui/controllers/helpers/diff_helper.go:217-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/basic_commits_controller.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1368fac0927709a85c3efe83fa45422336cf199a00dad4f308953926963aece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/context_lines_controller.go:65-76 | pkg/gui/controllers/toggle_whitespace_action.go:7-18 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/context_lines_controller.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e452dbc8a89c4f64da67be692755d725a78369d4ae148e12ee6ec3a41b8d6cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/gui/presentation/files.go:31-38 | pkg/gui/presentation/files.go:45-52 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/files.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2441aa2e1d935d0207d839d6a68eb0c7b1d12b6cf2216dffd2fd3026ac180f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/gui/view_helpers.go:95-111 | pkg/gui/view_helpers.go:113-129 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/view_helpers.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b397310ce4aed08b2aa2d326af6d04ae80799046e48f24fc362126383cb99b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/commands/patch/patch_builder.go:467-481 | pkg/commands/patch/patch_builder.go:490-504 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch_builder.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"188bebeccaabe1348918d4a1449016774dd3f4daa322c97c2ac7fbdba824efb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/gocui/gui.go:883-900 | pkg/tasks/read_request_queue.go:115-132 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tasks/read_request_queue.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd61a72570f7ecccf7af49cf06bb12994c073799bf309accadb934d2f7cb99f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/sync_controller.go:130-141 | pkg/gui/controllers/sync_controller.go:291-305 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/sync_controller.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9a3d7bf38f270c0a2337d17c1a22143388799eb389aadb1f513b9be5385647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/commands/oscommands/os.go:81-91 | pkg/commands/oscommands/os.go:93-104 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/os.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330b628c4ff5bfcd509b04b755e62cdb862e86969bc94ef52059348b908865e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/sync_controller.go:91-101 | pkg/gui/controllers/sync_controller.go:242-252 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/sync_controller.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09fa4a6f2fcb9d577e47c566b4a765c63bfd3658044eb8fa672d7d43599e2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/integration/components/view_driver.go:67-77 | pkg/integration/components/view_driver.go:80-89 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57ada6cb7226538770942511b8dddd8303a14305b09a71b24db6cc4a0e07374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/gui/controllers/list_controller_trait.go:73-88 | pkg/gui/controllers/list_controller_trait.go:90-105 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/list_controller_trait.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b69de847f8a4a96032c03bfdf9700c1753394eedeaadf4ea6d74f53f5025f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/filetree/commit_file_tree.go:108-118 | pkg/gui/filetree/file_tree.go:198-208 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71fac34b2b259a700fd14ed4613e9870a0a20bddb5b2bdcad1508e440f15a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/branches_controller.go:863-874 | pkg/gui/controllers/local_commits_controller.go:692-703 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d5cc25f6b0785ca795d666de70da4796652b4707df736622295a8c33483cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/integration/clients/cli.go:27-48 | pkg/integration/clients/tui.go:361-377 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/cli.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee61547bc4076f55805c092b332609e250a6bea72e9bfb756f41e5aa50ae7d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/app/daemon/daemon.go:284-294 | pkg/app/daemon/daemon.go:316-326 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/daemon/daemon.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6989ca4864c43560d0094ac26abcb9df0b1aa9fd4835b703fd146c0483f286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): pkg/gui/controllers/basic_commits_controller.go:241-254 | pkg/gui/controllers/basic_commits_controller.go:256-269 | pkg/gui/controllers/basic_commits_controller.go:288-301 | pkg/gui/controllers/basic_commits_controller.go:313-326 | pkg/gui/controllers/basic_commits_controller.go:340-352 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/basic_commits_controller.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d45ce4957f241c36c7c14242ec5430adbd24a3ac29413da74e9e0c3d9c652e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/gui/controllers/main_view_controller.go:934-949 | pkg/gui/controllers/main_view_controller.go:953-969 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/main_view_controller.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"9116d665f8c295816ca44178fa30cffb56b7cbaf11005dfd9919293e9aabe2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/gui/presentation/remote_branches.go:18-30 | pkg/gui/presentation/stash_entries.go:19-34 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/remote_branches.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8698e9fd0ae7b6150dd74eedaa7306d611957fa69800d084b9861a98994cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): pkg/commands/oscommands/cmd_obj_runner.go:32-48 | pkg/commands/oscommands/cmd_obj_runner.go:50-73 | pkg/commands/oscommands/cmd_obj_runner.go:75-98 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/cmd_obj_runner.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8991ada13c522149fa2d8f5d01e6f3b1ac3ebdf698508fd9a5a230f3eb294e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/gui/controllers/files_controller.go:1135-1140 | pkg/gui/controllers/files_controller.go:1142-1148 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d6721cad93a96164bd8ce8ff7f7ea6cfb52396313abd75db399df21387a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/gui/filetree/commit_file_tree_view_model.go:235-252 | pkg/gui/filetree/file_tree_view_model.go:184-201 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fe09a932e38eb7266e05c764afd581e289f24c9891207cee0d7af2f40c4880"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/integration/components/view_driver.go:253-265 | pkg/integration/components/view_driver.go:267-279 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e33672b2adcb6b1c2c6cf42bc41c680f6afc9720a6dccd792a689a58cf0b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/commands/git_commands/diff.go:146-157 | pkg/commands/git_commands/diff.go:167-179 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/diff.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a0b84802da4bcef404dd84409f389d398f06fda6cbf8f800e2f6375b8616b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/prompt_controller.go:55-69 | pkg/gui/controllers/suggestions_controller.go:73-84 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/prompt_controller.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"067656fa4f7d9c34efcc9330b747d68ce07ef9406ccc2770bac06d898a415c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/gui/filetree/commit_file_tree_view_model.go:101-114 | pkg/gui/filetree/file_tree_view_model.go:57-70 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b6453393bb4c454ec47c9bdd26cdedd2c2eec68f07aa082815ff4909d1743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/integration/components/view_driver.go:548-558 | pkg/integration/components/view_driver.go:594-604 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0180a4e46e2f2bb64994b0ce57617a73d178b06510a9af9965d43b503037875a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/context/local_commits_context.go:391-402 | pkg/gui/context/sub_commits_context.go:221-232 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/local_commits_context.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"79555b81d7b12f786e7c72597a2ecdf3e7a26a229c92741658b3fa2626bb5106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): pkg/gui/controllers/workspace_reset_controller.go:65-73 | pkg/gui/controllers/workspace_reset_controller.go:83-91 | pkg/gui/controllers/workspace_reset_controller.go:126-134 | pkg/gui/controllers/workspace_reset_controller.go:144-152 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/workspace_reset_controller.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79bdbc43e1849f99919b83e2e66cdf4ca36d87441daddf7c8e21d3e8550155c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/commands/git_commands/rebase.go:168-180 | pkg/commands/git_commands/rebase.go:182-196 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba446d90479adea7830202c54ef7009102a7c028e9464baaab7ba8c91d7c7534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/config/keybinding.go:45-62 | pkg/config/side_panel.go:30-44 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/keybinding.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7e271e51f09d704bd8b2dd8576622189da7a833114f2718d24db0016ae9cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/screen_mode_actions.go:12-22 | pkg/gui/controllers/screen_mode_actions.go:24-34 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/screen_mode_actions.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff029635017d148897746cfd15c0ab94530070c7d9c19e868652a5a4ce32601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/integration/components/prompt_driver.go:93-100 | pkg/integration/components/prompt_driver.go:102-109 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/prompt_driver.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"884150dde2d1bcdc883440d6ee62d0c731b33a7263cbfa4f6b3f1dcfd738cf4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/commands/git_config/cached_git_config.go:57-69 | pkg/commands/git_config/cached_git_config.go:71-83 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_config/cached_git_config.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29e1d8c3548fe0cd45e236178cb49d8f9cf099ad258e37019ce76511efb9132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/branches_controller.go:422-432 | pkg/gui/controllers/sync_controller.go:67-77 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e46cddd10da5d08869082431146d313f491bd3b0cceb4bccef9287408f59a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/gui/controllers/rename_similarity_threshold_controller.go:52-64 | pkg/gui/controllers/rename_similarity_threshold_controller.go:66-78 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/rename_similarity_threshold_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc69db63b0e80b57d94cb18bce9eec5dd00792fca66bccdb9266bdadce6d015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/gui/filetree/node.go:270-288 | pkg/gui/filetree/node.go:290-308 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/node.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf10c3ca295c96fdb408250b4161915e4e001f6f90a1f6f76c71b425f142844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): pkg/commands/git_commands/file.go:45-55 | pkg/commands/git_commands/file.go:57-67 | pkg/commands/git_commands/file.go:69-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/file.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593ab9ca5a2690fe0b6c52da3694ee855e8e475c1a785c52b24ce32d98a4c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): pkg/commands/git_commands/remote.go:53-60 | pkg/commands/git_commands/remote.go:62-69 | pkg/commands/git_commands/tag.go:57-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/remote.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1df483093e673975f344ba08c0c8abb37b935f5058671295a87e612fd2aaea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/gui/controllers/branches_controller.go:836-849 | pkg/gui/controllers/helpers/files_helper.go:81-91 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca7bf0b4d0453acb37348735fe0c3b6461151df3cbe56bc9c2b2a8b64b2b041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/gui/controllers/branches_controller.go:573-578 | pkg/gui/controllers/helpers/branches_helper.go:364-375 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4ee07ef0579b70886c91f09f45d1c50316d896bcffbae58e7d405f7e49f858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/commands/git_commands/branch.go:122-134 | pkg/commands/git_commands/working_tree.go:618-629 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3090409795e7a58af017fc1c4751191527a7b4f5a2b249c2ae639b70b904ff33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/gui/controllers/bisect_controller.go:51-63 | pkg/gui/controllers/git_flow_controller.go:35-46 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/bisect_controller.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9773cbc93cb9ee94b5425fa6a04f28432dd5ec34c3f6532360a5b0a4f961a632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/gui/controllers/helpers/diff_line_file_menu.go:17-26 | pkg/gui/controllers/helpers/diff_stat_links.go:248-259 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_file_menu.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351cdaf8384368a40c72b41c0864553472a4b34c036c6d90f1d10215436f3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): pkg/integration/components/view_driver.go:335-342 | pkg/integration/components/view_driver.go:345-352 | pkg/integration/components/view_driver.go:957-967 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/view_driver.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"92819e5baaa470613edccaec26b2397569b8f2036cfba756940a7d6fe5d11e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/gui/context/suggestions_context.go:83-99 | pkg/gui/editors.go:50-62 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/suggestions_context.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8420645326c2354d174c9f64659597390b6c120defedad8ee60ac2b9c22c85b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/gui/context/confirmation_context.go:23-35 | pkg/gui/context/prompt_context.go:18-30 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/confirmation_context.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7103d4876794ec30ca84441a9a04d6ba352b3ec9794689fffccfea5a47201a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/commands/git_commands/branch.go:310-319 | pkg/commands/git_commands/working_tree.go:571-578 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6944cc3f4ca66db888f44a6c4a2fe334300c55ed7dc64819244a9a51d507417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): pkg/gui/controllers/helpers/merge_and_rebase_helper.go:381-390 | pkg/gui/controllers/helpers/working_tree_helper.go:101-105 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5748afde8067989123b12ff2236d2bab3d6c25d673249e0ca3af2c37413878ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/gui/popup/popup_handler.go:42-56 | pkg/tasks/tasks.go:348-362 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/popup/popup_handler.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"902a48a23f0885435341ac98484d53976710389578664752a56c7eb9bdb13be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/commands/patch/patch_builder.go:434-443 | pkg/gui/controllers/helpers/diff_line_parser.go:147-155 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch_builder.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06a446a2cfd48260e8d3870399b086806d9efa40b94426f57924af5063ff92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/gui/controllers/commits_files_controller.go:602-605 | pkg/gui/controllers/files_controller.go:704-707 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcd0c790d0860af62b3b73390cb7d767cf909ed0249f615a2b7ff49a9a90dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/commands/git_commands/bisect.go:225-233 | pkg/commands/git_commands/branch.go:323-330 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/bisect.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8415bfdabe418b2ee36ef4a1bfe4c4d4ef11c693c3045e6a6894b99801e1014d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/commands/git_commands/branch.go:152-164 | pkg/commands/git_commands/commit.go:78-87 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a17f17a850297fa0eff25b4876849d234920de01dd64eab9abaef7bcccb4f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/gui/controllers/search_controller.go:36-44 | pkg/gui/controllers/switch_to_diff_files_controller.go:72-83 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/search_controller.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a989819e50a5b28afb38e4a1d64c0190b0f24674b2345f9ad939b20abf5964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): pkg/commands/git_commands/commit.go:177-182 | pkg/commands/git_commands/remote.go:84-91 | pkg/commands/git_commands/tag.go:82-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/commit.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"957a03e4666b6296c1da9307d38390cefb161607bbd3f5590d4d6cb0745d1cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): pkg/commands/git_commands/version.go:63-67 | pkg/gui/types/version_number.go:13-17 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/version.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"321a4f280b9608868dcfa61e315826b5c24ca8ff241cc0a0e75c9cc2a7e3789d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): pkg/commands/git_commands/branch.go:184-190 | pkg/commands/git_commands/commit.go:261-266 | pkg/commands/git_commands/working_tree.go:610-616 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2568567ef9ae8b7465e7171f73be0a151b5318e10d3248c12af2defc3a58033b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/commands/git_commands/submodule.go:240-243 | pkg/commands/git_commands/worktree.go:51-55 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/submodule.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0304e14f28f796e5cccea112539d2361346fe3651962b5611a50b16e941558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/commands/git_commands/branch.go:27-33 | pkg/commands/git_commands/remote.go:21-27 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb045028c5a31bbd3648dbbc72d848866ced003c01005311943fa1dc943719b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/commands/git_commands/branch.go:246-252 | pkg/commands/git_commands/remote.go:37-43 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"988435e73a0632fa4513460b1f81bd70c42b0f567b2d46608c49379797437fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/gui/controllers/commit_description_controller.go:97-100 | pkg/gui/controllers/commit_message_controller.go:155-158 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commit_description_controller.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d57287c4f3f55f4573e38a802d3a4f3fce03bf254eb144ec1ddf5bbab8d2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/gui/controllers/helpers/diff_line_helper.go:158-164 | pkg/gui/controllers/helpers/diff_line_parser.go:100-106 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_helper.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8479fc762cc11574fb7fd0616681ae4e68d174552e84eedd7f02492a789c0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/commands/git_commands/bisect.go:114-121 | pkg/commands/git_commands/branch.go:45-51 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/bisect.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99acf480da70c53d445f3dd6960ed3f8855c88bfa265aaf4df68b58f30ed242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/commands/git_commands/branch.go:55-62 | pkg/commands/git_commands/remote.go:45-51 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8a2d2bf9c7914b6adeede1399002e568e2993fe2ab88335224eaf072ceb91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): pkg/gui/controllers/files_controller.go:1150-1153 | pkg/gui/controllers/local_commits_controller.go:854-857 | pkg/gui/controllers/submodules_controller.go:220-223 | pkg/gui/extras_panel.go:12-15 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9eb435d32f6dc9fdb01da65271ba22698a8b7197d184255a6d1fb63834982a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/gui/controllers/files_controller.go:1386-1389 | pkg/gui/controllers/local_commits_controller.go:1617-1637 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7baa7e1fd1c7e3265e67351a8ee32d841c0f9561e95a229f5d620d7b300d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:240-268 | pkg/gui/controllers/files_controller.go:1476-1504 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/commits_files_controller.go:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94b53a22517507ff45d4d8891b10af7ba655e99148cece45203bfaee5d0f502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): pkg/gui/presentation/files.go:333-355 | pkg/gui/presentation/files.go:361-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/presentation/files.go:333\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/files.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f408f66e467f06f60b549629f53b28e2e08e304c5f3736c67ffcb381ffa967e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): pkg/commands/git_commands/patch.go:271-292 | pkg/commands/git_commands/patch.go:329-349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/git_commands/patch.go:271\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/commands/git_commands/patch.go:350\u0060 calls \u0060WorkingTreeState\u0060, \u0060AbortRebase\u0060 and \u0060pkg/commands/git_commands/patch.go:295\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/patch.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ce0cc968bb2aecf6db06f8b716062a0243c1236e5461e700902ad5faf5828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): pkg/commands/git_commands/patch.go:265-283 | pkg/commands/git_commands/patch.go:376-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/git_commands/patch.go:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"pkg/commands/git_commands/patch.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6857f3944692a3ab3f77a07909dbf1af37b1fd1c6fd97a487f0b6e77d6d51065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/gui/controllers/helpers/refs_helper.go:546-562 | pkg/gui/controllers/helpers/refs_helper.go:582-598 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/refs_helper.go:546\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refs_helper.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"99393642f2963d4ee25f47faecb5e541beb929d208d3a83b1650592c54f477c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201315 lines \u00D7 3): pkg/gui/controllers/helpers/merge_and_rebase_helper.go:514-528 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:539-542 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:572-586 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/merge_and_rebase_helper.go:539\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/gui/controllers/helpers/merge_and_rebase_helper.go:513\u0060 calls \u0060Modes\u0060, \u0060GetHash\u0060, \u0060WithWaitingStatus\u0060 and \u0060pkg/gui/controllers/helpers/merge_and_rebase_helper.go:539\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"de817e3faadfd23fbb72b5f157aaf4ba960852a97d57e75cda20c03e5e9cba06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): pkg/commands/git_commands/patch.go:181-194 | pkg/commands/git_commands/patch.go:375-387 \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":"pkg/commands/git_commands/patch.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db8289a23564791ddbadc3ae98be7adba6eff11d5446e8b730c8a2069e145d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:270-283 | pkg/gui/controllers/files_controller.go:1506-1519 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/commits_files_controller.go:270\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"af10e39c5f62126f0fd3cfa7bdfb6377a3e0453e701196544b4cdd766d81f25d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/gui/filetree/commit_file_tree_view_model.go:166-178 | pkg/gui/filetree/file_tree_view_model.go:211-223 \u2014 before extracting anything, compare \u0060pkg/gui/filetree/commit_file_tree_view_model.go\u0060 and \u0060pkg/gui/filetree/file_tree_view_model.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/filetree/commit_file_tree_view_model.go:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d53217a033a0426dd5b3f48cde0423a14575a1090f214a9c679241e62a3568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/config/keybinding.go:51-62 | pkg/config/side_panel.go:33-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/config/keybinding.go:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/keybinding.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8435774b24dc96e6cbff96ec8626d5e126080f3262f654fba82127316a277cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/gui/controllers/local_commits_controller.go:1961-1972 | pkg/gui/controllers/local_commits_controller.go:2020-2031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:1961\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/gui/controllers/local_commits_controller.go:2016\u0060 calls \u0060Filter\u0060 and \u0060pkg/gui/controllers/local_commits_controller.go:1959\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"3570035b9de12c9503b6a229b9fff683f37d75e1f042c05d45ee668f07b2cda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/gui/controllers/commits_files_controller.go:258-266 | pkg/gui/controllers/commits_files_controller.go:274-282 | pkg/gui/controllers/files_controller.go:1494-1502 | pkg/gui/controllers/files_controller.go:1510-1518 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/commits_files_controller.go:258\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44836e2a5d5efc54e33a8a0abfb7974471ac2e22e3c310a0c3d1e07ad568a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/config/app_config.go:410-418 | pkg/config/app_config.go:432-440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/config/app_config.go:410\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232b57aa0d149397ced5f2bb4904427fc44f2c92d80d747468a9ac22fd76b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/controllers/branches_controller.go:238-246 | pkg/gui/controllers/branches_controller.go:271-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/branches_controller.go:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59c65eb5761691b7c56e7177b3d3932366ce2fa1863153507338cca4e2b0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/gui/controllers/helpers/branches_helper.go:46-53 | pkg/gui/controllers/helpers/branches_helper.go:381-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/branches_helper.go:381\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. 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":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e675943990aef7dd2a1c4482f941472cf88ea81916248148485e4a58d18d30cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/gui/controllers/helpers/branches_helper.go:158-165 | pkg/gui/controllers/helpers/branches_helper.go:401-409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/branches_helper.go:401\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. 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":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaa0c30f3bb135cb28d3414e830d6ad181d124e36437ba2eeebe325a3380054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/controllers/helpers/refs_helper.go:535-543 | pkg/gui/controllers/helpers/refs_helper.go:565-573 \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":"pkg/gui/controllers/helpers/refs_helper.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"945f6ffda9bda3655ec3bd054e42c53a6383f2e995cb34b2823d5b081ae279a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/view_helpers.go:96-104 | pkg/gui/view_helpers.go:114-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/view_helpers.go:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/view_helpers.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd7e383df1c242f00b697eb73430527751c73a483d18a842888885975cf4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/gui/controllers/branches_controller.go:255-262 | pkg/gui/controllers/helpers/merge_and_rebase_helper.go:495-502 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/branches_controller.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d7d037da136172c73f59cb603818f237621202d826530157f50844cf798b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/gui/controllers/helpers/branches_helper.go:382-389 | pkg/gui/controllers/helpers/branches_helper.go:402-409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/branches_helper.go:382\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":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f0fdec34f42f32489eb8457a84ee1e169d531fc656ea184dade405f560a771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/gui/controllers/local_commits_controller.go:730-737 | pkg/gui/controllers/sub_commits_controller.go:47-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:730\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":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab24c1f25d59d66bdfdd2fef2961eba59738b73ccea972e4f5c6f8ef48f4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/gui/controllers/local_commits_controller.go:1481-1488 | pkg/gui/controllers/local_commits_controller.go:1590-1597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:1481\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e4484ee6085ccaf3854f2eb68a454643ffd16138d2c1f82662e3b655fc3c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/integration/clients/tui.go:117-124 | pkg/integration/clients/tui.go:131-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/integration/clients/tui.go:117\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf59e1cca791db9e037e6911aaea1550ad4b9fc5ec0ae1eb1145c0e8bcb5384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): pkg/commands/git_commands/file.go:48-53 | pkg/commands/git_commands/file.go:60-66 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"pkg/commands/git_commands/file.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0fcb0f8b55a8f95cd781dc39102a7bed4101e971bf1670899ea08611c5958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/controllers/helpers/branches_helper.go:31-37 | pkg/gui/controllers/helpers/branches_helper.go:108-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/branches_helper.go:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf65b873e8063ea7d2bdb150fb693c85d7d710264bbd300f0e4d7a0831364b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gui/controllers/local_commits_controller.go:810-815 | pkg/gui/controllers/local_commits_controller.go:826-831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:810\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"5541335189c3ccdaa4d0f56fda151f6b5bebb8c951fb7f6090c633ae06c987f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gui/controllers/local_commits_controller.go:1369-1374 | pkg/gui/controllers/local_commits_controller.go:1392-1397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:1369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e41838d788021b7ee9d47e8e0e8b73d4c498a2715a4d1a8033933d304400d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/gui/controllers/files_controller.go:1885-1889 | pkg/gui/controllers/files_controller.go:1916-1920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6549bde27a45a2c06827e2532a96b924f8f8bcb31160e6b14f7e87fb259503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/commands/models/commit_file.go:35-41 | pkg/commands/models/file.go:78-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/models/commit_file.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9166226f1b9dcd3ce7abb501b191e8cf9c0a16cea2c9094734d840c60cf00fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/context/local_commits_context.go:433-439 | pkg/gui/context/sub_commits_context.go:260-266 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/local_commits_context.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"068b2e9be70e7eaa3c30ba6db54d41cbfe0428b378dece725ef869da05445005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:615-630 | pkg/gui/controllers/files_controller.go:1680-1695 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c5442eb808d29ae153506cb8c11f1740c69668643917c3483d6b24b87ef7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/controllers/diff_paths.go:159-165 | pkg/gui/controllers/helpers/diff_line_plain_text.go:167-173 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/diff_paths.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daedf1fe7457b3639a5799f49e8ba5e4f187193849840051075466d86508ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/controllers/list_controller.go:306-314 | pkg/gui/controllers/main_view_controller.go:714-722 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/gui/controllers/main_view_controller.go:707\u0060 calls \u0060GetView\u0060, \u0060SetNearestSearchPosition\u0060 and \u0060pkg/gui/controllers/list_controller.go:302\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/list_controller.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4e0cd7a80f60c45dd6188128f783b93bee8c94707fab0878fc8853f82e525c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/gui/controllers/screen_mode_actions.go:62-72 | pkg/utils/slice.go:27-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/screen_mode_actions.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff87e0db9d065e23b205d3e586908a14a08841b202c84d287d298c4ce497cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/gui/controllers/screen_mode_actions.go:74-84 | pkg/utils/slice.go:40-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/screen_mode_actions.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb39136481a479c6b128d2c2cfed7c612c5dd0dd332c9e0c1fcccf18c577491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/gui/controllers/commit_description_controller.go:52-61 | pkg/gui/controllers/commit_message_controller.go:61-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commit_description_controller.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc0283aa35520c97b016deb8588fac6cdc8fe44e8a8aeb00cfd38d846b23eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:433-438 | pkg/gui/controllers/files_controller.go:1330-1335 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b09677ffe9f098c1a2509aedbd273c69af780e71152b9ad4117821fb46fe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:440-449 | pkg/gui/controllers/files_controller.go:1337-1346 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"099acc7c7f2bbb17daa9b2708f4aa6ba7c3ac01fe8dd2c507943970e9f53e998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:609-613 | pkg/gui/controllers/files_controller.go:1672-1676 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb9de56a57714f8f3d6b09b563dacf5643ad50c7ec65c9cbd92dc0148a56c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/controllers/commits_files_controller.go:632-638 | pkg/gui/controllers/files_controller.go:2033-2039 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e86db884765cdefee60f69f8fd561a18535f9cf379a52385a557a810f0416f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): pkg/gui/controllers/git_flow_controller.go:22-33 | pkg/gui/controllers/remote_branches_controller.go:22-33 | pkg/gui/controllers/stash_controller.go:24-35 | pkg/gui/controllers/sub_commits_controller.go:19-30 | pkg/gui/controllers/submodules_controller.go:28-39 | pkg/gui/controllers/suggestions_controller.go:19-30 | pkg/gui/controllers/tags_controller.go:27-38 | pkg/gui/controllers/worktrees_controller.go:25-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 8 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/git_flow_controller.go:22\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/git_flow_controller.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39a7dc026d90aef6da6867cadca75c41f2dfd0925d806c7cfb957f8ef75deac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): pkg/gui/controllers/helpers/commits_helper.go:32-41 | pkg/gui/controllers/helpers/mode_helper.go:32-41 | pkg/gui/controllers/helpers/refresh_helper.go:66-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/commits_helper.go:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/commits_helper.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ee094302b8c980722b8f0d58e4870ace45c6aead0ce0a1e0eb8f3ab4111e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/gui/controllers/menu_controller.go:24-36 | pkg/gui/controllers/remotes_controller.go:31-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/menu_controller.go:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/menu_controller.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f1f351bc6e93ae44a14e397898f212ccd67eb314d40ad59df4832c69b17be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/filetree/commit_file_tree.go:32-40 | pkg/gui/filetree/file_tree.go:218-226 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f71262043f2531c4e626d53ee05817c440d5699b6178ca5301c809cb54cfde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/gui/filetree/commit_file_tree.go:76-85 | pkg/gui/filetree/file_tree.go:173-182 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"849ae5dd3f74c65861c9494640ab4ad05bb059ea4a6736ed18760a85d941642d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/gui/filetree/commit_file_tree_view_model.go:116-124 | pkg/gui/filetree/file_tree_view_model.go:72-80 \u2014 before extracting anything, compare \u0060pkg/gui/filetree/commit_file_tree_view_model.go\u0060 and \u0060pkg/gui/filetree/file_tree_view_model.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"478cf524b29b9048f8bc17d8f636a50d624bbd295e2fc3ab49a6d3fb94cfcb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/gui/filetree/commit_file_tree_view_model.go:183-196 | pkg/gui/filetree/file_tree_view_model.go:228-241 \u2014 before extracting anything, compare \u0060pkg/gui/filetree/commit_file_tree_view_model.go\u0060 and \u0060pkg/gui/filetree/file_tree_view_model.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff31ee22c806d4eda33980c963d591ba4c912905d396c45bc8ec7c7346c82e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/gui/filetree/commit_file_tree_view_model.go:198-211 | pkg/gui/filetree/file_tree_view_model.go:243-256 \u2014 before extracting anything, compare \u0060pkg/gui/filetree/commit_file_tree_view_model.go\u0060 and \u0060pkg/gui/filetree/file_tree_view_model.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f4b5e7fd653be525c4fd322d39d31c6fd29960f58e70c8a066dd28bf485d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gui/presentation/remote_branches.go:10-15 | pkg/gui/presentation/stash_entries.go:11-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/remote_branches.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ec68d43ce29a382b3e1f222617f82fa9c680615f93c88e41b429aecc727ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/gui/controllers/local_commits_controller.go:736-746 | pkg/gui/controllers/stash_controller.go:105-115 | pkg/gui/controllers/sub_commits_controller.go:53-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/local_commits_controller.go:736\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2f34528ce84069b787257cd0b33114190ea1fa57cb23043618080711ca914c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/commands/git_commands/commit_loader.go:372-380 | pkg/commands/git_commands/commit_loader.go:483-491 \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":"pkg/commands/git_commands/commit_loader.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c11fef891ebf8aa370d9702062b7e5bf50235aec7e2b0ef27b621add898f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/integration/clients/tui.go:127-134 | pkg/integration/clients/tui.go:141-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/integration/clients/tui.go:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/tui.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f514ebe949ad7eb27e79789bccab141ae6a404c266c23d0ecdfa1c12394a5926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/controllers/remotes_controller.go:102-108 | pkg/gui/controllers/submodules_controller.go:110-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/remotes_controller.go:102\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. 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":"pkg/gui/controllers/remotes_controller.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3955c76f78c27f2efbf2ce8fad9f53db93f8dd50b25fb9fe70897f70e9e64d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gui/controllers/remote_branches_controller.go:115-121 | pkg/gui/controllers/tags_controller.go:103-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/remote_branches_controller.go:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/remote_branches_controller.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"110bb2795ed6018a6d287b1baf3aff7fe045ab48896145cf2c44ebf42ae506d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/commands/git_commands/remote.go:55-60 | pkg/commands/git_commands/remote.go:64-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/git_commands/remote.go:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/remote.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f209af793b8a30e4d3b62ac1945d7a215641555f7623c82ccab0972e4aa2a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/commands/git_commands/commit.go:276-280 | pkg/commands/git_commands/rebase.go:657-661 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/git_commands/commit.go:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/commit.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f92ff67807b756247f8dc784916ece1b5d5c266cbcba429a126393043be626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/gui/controllers/helpers/worktree_helper.go:97-101 | pkg/gui/controllers/helpers/worktree_helper.go:106-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/worktree_helper.go:97\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/worktree_helper.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3211b5dadcdde8c3853e002191b082d9be51a20dc420b6eb5e7169c2b8cef2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gui/controllers/helpers/confirmation_helper.go:278-283 | pkg/gui/controllers/helpers/confirmation_helper.go:293-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/helpers/confirmation_helper.go:278\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/confirmation_helper.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b567d1991857c8b368e96f0a72730a4124421e0a41b63789c110865aff477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/gui/controllers/tags_controller.go:179-183 | pkg/gui/controllers/tags_controller.go:192-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gui/controllers/tags_controller.go:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/tags_controller.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbf16d0a9fcbebbc589751ae4bd8deac0e12204d8d735662fe6b44ad797d986"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WorkingTreeCommands (LCOM4 26): WorkingTreeCommands\u0027s methods fall into 26 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 26 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/working_tree.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43856465ccbf1e7db90e2824b7253f09877c2814e2e53a32349220776acdc9f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CmdObj (LCOM4 8): CmdObj\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/cmd_obj.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8577e78fa3887103327e49427d1c4ef43ba75d3a1f57484b10ef6143aa79f713"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalCommitsContext (LCOM4 8): LocalCommitsContext\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/local_commits_context.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be70f026f42a9b0aa36e8268d046954b9c52560c2ceefa6edd824deb70db123"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StashCommands (LCOM4 7): StashCommands\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/stash.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e60c07a7b153cde498a5de4532e1e8a8c774421cbccf42426ef55afbda924"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RebaseCommands (LCOM4 5): RebaseCommands\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"afae4c97880760682987a98124a60c9ba77b0579c7201c1bcf2f891027a04250"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SimpleContext (LCOM4 5): SimpleContext\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/simple_context.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e6524d3063ea43092a94cca72154297c50019d2b7c8c10cea62dc03b790ad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SubCommitsContext (LCOM4 5): SubCommitsContext\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/sub_commits_context.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"402aa8d5d51f9428392206e7629d467e541bec7662905b8bda95ebdb62c398cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CommitFileTreeViewModel (LCOM4 4): CommitFileTreeViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/commit_file_tree_view_model.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c834da33c5a4e9ef84712b56faeb5bde198220180f4c093b7e9a9829792f41b"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/cloudfoundry/jibber_jabber: Direct dependency \u0060github.com/cloudfoundry/jibber_jabber\u0060 is required at \u0060v0.0.0-20151120183258-bcc4c8345a21\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2015-11-20, 11 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/cloudfoundry/jibber_jabber\u0060 and has not moved this requirement in 11 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/cloudfoundry/jibber_jabber\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"88dd08ea5e2f2c70311b631dcb4ca9648ee9a0a73faaf264587357b4af8549e4"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/jesseduffield/lazycore: Direct dependency \u0060github.com/jesseduffield/lazycore\u0060 is required at \u0060v0.0.0-20221012050358-03d2e40243c5\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-10-12, 4.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/jesseduffield/lazycore\u0060 and has not moved this requirement in 4.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/jesseduffield/lazycore\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8c17a22c328fd792b186699a1283aed076ff0a971d1a6a1e539b9850bb7bf54e"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/kardianos/osext: Direct dependency \u0060github.com/kardianos/osext\u0060 is required at \u0060v0.0.0-20190222173326-2bc1f35cddc0\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-02-22, 7.7 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/kardianos/osext\u0060 and has not moved this requirement in 7.7 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/kardianos/osext\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a1ba43b1718f625ef35fa43f56dcfa4aa32e7189b2ba240f98abdbcd952f29f"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/karimkhaleel/jsonschema: Direct dependency \u0060github.com/karimkhaleel/jsonschema\u0060 is required at \u0060v0.0.0-20231001195015-d933f0d94ea3\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2023-10-01, 3.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/karimkhaleel/jsonschema\u0060 and has not moved this requirement in 3.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/karimkhaleel/jsonschema\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"76b39ba9a48995fc6127224da0e1584e9aa679071af76b4b056140b94deb5583"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gocui/gui.go: pkg/gocui/gui.go changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Gui.onKey at line 1799. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gocui/gui.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/gui.go"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d121b1b302cd328a4c84973225a329fa5d812626ef469fc506d4795a24f6490"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gocui/view.go: pkg/gocui/view.go changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in View.draw at line 1929. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gocui/view.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/view.go"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"d980335f79bf6d0a54e1f281d412d5bba5c2af8352606dd60e1d7fef071b6117"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/controllers/helpers/refresh_helper.go: pkg/gui/controllers/helpers/refresh_helper.go changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in RefreshHelper.performRefresh at line 181. 1 of those changes was a fix/bug commit, and the other 28 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/controllers/helpers/refresh_helper.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337e610fad070e8b4ae54efcfcf5e59a19bc785358a31528f437146aa1b3d6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/tasks/tasks.go: pkg/tasks/tasks.go changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in ViewBufferManager.NewCmdTask at line 472. 1 of those changes was a fix/bug commit, and the other 25 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/tasks/tasks.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tasks/tasks.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f123ca545d5fc930ec0ba2b5012e0886078e86c9ad8078749547120395014c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/gui.go: pkg/gui/gui.go changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Gui.onNewRepo at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/gui.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6823aefc08b8e77c5fe8133f3d076be989c60695e8a5957f54fbaa397408c061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gocui/escape.go: pkg/gocui/escape.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in escapeInterpreter.parseOne at line 256. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gocui/escape.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/escape.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0eea2f4314bdd42b2e5de34285dd7794139708f0232897deef244b2273b90c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/controllers/helpers/branches_helper.go: pkg/gui/controllers/helpers/branches_helper.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BranchesHelper.AutoForwardBranches at line 692. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/controllers/helpers/branches_helper.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/branches_helper.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbb656d5f0757f3be16c8fc8f9b3367fa3aa39bd3be584d4abc7998255d1cce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/commands/git_commands/rebase.go: pkg/commands/git_commands/rebase.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RebaseCommands.GenericMergeOrRebaseAction at line 516. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/commands/git_commands/rebase.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/rebase.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d652a1487f00ca90a9653026bc3a180707b2dc9ea9fc4ca1fe2af2ba6c7fbfe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/presentation/commits.go: pkg/gui/presentation/commits.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in presentation.displayCommit at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/presentation/commits.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f418a98530891f5a8bcbc8c1cce1c0a84f98411d7b7746e7cc52410ab3e6a7aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/views.go: pkg/gui/views.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Gui.configureViewProperties at line 209. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/views.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/views.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d57be72b817f2e3d8b09ec11da51c4aacab36439a3c747be96c9d42c0d2bfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gocui/tcell_driver.go: pkg/gocui/tcell_driver.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in gocui.gocuiEventFromTcellEvent at line 351. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gocui/tcell_driver.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/tcell_driver.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"25963b2e8e4f1b2a82197404ba84ef5676cb792f8f73cbf8b472264c54934995"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/presentation/graph/graph.go: pkg/gui/presentation/graph/graph.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in graph.renderPipeSet at line 274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/presentation/graph/graph.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/graph/graph.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"071e50a2b9fd5a7a05e0f5a35eae5ec5e0ef98eed57f9983861a34df21a199e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/layout.go: pkg/gui/layout.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in Gui.layout at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/layout.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/layout.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aefa9911004d75bcca0b148e6ce1dd42c26447bd68eca8ab4307cebc3bf097"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/commands/git_commands/branch_loader.go: pkg/commands/git_commands/branch_loader.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BranchLoader.Load at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/commands/git_commands/branch_loader.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch_loader.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"634ba651f135049e63484b0452f2c114265734f6df747fd58d18da9baf9ddbfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/app/entry_point.go: pkg/app/entry_point.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in app.Start at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/app/entry_point.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/entry_point.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf31499c5512923337e998b911e87011a77c8a983e90f31fc58ffb98fc9de2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/controllers/helpers/merge_and_rebase_helper.go: pkg/gui/controllers/helpers/merge_and_rebase_helper.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MergeAndRebaseHelper.genericMergeCommandImpl at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/controllers/helpers/merge_and_rebase_helper.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"72926efdaedd89ef3073e76ce80d6ebd7a10b077d3192f6e3f36ae61f9367acc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/config/user_config_validation.go: pkg/config/user_config_validation.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in UserConfig.Validate at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/config/user_config_validation.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/user_config_validation.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d0adb79f184d43659be1ff0da98d251084a4022c126ef7d74906bac86fdbb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/commands/git_commands/worktree_loader.go: pkg/commands/git_commands/worktree_loader.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WorktreeLoader.GetWorktrees at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/commands/git_commands/worktree_loader.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/worktree_loader.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f6eafb2174bd59db9d57be106408cf69c057da15b6b516f7a1b50f51a41b6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/config/app_config.go: pkg/config/app_config.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in config.computeMigratedConfig at line 278. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/config/app_config.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/app_config.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381fbe8178569938a26357d5323779f66560c48def40da2719605249b745893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/gui/presentation/files.go: pkg/gui/presentation/files.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in presentation.getFileLine at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 14:53:53 \u002B01:00\u0027 --until=\u00272026-11-12 14:53:53 \u002B01:00\u0027 --full-history --no-merges -- pkg/gui/presentation/files.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/files.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a557aa602e38f0f62af9f95c3fda73aff3958e118eaf857dd1b308ab2fe6d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 186 significant file(s) lose their only recent owner: pkg/i18n/english.go, pkg/gui/controllers/helpers/refresh_helper.go, pkg/gui/controllers/local_commits_controller.go, pkg/gui/controllers/files_controller.go, pkg/gui/controllers/main_view_controller.go, pkg/gui/gui.go, pkg/tasks/tasks.go, pkg/integration/components/view_driver.go (\u002B178 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2e4a7a216ac36b12d188d6ae4f02f09bbb104a0a7cfc83dca95fa8b2a85c1b93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO and non-TODO commits \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/tests/interactive_rebase/mid_rebase_range_select.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d01325cf78301fa7840dc9819fd9c202a0bddd104d05393089664c7665bfb77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: soft-code this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/search_driver.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"648b4503d98e13c45789fc8a6aedc6e93e034d40f4500f66a1bf83a19e3eb10b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/i18n/english.go"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"516cfe575712ef57828e9c5caa3dc8c21c659169dee9b406d7165081ae7dfbf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add scroll controllers for main panels (need to bring some more functionality across for that e.g. reading more from the currently displayed git command) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7bbafb54b8623c1b6e89fc011a791bf4243bf19fafe72bccaa43d9296cbfdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this necessary? Can\u0027t I just call \u0027return from context\u0027? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/extras_panel.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d7dee7171e2607ee83784481bcde6e17cf1d202311b18b0583f7d5af8ebd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add filepath.Join(gui.git.RepoPaths.RepoPath(), \u0022.lazygit.yml\u0022), \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba20a11147c1270ba0c017a7219caae7bb869a6a32acd40d4eb5bf0caf4cd9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only use contexts from context manager \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f789ae4365a6fec982996c9552a836e8e6a6e276c691abe2c711dc2be2969"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reset these controllers upon changing repos due to state changing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd9416e2c8157662560b7eeb4695a791dfe95a5ade4ff1bdc1c7cd08a02b81d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move all mouse keybindings into the mouse keybindings approach below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/keybindings.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd121d70962c096c1f9430d00f80f5f7aa4e5ff4d51d15db21583844f309f0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ensure that if we\u0027re opened a menu from within a menu that it renders correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/menu_panel.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cd028833cf2fcc206c2c616dfcb00b45cac4f9913b4516f9267a8f7ca95896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle resizing properly: we need to actually clear the main view \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/pty.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1799ff2cab122354a6a320c1b2339b6ccf03405618887792785e9b066eb504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: migrate this file to use forward slashes on all OSes for consistency \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/recent_repos_panel.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"781e469b99d86a452ce72f0fe379184a67340947e7699978ee8b186957efe0b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could we remove this entirely? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/types/search_state.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a07eefc4d1cf62acc6181d44451dbfd16e3b6b5ab53096ffa00aac223d470dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // but we\u0027ll never include TODO commits as part of the graph because it\u0027ll be messy) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"311790cd5c66fdeeb3d23a74e611a7597b8e2b3ed8b207c3749c142188da418d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: i18n \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/commits.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"18805153b5cad9bf2070ab6f69980208161133d3968fe01b593f3dffc066d132"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find out whether we ever actually get this prefix \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/mergeconflicts/find_conflicts.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4431396f79fa5568142f35052a3ab79bd397692b4ff7cf42d527a7182d202c0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see why this is 1 and not 0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/mergeconflicts/state.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd7c6b87f6e0a79cceb85c968e448c870c007a9988a533805fd3d4c4539a15c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think about making this in-place \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/node.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a1acf76e889fd68ee66ab726dae707df599ca25a8d5b65376a950fa2ff545b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // for now we do not support setting \u0027reword\u0027 on TODO commits because it requires an editor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf6935f22321fca72df9ded1c3f156eb936b19b976887cfc316774b34a0b58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Ensures that if we are mid-rebase, we\u0027re only selecting valid commits (non-conflict TODO commits) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"298a1c60f0b9829b3e93b111e72a7eb11ee7960cc615fc52227e91624a8cd857"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // as opposed to TODO actions like \u0027merge\u0027, \u0027update-ref\u0027, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/local_commits_controller.go"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0b8942eff7b81f3bc0cabcf7b0ffd9ea9267a358303732b01e875cfbbd4440"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think about whether this should be marked as a return rather than adding to the stack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/quit_actions.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362cda5fe2cdb50916cfb5bf567e7dad609303ebf48405ef837a3b8a31d7dd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move into some abstraction (status is currently not a listViewContext where a lot of this code lives) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/status_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"325f82a8f2940dfac3c3d3b941ebba63e17ae0e1fb6b893782e84d12a494f0dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // requires knowledge of previous TODO file states, which you can\u0027t just get from the reflog. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/undo_controller.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f5c6bf725f7ae4f382f6f1a4b38e9bc8400cf18c4aea6886e5ad89f927368a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO i18n \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/fixup_helper.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"087584e8d44516deed5dd979e0cb8ba593cb1b95860d10404e5bee5d395a36c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if we should be calling more of the code from self.Git.Rebase.GenericMergeOrRebaseAction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/merge_and_rebase_helper.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"102475b0ee59ba840e200a4e7846a28f937633fb1b33a7cae2f625aa5f4f13cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // reverting or cherry-picking, where the rebase TODO entry has the same hash as \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/refresh_helper.go"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a6be9aceebb7eecc0560fe72936d4b070e880e938b6b126c54aa242ad1cac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more test cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/window_arrangement_helper_test.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f10e476b8d1b86399ef0b7e7610b6c60835e7d405687beb0d483fb5758678ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update to just \u0027Len\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/filtered_list.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"517495532d1a0c35b17bfd965dc1a2d10b893f827a393d22cb5fc1f2e73daac4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: now that we allow scrolling, we should be smarter about what gets refreshed: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/list_context_trait.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b55b3ac59b059e696a788088847381dce3a5dd80678efe10ad1f32ef7defcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move into presentation package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/menu_context.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fcd04a934fd86933d51d2abb6bbc6ebe4ec5d1aca169bc1cbe1c7063b792bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this breaks anything \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/setup.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f308cae7033e26f57d173334ac6586d609b7603df81f12e30ee42d545baff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove dependency on actual filesystem in tests and switch to using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/common/dummies.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0d677edbc4de974fb98ad096d4621fd838badeb273ec9a15544e7be4199efa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this out into a proper mode struct in the gui package: it doesn\u0027t really belong here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce48d164ddfc79716a91cf7376d3b26046289fdc29936114fb2ba686de625e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add tests and then use lo.Range to simplify \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch_builder.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b4df5eb103d50cc7f28e19fba5b708e9dc63193d2f6af7c90c942cf6c2985d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this is actually noticeably faster. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/patch/patch_builder.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"942988fbe251d6573cb65cbf6572e12c9670b9003d8f5a396130b7373ffe0ffb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove concept of name; just use path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/models/file.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"014ea1d11c0e11a353ff0c4b129ada746e044f0482cb7007da9ca7167d21c79a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this is actually needed here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ed7678df0dd6033c69dc19a48d2d339fb423685d719c538c41dcac683e53a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this is actually needed here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/commit.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d71e05fb356de273655592e5d13b44f0cc1e457ab8dcae5da7d19e2a55576f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only look at the new reflog commits, and otherwise store the recencies in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch_loader.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4039bb65975f8a406b2769b850dd223160a064126d5618a7537be076f16c3b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we only support the (common) case where the value of the config is \u0022base\u0022, meaning that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4fff67e7f77159ef262d4dbf6ae137f049c48c0e7456bcb92d79915a7ae309"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo, because git can\u0027t tell it apart from a todo that the user has \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/sequencer.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3ed6758e8698570316de36471f620b8f4d0435715db0be263b401ba7576f2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/daemon/rebase.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab0af63508bb96e45e1aefff26b5d54d7b279e63cb8f069b70363251064aa47"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 41 % of calls cross a namespace and only 59 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa017002806d5a0b83503f7891d04c4c69e1dfa67f61dfcfd5331a49392dec5e"},"properties":{"commitSha":"500267417b9779822e908ba7997f9adb9c881cac"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228717293663adf6814e4ed3902d35ae57e0fb1ae37165ea4de4f676848a2612"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33394ee39f39770f7a430febd0131f24983c2f80ad8e34937c28618fa87f07ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd65e2f04abdf477e5d882fff12a00d1ee228e0a527014aeb9b4139224ebe812"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f19fc865c57216518582aaae5939801ded8e425f8e1c3772a07b58b8f7b10068"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f922c7255994f5959364b9c3250dce73177cf5bdea64983fea86dca2fed1d22b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4a59e5ebdd54602107746841fd10b7252c68b34b02e02c73ed80377e8c2ca39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01608f9a8ad34b096aee2a7b8db3a283f5966bf882150c4bddd506a1a310911c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e2156d46cda595e7d965bddc06d5aa319840de65bb5c2838289f05d23d60877"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1375048b9ca8ef192c23faf83af425d2e99a11eb2f6e7951f3d837d8c63c990e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a616f6c11800bd17fafcb5c16d00f0732af9c44ca05635ea5dd728fcce94161c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed6f7f9c7c66487bff3c29d3a006cbac6d0bba1975272d4d518a58edd59d7a41"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cab79e38e0e5a59b49f54c6bbfc802ec8726628d462a1ac1e757bffbc787a530"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a52727a2b8066cb5d47bf70cce309354cbc967ec1c60a3d08c0e2eebdb96d2b"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aadc8cdf36a04788a512954d67d9e72775b6a7aa939c7af57ab4cf1e1f958797"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"624fb7dde90f83c935b74062cfd102da9316f9f50a04fea781b6657297b5d6d6"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81fd45685087c8ca6e91ee1b1de9065201dcef830c28a53e5cbc4cb07df3a5c8"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"655243207986e551272912095882d8d3135d1ae9078b377ff6a87a0413db28a0"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1587ab2310b2df30ff7970e3717c3c5f34fe2e87d0776b4f94b1204335fd1458"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aebd958cf3834f47d63a871e76cae69810b1fb502ce5c9a208ce322517d5d578"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c769e23589eb2eaec6a6328246a241d04767552dffcc25d63b2e727510131fc"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"788a989324b62e72dd5eb04ccb3bc0a04b1665083dffc3f004967e34ed87f15d"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db5149ff2d08db67d19dcc44d023b534b10cfeef91167c97651bc8aabd4c3ba9"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f0945965ede2a3566a2c1b4eed3ad9c686fbbc649792f1a00f3f34f6abc6e44"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35e2565dde0ef2bdb8f57038895025b822faaad64ef3fc731b706dd282b6d436"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18a13416b02c068745a4bc7348321d860566659535f363408b67b00a31529a07"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1dedbba8ae6671a5e2c1adbfe61d80736a4e7449b9bc925d47b705c09a3aef5"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b953ef8d4f4af94579fecd1c47f041fec0e73675b5beb2fd7b375ff7be1b26cc"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3eb0ed62af76d5f0de4e75d5470942845e329a6efefc2db8142cdb92baa576d1"},"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":"0f459a04cbf65a4a0988d57b3f2552fe5696d806658166bb9fb1d5285d00964d"},"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":"1a3ee7e85947ccc2d45cac01f4242d30dd19858079208103595522df99acd8e7"},"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":"8742aeebe3caa34812d2826cca546d1bdcd2f8f81aa2bcde81576f43b939e2a6"},"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":"3834eeaa7482588d6bf1fffb758edf593904ba40371046f851e86268b7de28cf"},"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":"cf20786a405c424c9e985cd0efec0b1ef2883a70b51b40974d18604e2c4d795a"},"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":"62d2d337af1353f7c3668913f5c1eb258fe2284b979acfb2d9dca2408cd04519"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2cd4437b7be35d57a4cdd45425982677203e5498a05982ba428a10fd3ba9aee"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"pkg/app/entry_point.go","line":170,"symbol":"http.ListenAndServe"}}}},{"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":"a27929dfe95358f9024c292dcda16d3a9be563e66005e0a8b0f6691aafb45370"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d64cabb826c7da3c81769100c2df26473a3d346c7b2be367458df3ffb825a79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b07f7579076628bd79d209a9a37ee15b3727086be16ddfbcf8b1646dd9b10be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"46eb56ca90f14ff58240ac181de64c98cab210a78b41d8e834bd882a2763a646"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/icons/file_icons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c025c6d811fa3b71ea55a658c9b1d423790567eb2561d0aea8f14d7e0e183d6b"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 14 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: pkg/integration/components/random.go, pkg/updates/updates.go, pkg/gui/context/traits/list_cursor.go, pkg/utils/slice.go, pkg/integration/components/text_matcher.go, pkg/gui/services/custom_commands/menu_generator.go, pkg/commands/oscommands/fake_cmd_obj_runner.go, pkg/commands/oscommands/copy.go (and 6 more) (15 orphaned of 252 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 252 of the 431 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/random.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a5228fbde8a52c8bc74c5f77d84ae6cbcd2898594a461ec243118717e4339"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf788ce15f952b946903127fb74d547e108763a6878158dfa6face36197c83c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/traits/list_cursor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49f8b6b364e2f7376b0b0208c47f77de9d0e9792e800665648b859746c4e78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/slice.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00632ba841a032463aaa995da06163a91da86a2ba343254a8163da90d93eb4fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/list_controller_trait.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de7058443ebe08e01530c936b0938e3b0882425aa0fba9e4f7145f18d53625e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/text_matcher.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493be3589e22829c2311c01332a586357f62709bec9d9d29df6dddc8b732350"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/services/custom_commands/menu_generator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a20bb7ae721785f03dc443ffe973212bef642e3bb7c419f895bfef8413c3c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/fake_cmd_obj_runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55580a3bc03591d2e2a0b64ac8095ca0af4cce4b36083530fa546c7699470585"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919707fdc6f98d233ed4346d23d58a74bba64367ea4b44fef3818c5a0be5c9b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/services/custom_commands/resolver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"242a497e4167e739ebc5469d1e6e5863b359b0521c8b6fe5ea4bf7701bd5ce59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/injector/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7969976c99ca6148e639342c0334952e67c4d92e81a35c815614c010d74fc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92859675c473d0c80f7d41cc1a9c7e6288166c972071a5c15ec1c5ebdcc8330a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/update_helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba27e4d941eac66300f7d7d9d1ff194c402c2cf1acf5664ea555f21a031443e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/branches_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e6962256d6bf4e6284dbaf00e8c006842db4747fc38ecbcf5d27d3b672e8f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: status_controller.go \u2194 status.go: \u0060pkg/gui/controllers/status_controller.go\u0060 and \u0060pkg/gui/presentation/status.go\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006054252574\u0060 Make WorkingTreeState a struct, and add cherry-picking and reverting \u2026; \u00608af8f775\u0060 Move types/enums/enums.go to working_tree_state.go; \u0060b210b436\u0060 Centralize logic regarding WorkingTreeState close to its definition \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/status_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f763406ca45a8d8871331f02cd30857d4d8aa9fb0d859d2f729eccd0fe9ed4c5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app.go \u2194 dummies.go: \u0060pkg/app/app.go\u0060 and \u0060pkg/gui/dummies.go\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00607a670964\u0060 Optimize number of early calls to GetRepoPaths; \u00609fa43394\u0060 Make it possible to handle toasts in integration tests; \u0060cd911183\u0060 feat: add \u0060GitVersion\u0060 struct \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f34a17364e4781783eccefa0d8c2ac5eaa4cc4872589500dec3d63083ae60"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cli.go \u2194 main.go: \u0060pkg/integration/clients/cli.go\u0060 and \u0060pkg/integration/clients/injector/main.go\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00608c716184\u0060 Set working directory in lazygit test command; \u0060b6c892a0\u0060 Provide a simple way to debug an integration test; \u0060e875d6b4\u0060 ensuring you can\u0027t accidentally forget to add a test to the tests list \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b436ee196bcc6472d6b1714e870f78f47eaea66d469f5052aca94aad5b1edc3"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03ba51e7dfede1b79fe46b0f37ee4b92bc5a67256d6051e65f4c482f3a3226eb"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a6df624454002306cd84756fac6bdc29d665f0cfb8233809f68b7a8d2869d76"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"744c855ee8a2ab3e5bc9c3a223b0b4183f109247a5f2c0fcf2019201e2d79b5e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41a3c4bb9e51f783944293fffc8719d2d0612f3b896600375893700fba25921"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Head(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee00adae622e4c192c7b9e1738619264ea2ab1406531593f18b70a91f1efe80"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Go testing.B suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/formatting_test.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf31317f5dc762b834df3c1de4b81232aa1a1b3fc64b9065a3972c5ea330e64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.hasCheckedContent || !self.hasCheckedTitle\u0060 appears character-identically in 2 files \u2014 pkg/integration/components/alert_driver.go, pkg/integration/components/confirmation_driver.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/alert_driver.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50867d13dac07f4ccee4bdc65de1ccc2059d21f004caf5b47bde26a53ca46231"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.IsMerge() || c.Status == models.StatusMerged\u0060 appears character-identically in 2 files \u2014 pkg/gui/controllers/basic_commits_controller.go, pkg/gui/controllers/local_commits_controller.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/basic_commits_controller.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a065036c9ca93de835310f6735abde6aa4e21fdf94ca7ffebe7346043d08e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, gocui.ErrUnknownView)\u0060 appears character-identically in 2 files \u2014 pkg/gui/layout.go, pkg/gui/views.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/layout.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"121e7efb3d1e9dbc78362c863540d5d45aa6e973e95f57cfe50576e1037c8e43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060icons.IsIconEnabled() \u0026\u0026 c.UserConfig().Gui.ShowFileIcons\u0060 appears character-identically in 2 files \u2014 pkg/gui/context/commit_files_context.go, pkg/gui/context/working_tree_context.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/context/commit_files_context.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ae5d0132385cfa07552752afb608ac8d82c4f17a1b75a9090a59f06da7b479"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.File != nil \u0026\u0026 node.File.IsRename()\u0060 appears character-identically in 2 files \u2014 pkg/gui/filetree/file_tree_view_model.go, pkg/gui/presentation/files.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/filetree/file_tree_view_model.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f6401e156de410dc66dab11f1a36960b5396162b1c0bee9f54904b79dfeb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opts.X \u003C arrowStartCol || opts.X \u003E arrowEndCol\u0060 appears character-identically in 2 files \u2014 pkg/gui/controllers/commits_files_controller.go, pkg/gui/controllers/files_controller.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/commits_files_controller.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd36728316737999090ea7a18dec34483fc8f77ca0cf9a8c74eb60e7474c2c3"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/4 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getLatestVersionNumber: \u0060getLatestVersionNumber\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"578537b6b073b7042ac08b6663f14a5b0d507ad850afcd1820fe0f4d8452f12c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: downloadAndInstall: \u0060downloadAndInstall\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4db7fc624a721946702a6e7e628744dab733f2eeaac4a879ff3dbb4bb5d890"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: verifyResourceFound: \u0060verifyResourceFound\u0060 calls \u0060http.Head(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb5907fd1a2a7f7f7d669c92edf548a8d8bc376e2e7a6251e9c4df3ab3caae"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: fetchRecentPRsAux: \u0060fetchRecentPRsAux\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"19599ea9848db581b0a2e3b080d4340f62f287cf927cd520e60eb50edb014248"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/project_root.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"406689a663d4adb7c5ebb1aafc7b6673be2876f3dca30604fc731070a9a44c95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/utils.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50890b2b13a7f9803101674fbd5a2d1b2a49fe4db63e1a27ffb451034811293"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/utils.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168daa0803bae08c751f3532ce2f7cd0ce607047da9a15f3fc8769df2a80e16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/updates/updates.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c601ff8b72aedfa634c17c085c4a2f6ce77c56f64b288a25efd9e6ee96585ed8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/logs/logs.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e2791806f4f1e925a0806c0cde578696a911154e75795d08234761064ec01c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/components/runner.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65040edd7f8980fb68b24e1351bf602f6b702397be388c4ec36fb13eadd0281"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/cli.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"96be3152110642926f9ad497674a61ef86bd14287ee7bbb844a8ffa54e9b499b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/integration/clients/injector/main.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"048b37051134ec86df851ee3872f252095411d59652f3b26ceaf73e453754fbc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := self.gui.g.OnUIThreadAndWaitBackground(func() { git = self.gui.git refreshHelper = self.gui.helpers.Refresh }); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/background.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4db02a65c1b39d34ba28f0ef6030bdebb3ef1b8cd28652be1a9771a44f1baf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/gui.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3b67c00b78511d62e3a6c8aa3a7ae4fa20524a7f3a600dcec0341ef95eeb73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(filepath.Join(repo, \u0022 \u0022)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/recent_repos_panel.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6fead2e35a326b839531672e40f7c038198d8688ad2e153446bab2bc6e0ab4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/presentation/graph/branch_drawing.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b724411a89055dbceafb7ee5499c271356303b70249e1498ecab24e981121f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/basic_commits_controller.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eea6b3efdc8080b28f136a2a70d4140638089b84073a10b1de3982a553697a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a46f2310921d2dd7fe8229ad0b751d6abd1f491a7a39e7ea53e152a636f093"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be4d39bfbfccd4c94c1dc7e2236c00fb452135da8b30f2e74a16f3bb3e9c19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if log, err = self.c.Git().Submodule.GetCommitSummary(path, side); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d2f37e515ffc6320be4c6a275addebb455576f1a12f25cab904c96ac0e203d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/files_controller.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ede99749820e971b73612cf3af7f863531100d64fee98e99dd0abbbdf414bc3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/switch_to_diff_files_controller.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4cb4f19d1b9f4002b2ca953569a9c050afc35e617e4c331270b902840c0a53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/cherry_pick_helper.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fd183882f1cf8ee6053199df783cdf6800fe4b511121b244948f2d65ccfa01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_helper.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c76c82d2827922e0d5d273dac5063c8efd8b57203e2a521cf0a16479f0b0625"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_parser.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88491547274afcbbf95a1fbbf4c3e97b2638700869faf23cf2b96de34ef6da9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/diff_line_queries.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbf30ea432191f0545db562f085ed57c70a243191b7ed859118b77cab381cfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/files_helper.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a2f8e3a15f7988c837f50df1c8b351632446c5af770def45175348c537518"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/repos_helper.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2eb1ff8fb7f0b9cf25435d40ed1def3fa0f1018b6080eeffa27eda10f0002"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/repos_helper.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40779dc7ed5f9dbea45a9b1de8c59b996fdc42c2c1999bccb4155904bd009d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/helpers/view_helper.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"535fa11ea0b038f66a4f998ffa3d6c677f740d7e88dd8fc1a8e1819deee8d8bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/escape.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9ee160a87558ee799a84de7f10a761de607d134c76e7bf82337cf608bc5c10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ei.outputCSI(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/escape.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aadc5e49e76057005eb1e38b34f099d8ed13cb7ef7b65ea5daadfdb1935fb16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/gui.go"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"8256e15cd6b8f6b4a72c1e2dc80bb35969d237d9accc4a596bdfc0a3806f3fd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gocui/gui.go"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67932ce237a5420b48101cc79af418a66fae28a3ae6eadfd36fbf72d9b9162d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/os.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a268c6f419626645790333c0cda1a14c037584719211960e05dd9567696366f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/pty_windows.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cb8dd6f12f6b3aec120c43ce471aaa9e6a3e7e4437e25f99ad4aa768792362"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/oscommands/pty_windows.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d966ffbd55ffe331f6da45ab27b4d1717668829556a64d022ebf6beb43d2300"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"285767e04867b0a9be3efce955645869c9b0118c5983909e5d7415d7b3feb173"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29e4e816f1a2c529cb35b5e91aa70192d849e506191f4e3926d8ebcfa89dd93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af5c5120b770a6f383a0e087d2e6b7b368f0049750edaf2b114f3b5f86fcd0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/diff.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e5ed6c88bd3b8e33464278332ba349b8abd1cf494b35e5e1a8a86609d30075"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/file.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03334e43233483bd8ce587840804eba199713d58172422d819036cd4c947d71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/file_loader.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b7bc73f5404315a4ca7505a2539e21cba376afbac52b53292831d5826e8476"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/file_loader.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca559519d39598e4f7a3c311e0b9b65e6097a4a0ea3bf2f25083ce49d78ad7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7e6421888cb69e749cdbcee120d51d2f569f7c7cd81ffe0d7faeb90062886"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf2031ec8ec82d648452dab414c7b76416e6a9d7190a8800fce241c9e777725"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45efb6310e24e9506f6e09343a589e3e82df9bfa97691dea12633660ce5d3c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceddd911a6a8760353caa4768d6ce912978292fa8bf0641a8ff7bff5e13110c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := newAbortCmdObj().Run(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/lock_error_recovery.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a7663966e9a2fd0d0379d48e16adf3b232ad5d7cc8bb0b486f2f41d45563d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/lock_error_recovery.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f4c9f9d052b2a3e2c0a53b0efa2ef931f95546a7792b6fefff88f8f6f10e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/lock_error_recovery.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f0f40efd23c6418e8e2b7b5e67ddd120578fbdf7a02a3cf2c7460591c9725"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/repo_paths.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bb0494b341edf1dff6d6a6001f5d78259aaf2a63c8c8557d0e28b8af11cf48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/repo_paths.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5644de734c76f6643bf10033b21041320250405b7af0f1f3c37f6a900bd7d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/stash_loader.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd8d92737a382e94868ea21c4b217d6defdaae22f3e8cd978dcfae9178ea0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/status.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bef9fc4eb26b88944c1b823e7441802a0d9a1f1e2f287449bee44f6e2edb143"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/status.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc484d7b4706e00186ac6b63f736c0a21f77eade72857e9ff774e608de32c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/worktree_loader.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3a32f73529e626f96b38a6593a0dcc324904b0468dc31ce7015dfeea545461"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/direnv/direnv.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b44d6d30e99f8edeb76d29cdc3f79d47d62f659a5286be4cd3ce3fe1abd66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(stdout, \u0026status); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/direnv/direnv.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1366993f550cefac7288a5124eab10212ebcc754ec5279e3b33ad48e1495f21b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := os.MkdirAll(tmpDirBase, 0o700); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/entry_point.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3a9a1e744e24f57a8a4abb84d5474d298bf43f47bd259dfe000a3fec7c4445"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/app/daemon/daemon.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b69900370a49bf650f739e0f8c8409eeb21e7af1b83a97d417c9be6cb9cfe4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060Load\u0060 turns a non-nil \u0060err\u0060 into \u0060return LoadResult{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/direnv/direnv.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9a8efcc9a0bcd82c2f0fe39fc81e9cb41d53ccddc426607167481de3dc4cdd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060queryBlockedEnvrc\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/direnv/direnv.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"93965948a823139ac5d540b82808ab162dd735dbd184757d26c9c96340c8eac9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseDirenvStatus\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/direnv/direnv.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceb46670add4d7a9ef7e6ef58d984545b80e062eac7b25671a76800df31a4bf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ghExecutable\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fe51c0490a7bb0a5823354063825374a6958576285f0dad4b7172cfe097ca2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetCommitDifferences\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022?\u0022, \u0022?\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/branch.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba45a6ff39d0288b2e30abcf2801bea354e1fd36fdfa4fade41db9505293896"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060Cat\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/file.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cef8488c1629484014bf9164d7ef77db49dee3447835acc67e7379fc7bf978"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ConfiguredBaseRemoteName\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/github.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0fcc0f0ea4d7dbb1930f9fc0e1037ceca11c638285a2a7da1e98d2e70a72a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060SquashMergeMessage\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/git_commands/status.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eb8bec289b3d8f9a32993b7ac84dad321a1f2369a2415b51d12f138e6e639c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060getCommitMessageBody\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gui/controllers/basic_commits_controller.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aeb7f8c30c90663325ca7b4bfbd3454ea2864e8cdf016ef86f2b7425e21819"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-276","guid":"4e27da05-61af-1d5c-aeb5-9f56b6ede3e3","name":"Incorrect Default Permissions","shortDescription":{"text":"Incorrect Default Permissions"},"helpUri":"https://cwe.mitre.org/data/definitions/276.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":59,"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."]}]}