{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"window.processMouseClicked (cyclomatic 30): window.processMouseClicked has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"89445b2d9a39da3717ee6e288966659c25074e0591c6bbce07248d6dab6e847f"}},{"ruleId":"D1","level":"warning","message":{"text":"window.processKeyPressed (cyclomatic 29): window.processKeyPressed has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98ec136b664658cc79e83b4380f3fd1fafedeb284e51a2932890af69d30e817"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.Run (cyclomatic 29): driver.Run has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 182). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/driver.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b22a86f722501a358ff49a19f6b6779af8a3c28f4e181fab536b5f383b1cff"}},{"ruleId":"D1","level":"warning","message":{"text":"Entry.TypedKey (cyclomatic 29): Entry.TypedKey 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":"widget/entry.go"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f258ce05abaf5b8367fa2aa84ab4a293fb2cf6948ac9afb14db227cac0c8f2"}},{"ruleId":"D1","level":"warning","message":{"text":"RichText.updateRowBounds (cyclomatic 29): RichText.updateRowBounds has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 412). 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":"widget/richtext.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ff0e9a316f84c19f76d08db9a9890b74ba0f267e6f3c9ade3b349a5a1fdbfa"}},{"ruleId":"D1","level":"warning","message":{"text":"widget.renderNode (cyclomatic 28): widget.renderNode has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/markdown.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7850eb2401a5cf41319a96726e7dacd81807fc03124af0ba86ab167613d6c056"}},{"ruleId":"D1","level":"warning","message":{"text":"sprintfString.Set (cyclomatic 27): sprintfString.Set has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/binding/sprintf.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"218f851bbb671c75363c3e42363610d57b72ddbca3dc4b908738dcc2391d4fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.goAndroidBuild (cyclomatic 26): mobile.goAndroidBuild has cyclomatic complexity 26 (threshold 15). Of this number, 25 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":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd944d65a9532a9f8a068f4ac4f5bad2cca9d98836c929a44ad8533700dcc77d"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.goIOSBuild (cyclomatic 26): mobile.goIOSBuild 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":"cmd/fyne/internal/mobile/build_iosapp.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"39729f518bb6f050796373f368f0f8cd2822723c2ba3d484316997e56c580420"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.envInit (cyclomatic 26): mobile.envInit 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":"cmd/fyne/internal/mobile/env.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d577c64d65185091da8d80c7abc28549a1ecc4b790d1bb5ce5307512c324e3c8"}},{"ruleId":"D1","level":"warning","message":{"text":"binres.addAttributeNamespace (cyclomatic 26): binres.addAttributeNamespace 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"953f09274a899a18b286fbd0a55ad5a0eed13a136e1139bc3339936f620cb0be"}},{"ruleId":"D1","level":"warning","message":{"text":"window.triggersShortcut (cyclomatic 26): window.triggersShortcut has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad053b185f9d7077808eb56da8a207d8864781e626532079a0c2e4492bd83bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Builder.build (cyclomatic 25): Builder.build has cyclomatic complexity 25 (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":"cmd/fyne/internal/commands/build.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54ed0fa18de0297f7d905c1fc1e21e09555362a68eb9fc48a0c2780cd3ad5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.runBuildImpl (cyclomatic 25): mobile.runBuildImpl has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/build.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8432598a7a0c69e00c30eceb51437e7268852f09dbd20f52a6d88ea3906db387"}},{"ruleId":"D1","level":"warning","message":{"text":"painter.VectorPad (cyclomatic 25): painter.VectorPad has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/vector.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982cbd5767e3d2aaa70acb8799b027c4f3ac08a8c4302d314b42f6e9d63fadf"}},{"ruleId":"D1","level":"warning","message":{"text":"tableCellsRenderer.refreshForID (cyclomatic 25): tableCellsRenderer.refreshForID has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 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":"widget/table.go"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"585533ccd2e4e343ddd9222245e8f7380dd6521a0a8fb44b5839362cf7ffdce1"}},{"ruleId":"D1","level":"warning","message":{"text":"tableCellsRenderer.moveIndicators (cyclomatic 25): tableCellsRenderer.moveIndicators has cyclomatic complexity 25 (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":"widget/table.go"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b9dd403f2d012784b554611ce8deb41756e4e007a63dd92cfe6a0c50f5e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"binres.PackResources (cyclomatic 24): binres.PackResources has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/sdk.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6cc10fe663eaf720f5bb35bde49ea556c46d17cd8a395d84e2f2db0bbe773a"}},{"ruleId":"D1","level":"warning","message":{"text":"entryRenderer.Refresh (cyclomatic 24): entryRenderer.Refresh has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/entry.go"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a78f5bcb091b4532e8d61fcbe6df92e6be9a0ac7787d0ebe9bd4375da202be"}},{"ruleId":"D1","level":"warning","message":{"text":"textRenderer.layoutRow (cyclomatic 24): textRenderer.layoutRow has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b783449e9fc2cf9007da6eb18a53e7d2c7a4c7a8f53beb6391550e9e486492c"}},{"ruleId":"D1","level":"warning","message":{"text":"Packager.validate (cyclomatic 23): Packager.validate has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"605fec247d0de5f71065f168a2301503cdccbfa5fa6fd4c00183ab6660fea7bb"}},{"ruleId":"D1","level":"warning","message":{"text":"binres.buildXML (cyclomatic 23): binres.buildXML has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 369, 342). 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb43e4434b9a3b8b096c0a3b51db37e83020db806584e2252ac7d612b429a99"}},{"ruleId":"D1","level":"warning","message":{"text":"window.processMouseMoved (cyclomatic 23): window.processMouseMoved has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 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":"internal/driver/glfw/window.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"49675350634cb4bdfc3c2ac53afeaf2712a077234527a668cfd6fecf83ec8384"}},{"ruleId":"D1","level":"warning","message":{"text":"treeContentRenderer.Layout (cyclomatic 22): treeContentRenderer.Layout has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 707). 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":"widget/tree.go"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2892d7bb9f00cdd3cc6d1275830024b7cf7e8ef18761d10062522598ccf2270d"}},{"ruleId":"D1","level":"warning","message":{"text":"Releaser.validate (cyclomatic 21): Releaser.validate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/release.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc2cb18d139a52428fc061ffac9d8527266aa45f9151f414042f71a907da99d"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.addAssets (cyclomatic 21): mobile.addAssets has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0620e1ab9b502c9e51ee87de6fa58a00f84846b085eb823408e02e7558b169"}},{"ruleId":"D1","level":"warning","message":{"text":"gLDriver.runGL (cyclomatic 21): gLDriver.runGL has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/loop.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222b4eb231595eeecb2c0113dbedd583e7fa3f2684e8fa3b99d2a9e7bc91adf"}},{"ruleId":"D1","level":"warning","message":{"text":"window.create (cyclomatic 21): window.create has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec76f0abbb89dc0a97706cdec79d35821fef676fe5db50306ae0f0cb90230f47"}},{"ruleId":"D1","level":"warning","message":{"text":"Packager.doPackage (cyclomatic 20): Packager.doPackage 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":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddca188c1249278f9c868a02e3648d26b4020f5cc37d8a48b34aa6517bdfc72a"}},{"ruleId":"D1","level":"warning","message":{"text":"noosDriver.doRun (cyclomatic 20): noosDriver.doRun has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/driver.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"06389803d3489951410a2903512592160f267bf2c5026ea4da498d2663285e1e"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas.tapMove (cyclomatic 20): canvas.tapMove has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/canvas.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c44137423d5a188fb8b983882a150d547677b15eb3c22650d97cfccea640fc"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas.tapUp (cyclomatic 20): canvas.tapUp has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/canvas.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e23b3b767ab5a829d3ca96290e1ca8dab9772ba140fbb9626f4f799ec34b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.hoverAt (cyclomatic 20): Table.hoverAt has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4061a5f1b11141ea8b76f151e373fad44d59e0efc27f033256f7101dbffa431"}},{"ruleId":"D1","level":"warning","message":{"text":"Packager.packageWindows (cyclomatic 19): Packager.packageWindows 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":"cmd/fyne/internal/commands/package-windows.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d96da3fef3110df990c639e66dc797d528a5b2aadd2f7d0fea227b214e56b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"tableCellsRenderer.refreshHeaders (cyclomatic 19): tableCellsRenderer.refreshHeaders has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 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":"widget/table.go"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"af449620760bdcfafc5719f6b4a7b3f9d0c2242f29427eb937ac41094790bb15"}},{"ruleId":"D1","level":"warning","message":{"text":"textGridRow.refreshCells (cyclomatic 19): textGridRow.refreshCells has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/textgrid.go"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eb064caa263aabbce2b721a0be976e4d2202ccb7b03783a3b5807b5ed0db2c"}},{"ruleId":"D1","level":"warning","message":{"text":"Tree.TypedKey (cyclomatic 19): Tree.TypedKey has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/tree.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"89705c859fb942fba5492ec0df8143f70d1a40916a74f09ecdf219ca1464f20a"}},{"ruleId":"D1","level":"warning","message":{"text":"mobile.parseBuildTarget (cyclomatic 18): mobile.parseBuildTarget has cyclomatic complexity 18 (threshold 15). 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, 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":"cmd/fyne/internal/mobile/build.go"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec8cf2839b4f356e746a254cddaf29bd7d2c816d8e5f95d4466e6ae72ce7979"}},{"ruleId":"D1","level":"warning","message":{"text":"binres.resolveElements (cyclomatic 18): binres.resolveElements has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 466, 438). 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c7109e9b5018f56d1cb3143ef50642326ea3e0576225f7e7270ba49bbc285"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.walkObjectTree (cyclomatic 18): driver.walkObjectTree has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/util.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbbc27eb22f2422406f078718b78f27b59d34d5dac8cd1509fe979478f0f1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"painter.drawRoundArc (cyclomatic 18): painter.drawRoundArc has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"da05799daecbbc184c27750f5c021ca6d56cd9b80a645b9bcea173dfd4e96351"}},{"ruleId":"D1","level":"warning","message":{"text":"software.drawShadow (cyclomatic 18): software.drawShadow has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/draw.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cdc8491b1b3a3636c1960aab324e3d39b6feb1b8296dcec69954b2b9d961f6"}},{"ruleId":"D1","level":"warning","message":{"text":"widget.renderEmphasis (cyclomatic 18): widget.renderEmphasis has cyclomatic complexity 18 (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":"widget/markdown.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ccb1f6ef8e021eb12960f814668584efdf1931e14a5309aec07aedb32ba63"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.Refresh (cyclomatic 17): Image.Refresh 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":"canvas/image.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c2c9fc8fed325a1304374059f3b081856299634d576c5e5c36c07d9a7c3d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"fileDialog.makeUI (cyclomatic 17): fileDialog.makeUI has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 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":"dialog/file.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a038c6b030d9a50b2bc195a61722c122ef78f797e4230635a4b3996ce945bf7"}},{"ruleId":"D1","level":"warning","message":{"text":"painter.NormalizeBezierCurvePoints (cyclomatic 17): painter.NormalizeBezierCurvePoints has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b25dd464626b2239b9198cefa90ee6b372f4a955a9abfb49a267cbee17202c8"}},{"ruleId":"D1","level":"warning","message":{"text":"widget.wrapWordLines (cyclomatic 17): widget.wrapWordLines 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":"widget/richtext.go"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f3404871c2d6c6048e8ddc4c50db53339a9a02219da3d30280a861424898d"}},{"ruleId":"D1","level":"warning","message":{"text":"gridWrapLayout.updateGrid (cyclomatic 17): gridWrapLayout.updateGrid 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":"widget/gridwrap.go"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d914de575b85568709bcc814094e8cc2d09a36d56a450bba95cdb3aeb6fc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"listLayout.updateList (cyclomatic 17): listLayout.updateList 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":"widget/list.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a218491ea86819cd2adc75cc307c8effe9539ee5c49bed0567c6b79b995b601"}},{"ruleId":"D1","level":"warning","message":{"text":"textRenderer.Refresh (cyclomatic 17): textRenderer.Refresh 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":"widget/richtext.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"e742ba959ae7090fc2c6f3db396bf085200efe45b33016a8fcda7eff99cb7c8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.ScrollTo (cyclomatic 17): Table.ScrollTo has cyclomatic complexity 17 (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":"widget/table.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f243a23c3ac0227a379a5d599ff26ee5c1a350f8061f430f5cdaf9081eff097"}},{"ruleId":"D1","level":"warning","message":{"text":"tableCellsRenderer.moveMarker (cyclomatic 17): tableCellsRenderer.moveMarker has cyclomatic complexity 17 (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":"widget/table.go"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58dd6725c2acb40fa71ccaab4f29ff5cdd993c0cc28c08651a1f98ad56e86cf"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.validateAppID (cyclomatic 16): commands.validateAppID has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"387594aa2c7624ff6c9f2d999cdbf2e371140bc358e995b3352aa27e26e1fa9a"}},{"ruleId":"D1","level":"warning","message":{"text":"XML.kind (cyclomatic 16): XML.kind has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"64db34fbf56c78aa4cf082d86f654e394317de7ee9768a863b98624007ef4c86"}},{"ruleId":"D1","level":"warning","message":{"text":"tabButtonRenderer.Refresh (cyclomatic 16): tabButtonRenderer.Refresh has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/tabs.go"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fac5b24fce330c9f1988484a30ba842ee09bc7577b0b3963a17939c42440885"}},{"ruleId":"D1","level":"warning","message":{"text":"sprintfString.DataChanged (cyclomatic 16): sprintfString.DataChanged has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/binding/sprintf.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4882cd86ef2e7f181e8de3cf3ed8bd0c6516216aa54f6338e731dd8f61e954c"}},{"ruleId":"D1","level":"warning","message":{"text":"fileDialog.refreshDir (cyclomatic 16): fileDialog.refreshDir 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, 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":"dialog/file.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f9987af4d5d2fec15ddf050500e527357558c6d6ee447f36013d4eb13b68f2"}},{"ruleId":"D1","level":"warning","message":{"text":"painter.drawOblong (cyclomatic 16): painter.drawOblong has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fac252ea991fe8d8c0cce2a23dca4068fa24ea1e0aee0106e1ff1bfe02eba24"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.visibleColumnWidths (cyclomatic 16): Table.visibleColumnWidths has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"3feeb2736bdee9e8df451c8a042fa8c3f549c7b89015bcb1ce893649c20972f7"}},{"ruleId":"D1","level":"warning","message":{"text":"Table.visibleRowHeights (cyclomatic 16): Table.visibleRowHeights has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b420014f24d7698b0ddac328516294c99104d18fd79ab35d19107cbfcdc5a"}},{"ruleId":"D1","level":"warning","message":{"text":"textGridRow.setCellRune (cyclomatic 16): textGridRow.setCellRune 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":"widget/textgrid.go"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b6e18985be5bf84c046259502544e3b4e41185820ac4ce73b8a159509932ca"}},{"ruleId":"D2","level":"warning","message":{"text":"RichText.updateRowBounds (cognitive 80): RichText.updateRowBounds has cognitive complexity 80 (threshold 15). Drivers by points: if/else 70, loops 7, boolean chains 3 (nesting depth added 48). Most of this is not in the body itself: 1 of the 80 points is its own statement and the rest belongs to one function literal inside it that branches (line 412). 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":"widget/richtext.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e051104302bc93b3c83b0f5a33f6ba065a5ce41750b30b2d7e537aaed29b743"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.PackResources (cognitive 68): binres.PackResources has cognitive complexity 68 (threshold 15). Drivers by points: if/else 37, loops 31 (nesting depth added 45). To reduce it, split the body into named stages: move each independent 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":"cmd/fyne/internal/mobile/binres/sdk.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d48c22894073b617fd4a98b3150af5b5a126131f2ab8076bc2e47d0bf8e4dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.addAttributeNamespace (cognitive 61): binres.addAttributeNamespace has cognitive complexity 61 (threshold 15). Drivers by points: if/else 44, loops 10, match/switch 7 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0338119ddda2376c0b916dfab0eed1f1a9130804d802c8b96720c093f16cf16"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.envInit (cognitive 53): mobile.envInit has cognitive complexity 53 (threshold 15). Drivers by points: if/else 41, loops 7, boolean chains 3, match/switch 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/env.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef548b023d5758b9f131a3073f0036766f3ebf8e478d89d82598822a9715ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"textRenderer.layoutRow (cognitive 47): textRenderer.layoutRow has cognitive complexity 47 (threshold 15). Drivers by points: if/else 36, loops 7, match/switch 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec33b4869ec6075be79e7744ef9db6c2689422c2677cb32684462b350d30cc"}},{"ruleId":"D2","level":"warning","message":{"text":"gLDriver.runGL (cognitive 46): gLDriver.runGL has cognitive complexity 46 (threshold 15). Drivers by points: if/else 35, loops 7, boolean chains 2, match/switch 2 (nesting depth added 28). Of this number, 45 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/loop.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1b4dce0facd4c6766bbe0b7578e5a0fb524e1106ee3b1e31237211898f8dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"widget.wrapWordLines (cognitive 43): widget.wrapWordLines has cognitive complexity 43 (threshold 15). Drivers by points: if/else 37, boolean chains 3, loops 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent 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":"widget/richtext.go"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"074cfe32591dd49bf1d5b33f0ba0b89ee9e3343becd5fe632685fc972fc25ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.runBuildImpl (cognitive 42): mobile.runBuildImpl has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33, loops 6, match/switch 2, boolean chains 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":"cmd/fyne/internal/mobile/build.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"304f58edc348c5a56e6c4690900f7647ab81983bcc5a5f5fa63968ead80c4054"}},{"ruleId":"D2","level":"warning","message":{"text":"window.processKeyPressed (cognitive 42): window.processKeyPressed has cognitive complexity 42 (threshold 15). Drivers by points: if/else 30, boolean chains 6, match/switch 6 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d752ad31ec4b10739beb06b91fdff8fafa66929d791d3a85617068bd0e9249"}},{"ruleId":"D2","level":"warning","message":{"text":"noosDriver.doRun (cognitive 41): noosDriver.doRun has cognitive complexity 41 (threshold 15). Drivers by points: if/else 34, match/switch 5, loops 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/driver.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a659b041f66a6754f4940d4a2a93945a58bdf8041f21073b4c9dbf40366eda44"}},{"ruleId":"D2","level":"warning","message":{"text":"tableCellsRenderer.refreshHeaders (cognitive 41): tableCellsRenderer.refreshHeaders has cognitive complexity 41 (threshold 15). Drivers by points: if/else 30, loops 11 (nesting depth added 23). Of this number, 25 points are the body\u0027s own statements and 16 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":"widget/table.go"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"121aba2247e33076ec3a3aa0cf298b7f387f6a1c43b6b28802f0af8dd332cbde"}},{"ruleId":"D2","level":"warning","message":{"text":"treeContentRenderer.Layout (cognitive 41): treeContentRenderer.Layout has cognitive complexity 41 (threshold 15). Drivers by points: if/else 36, loops 3, boolean chains 2 (nesting depth added 18). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 707). 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":"widget/tree.go"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4758bcecacf7cbd77b1b71c214f62ffe60f2187811244eac40a6a1f810b03"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.goIOSBuild (cognitive 40): mobile.goIOSBuild has cognitive complexity 40 (threshold 15). Drivers by points: if/else 38, loops 2 (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":"cmd/fyne/internal/mobile/build_iosapp.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a13a65a7cacc9e784eec2e48c5adb02eb70d90c1778aa6d5d604ca6131fee2"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.goAndroidBuild (cognitive 39): mobile.goAndroidBuild has cognitive complexity 39 (threshold 15). Drivers by points: if/else 37, boolean chains 1, loops 1 (nesting depth added 13). Of this number, 37 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":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87557fa263cdbbec9bb08ea2b491ddbeb1888bfde8eaa1ea4e18da0c36e4271"}},{"ruleId":"D2","level":"warning","message":{"text":"window.processMouseClicked (cognitive 39): window.processMouseClicked has cognitive complexity 39 (threshold 15). Drivers by points: if/else 28, boolean chains 7, match/switch 4 (nesting depth added 15). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cefcd21e26b8b762512a94376cc58ee7e50edddb34c243c3e840c81a4bcffc"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.Run (cognitive 37): driver.Run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20, match/switch 13, boolean chains 2, loops 2 (nesting depth added 22). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to one function literal inside it that branches (line 182). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/driver.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0732e9283b7c4e1c230547a42092c58b00516173020d8860ea6988d1f236a9c1"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.UnmarshalXML (cognitive 36): binres.UnmarshalXML has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24, loops 6, match/switch 5, boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dd3f1cd8e86c830d80991c3e04a7a0d57a104c1b9becedfb3c4f9a1c91e62e"}},{"ruleId":"D2","level":"warning","message":{"text":"textRenderer.Refresh (cognitive 36): textRenderer.Refresh has cognitive complexity 36 (threshold 15). Drivers by points: if/else 30, boolean chains 3, loops 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"3907367ea3d8dee220da26c7ac75aac8c3a3b1ce029df37967b24b89e7cac90a"}},{"ruleId":"D2","level":"warning","message":{"text":"window.processMouseMoved (cognitive 35): window.processMouseMoved has cognitive complexity 35 (threshold 15). Drivers by points: if/else 29, boolean chains 6 (nesting depth added 12). Of this number, 31 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"905cc124a656b5931eae435cd806c9e3360b3f705cd23c5e77fd6586298708f3"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas.tapUp (cognitive 35): canvas.tapUp has cognitive complexity 35 (threshold 15). Drivers by points: if/else 33, boolean chains 2 (nesting depth added 14). Of this number, 31 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":"internal/driver/mobile/canvas.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97902d634e7138b49e12de8e24a26faacfb2af32c1e74c079c86299556ecb96"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.addAssets (cognitive 33): mobile.addAssets has cognitive complexity 33 (threshold 15). Drivers by points: if/else 32, boolean chains 1 (nesting depth added 12). Of this number, 24 points are the body\u0027s own statements and 9 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":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b4bc87903d87e492732bcb648359b67000b2f84907c2e14afc5ec82fc8df44"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.drawOblong (cognitive 33): painter.drawOblong has cognitive complexity 33 (threshold 15). Drivers by points: if/else 31, boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b35724230bbdb42d4082d436feee0cedb290badd4752e2ad75dc8ade3d13c25"}},{"ruleId":"D2","level":"warning","message":{"text":"sprintfString.Set (cognitive 32): sprintfString.Set has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, match/switch 4, loops 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/binding/sprintf.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d955750817b63b9d5a9e74669657a041f6926c85eb88061050edf1d67e5051"}},{"ruleId":"D2","level":"warning","message":{"text":"glFunctionArgToString (cognitive 32): glFunctionArgToString has cognitive complexity 32 (threshold 15). 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":"cmd/fyne/internal/templates/data/webgl-debug.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bded6cbd91780a8074335a63c8548f40e024fafea2295effba742d5989fbfc"}},{"ruleId":"D2","level":"warning","message":{"text":"Releaser.validate (cognitive 31): Releaser.validate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 30, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/release.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d97e7ed58a708df4a6f4ebcdb2130f9887d30cc4431d750a01608645c14b51f"}},{"ruleId":"D2","level":"warning","message":{"text":"glfw.itemForMenuItem (cognitive 31): glfw.itemForMenuItem has cognitive complexity 31 (threshold 15). Drivers by points: if/else 30, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/driver_desktop.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d5c6a1bb5d04f69c618bfef644dafb557264b62d9fd15bcc8d9ad7137719d3"}},{"ruleId":"D2","level":"warning","message":{"text":"entryRenderer.Refresh (cognitive 31): entryRenderer.Refresh has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20, boolean chains 7, loops 4 (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":"widget/entry.go"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"32191fe4ead514af58ae2e4c1a96e684b565d031c6b2c82dc93c7c333407bb96"}},{"ruleId":"D2","level":"warning","message":{"text":"software.drawShadow (cognitive 29): software.drawShadow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20, loops 5, match/switch 3, boolean chains 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":"internal/painter/software/draw.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"28da584509cbf8fd20f75bde3fbe847c0f4c68a1e75187c6fdf23a5dc30844cf"}},{"ruleId":"D2","level":"warning","message":{"text":"tableCellsRenderer.refreshForID (cognitive 29): tableCellsRenderer.refreshForID has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15, loops 11, boolean chains 3 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f317c9378b4a98f5022e02abec228fcf6ecad03266b23220e73c17be54eaae"}},{"ruleId":"D2","level":"warning","message":{"text":"tableCellsRenderer.moveIndicators (cognitive 29): tableCellsRenderer.moveIndicators has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15, loops 9, boolean chains 5 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"239b267c4c07f892fcc7c332b0e82d7190431cf89a6945351cc45a028e873298"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.parseBuildTarget (cognitive 28): mobile.parseBuildTarget has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24, loops 3, boolean chains 1 (nesting depth added 9). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent 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":"cmd/fyne/internal/mobile/build.go"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fcac16d5523814791dfb73cbedd99acba6c6c5af2ec962e6bfe6dddcbf192f"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.buildXML (cognitive 28): binres.buildXML has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, loops 10, match/switch 2 (nesting depth added 7). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 369, 342). 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba33704d8e158630b0e6f5bec8dc48b5a2cc3496d6b5f856b5750f356fbe9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.updateLabels (cognitive 28): Form.updateLabels has cognitive complexity 28 (threshold 15). Drivers by points: if/else 26, boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/form.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f451d8d4e02b76f0b2089c0cf26ad79ce418884d81902ce032f377dee83b2c39"}},{"ruleId":"D2","level":"warning","message":{"text":"gridWrapLayout.updateGrid (cognitive 28): gridWrapLayout.updateGrid has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, loops 8, boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e8ac56887592a4999ec02efd4e707a8206924304c6a5f25968cbf3691659fd"}},{"ruleId":"D2","level":"warning","message":{"text":"textGridRow.refreshCells (cognitive 28): textGridRow.refreshCells has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, loops 9, boolean chains 4 (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":"widget/textgrid.go"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ddc41c5044705461ef3ea40304ced3fed4cd8a73da023294d43a2064823418"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.Refresh (cognitive 27): Image.Refresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"canvas/image.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae72952e37dd8d61dd84f8506afcdcac1d2e30c5a5518b34067c0311b42ef93"}},{"ruleId":"D2","level":"warning","message":{"text":"Packager.validate (cognitive 27): Packager.validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, boolean chains 4 (nesting depth added 4). 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, 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":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14e8c5c7515cb22026e3379d5c384e9c80bbb396f27650543b9f6352b0ea763"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas.tapMove (cognitive 27): canvas.tapMove has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, boolean chains 4, match/switch 2 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/canvas.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a90ac98e0d9601ff6ac12b71da8d5423b9aa813e903112d1c7e6cf8262ab9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.build (cognitive 26): Builder.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, boolean chains 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/build.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2ab6323112b3542a12b04110298967a92ccb193576c581ed13251de43b2023"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.validateAppID (cognitive 26): commands.validateAppID has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, boolean chains 3, loops 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5d66859613adce61f44e87bdc74342403ddfc0b51a0e6fec3a35dcbc322ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.resolveElements (cognitive 26): binres.resolveElements has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 5, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 466, 438). 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cd422bfa405459295fa98706f6434acf70bedb51b16ab7c63865d49075b914"}},{"ruleId":"D2","level":"warning","message":{"text":"Pool.UnmarshalBinary (cognitive 26): Pool.UnmarshalBinary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, loops 7 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/pool.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083ea5f15ea2203ae92293c534d86e497cd380435220bbc72798f57ff91ec30"}},{"ruleId":"D2","level":"warning","message":{"text":"listLayout.updateList (cognitive 26): listLayout.updateList has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, loops 8, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/list.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a339de0c86d41fc72457cec7d64da0289a519c3a00f0d094d19e314f561b76fa"}},{"ruleId":"D2","level":"warning","message":{"text":"tabButtonRenderer.Refresh (cognitive 25): tabButtonRenderer.Refresh has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, boolean chains 3, match/switch 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":"container/tabs.go"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e380ac955619513b6f977e6f00ef87703242521efa582dfa15533b6412e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.walkObjectTree (cognitive 25): driver.walkObjectTree has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, loops 4, boolean chains 2, match/switch 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/util.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96e204902c02720a50de95bf3598f04dfe2c0d65671bdd4ffd9a4fd2635cfae"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.NormalizeBezierCurvePoints (cognitive 25): painter.NormalizeBezierCurvePoints has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, boolean chains 9 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"0660bcec1051ba1a59b4da1f5e754c2bba49890280017b003260af08ae4c2854"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.VectorPad (cognitive 25): painter.VectorPad has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, boolean chains 6, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/vector.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea944f1a0730ce6f81ebc116e13df7187fa5b78988535559ba0efcb32788533"}},{"ruleId":"D2","level":"warning","message":{"text":"textRenderer.calculateMin (cognitive 25): textRenderer.calculateMin has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, loops 3, boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"46206479b64260a2d055a0b9eb86864a1e8de2cf1768dfe769848c3117e5e928"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.addAttributes (cognitive 24): binres.addAttributes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, boolean chains 3, match/switch 3, 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"1923b89d5bdafa0e48b7827a301f03e52ec565031874eb0700ce8d9694ee2c03"}},{"ruleId":"D2","level":"warning","message":{"text":"sprintfString.DataChanged (cognitive 24): sprintfString.DataChanged has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, match/switch 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/binding/sprintf.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f127293168d71af515a4d2efd2bdfb9bd97f81cf8602b3d220a0b0e87ac63a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Entry.TypedKey (cognitive 24): Entry.TypedKey has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, boolean chains 5, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/entry.go"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"df43e02f45f763e54bab6ba5babe4c8e5f4b2a4efd0d19f549d6f5cc1888a05f"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.visibleColumnWidths (cognitive 24): Table.visibleColumnWidths has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, loops 5, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"b639a1e78d7d29ea614032136a9782feb19bcda0367467058ccf07eae3650088"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.visibleRowHeights (cognitive 24): Table.visibleRowHeights has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, loops 5, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dc48bf8c734a8b8a1b3cb76f86c0c747b6ef34775f4cb8ecc621cdc34ebaad"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree.TypedKey (cognitive 24): Tree.TypedKey has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, boolean chains 3, match/switch 1 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 10 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":"widget/tree.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc8deef272fc9654aeae9a6524e9ec1b43c7b268368acc74dc535f6ba8032b"}},{"ruleId":"D2","level":"warning","message":{"text":"Packager.packageWindows (cognitive 23): Packager.packageWindows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/package-windows.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2632b4ecc1494b0f296cf1159fb708122250567e7fb5ee87fcc83cf74dc14057"}},{"ruleId":"D2","level":"warning","message":{"text":"window.triggersShortcut (cognitive 23): window.triggersShortcut has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, match/switch 4, boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5b2e31668eae8fb089e57457da6440f655b0319a4186c7de4a0bcfeb720e9"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.typeDownCanvas (cognitive 23): driver.typeDownCanvas has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, match/switch 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/driver.go"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f30f6b3d46ac98b9422d3af485d5f2a73d0354be1ca8ed47eb1a99b554241a"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.hoverAt (cognitive 23): Table.hoverAt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, boolean chains 6 (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":"widget/table.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e9b1cc0f3f90b10669069ddf6cecd736724592618de499c3d3fd8fc523f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"fileDialog.makeOpenButton (cognitive 22): fileDialog.makeOpenButton has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 273). 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":"dialog/file.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d81a40644efa250c0252addff2b69b3d1b747d9a48a668e285872936a8e7a61"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.tickAnimation (cognitive 22): Runner.tickAnimation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/animation/runner.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf7a41636be76d331b78ceffcf24edafd863af99bdf357f07cc469269364c65"}},{"ruleId":"D2","level":"warning","message":{"text":"window.create (cognitive 22): window.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 5 (nesting depth added 1). 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: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f3550ea77d1942ed7d1b071f59ccd6f9a02750b6651611612780d12e912ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.CachedFontFace (cognitive 22): painter.CachedFontFace has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/font.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c53e25ff651e659c38bd9c703c18a9de475397dd0cfd217f7d8c6483e844970"}},{"ruleId":"D2","level":"warning","message":{"text":"app.convertLists (cognitive 21): app.convertLists has cognitive complexity 21 (threshold 15). Drivers by points: loops 13, if/else 5, match/switch 3 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/preferences.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01de7ed2a3b9fed13fdd179ce41813368e274b7c1c3425978545831af6ac719"}},{"ruleId":"D2","level":"warning","message":{"text":"Package.UnmarshalBinary (cognitive 21): Package.UnmarshalBinary has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 2, match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/table.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"483dd8ccb677fca44de4b13fc8c89bbb007f8248a0e33cc8d388e636c0933c29"}},{"ruleId":"D2","level":"warning","message":{"text":"fileDialog.makeUI (cognitive 21): fileDialog.makeUI has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 8 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":"dialog/file.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"187372b04ae02fcbdcd02769a4e0f6c99d9e1ca7b152c967555d245d3e12c639"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.drawRoundArc (cognitive 21): painter.drawRoundArc has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 1, loops 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e18480301ff094806ad8c60e93ad718ae412a60e8007b59f4ba711ad3f6d815"}},{"ruleId":"D2","level":"warning","message":{"text":"widget.renderNode (cognitive 21): widget.renderNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/markdown.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad5dc24177b2118c85452204058e96bd49254281ae2a97904d68d45e0320303"}},{"ruleId":"D2","level":"warning","message":{"text":"Entry.registerShortcut (cognitive 21): Entry.registerShortcut has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1092, 1140, 1122). 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":"widget/entry.go"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133d72f7b5e92c2592065f145a17448571aa858fb761e8b249ddd04b503664e"}},{"ruleId":"D2","level":"warning","message":{"text":"textRenderer.Layout (cognitive 21): textRenderer.Layout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 3, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e632aa007b1339f7e258a6054a2091ffe63a49eb99e703428aedadcb33b1f26c"}},{"ruleId":"D2","level":"warning","message":{"text":"tableCellsRenderer.moveMarker (cognitive 21): tableCellsRenderer.moveMarker has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 2, 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, 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":"widget/table.go"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7053f1340e8dc02c72ac6f5a61f256fbe19febd28f0c0fa2f3c6be2942cbe381"}},{"ruleId":"D2","level":"warning","message":{"text":"Packager.doPackage (cognitive 20): Packager.doPackage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 2, loops 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/commands/package.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfd7180cedeaf08e90d949227c0e7b3a440b19288e9157b38c6ec41129e1876"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDialog.effectiveStartingDir (cognitive 20): FileDialog.effectiveStartingDir has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (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":"dialog/file.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3045877198a8f9bca066b1c3d4d1ca548a69d337b7c0d06c2e59d2ecf2921750"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.FindObjectAtPositionMatching (cognitive 20): driver.FindObjectAtPositionMatching has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 4, loops 2 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/util.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"146cc25cac361e51e3d55d7c8824139d7b49e0d2f1c27703aa960f60e38b25e9"}},{"ruleId":"D2","level":"warning","message":{"text":"listLayout.calculateVisibleRowHeights (cognitive 20): listLayout.calculateVisibleRowHeights has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, loops 3, 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":"widget/list.go"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a620ee30bd2d715ad2cb59c73d526a40fe4f193e9786e40cf53c7231746a0137"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.splitQuotedFields (cognitive 19): mobile.splitQuotedFields has cognitive complexity 19 (threshold 15). Drivers by points: loops 8, if/else 7, boolean chains 4 (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":"cmd/fyne/internal/mobile/strings_flag.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c03130251ef17333062c7798dca698cd1a69289e741f0a502edd2f464c8341"}},{"ruleId":"D2","level":"warning","message":{"text":"appTabsRenderer.buildTabButtons (cognitive 19): appTabsRenderer.buildTabButtons has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/apptabs.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacd6188104454ef09dc78c6a3ecf4eae646380b53c638adb606bc1a860ddef0"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusManager.Focus (cognitive 19): FocusManager.Focus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3 (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/focus_manager.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aa1daa4ccee22315eda1597ef6970227ffab31b6e6057508d9fe12daea5bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Canvas.EnsureMinSize (cognitive 19): Canvas.EnsureMinSize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3 (nesting depth added 3). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 104, 96). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/common/canvas.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"06866b8469958edcf120d6f658ecdc52debe46034a895cc001536321b90bb84e"}},{"ruleId":"D2","level":"warning","message":{"text":"touchCanvas.tapUp (cognitive 19): touchCanvas.tapUp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 6). Of this number, 15 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":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaae84a4e0d93215dd4e454c50b4daf6f858fa86c34e0d2defca047b04bc6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.genericDeleteAll (cognitive 19): repository.genericDeleteAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 3 (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":"storage/repository/generic.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"262678fae6fe6f175526183251945264896b11f4b0384ed9737bce8d1cf89da8"}},{"ruleId":"D2","level":"warning","message":{"text":"widget.renderEmphasis (cognitive 19): widget.renderEmphasis has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 6, match/switch 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/markdown.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"24579a7dfaa71636db5d8c3fb79f156cef391a070b4440d13aa276737f1c33d2"}},{"ruleId":"D2","level":"warning","message":{"text":"widget.renderHeading (cognitive 19): widget.renderHeading has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 5, match/switch 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/markdown.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e3215b8c1f29acbe0be4a3f78739d3070c577edcb765c0710dc2b5176a0f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.buildAPK (cognitive 18): mobile.buildAPK has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, 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":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60d7aa1cee0b62b2e74158027a0e1f3adcc25866eab57977c9a4b7f01d32ea"}},{"ruleId":"D2","level":"warning","message":{"text":"XML.kind (cognitive 18): XML.kind has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"322aea3fe4a76097d5552e8f44d17680e9ebd6472d3d96969987ad508d3d2537"}},{"ruleId":"D2","level":"warning","message":{"text":"appTabsRenderer.Layout (cognitive 18): appTabsRenderer.Layout has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, loops 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":"container/apptabs.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ee25eca83d0ecb21d88449ae35f2f667753cdd40221c411638f2ff66bfd53"}},{"ruleId":"D2","level":"warning","message":{"text":"boundList.doReload (cognitive 18): boundList.doReload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 5, 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":"data/binding/lists.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"89caa9d09aa0c2ca26e2a52067eca2ae43e2f0eccf28a7f47cc250b0d4a83845"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryPreferences.set (cognitive 18): InMemoryPreferences.set has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/preferences.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e17655ea4ce8e9657cf573fef423e7d7a97eead643aaa738470d88782d2742c"}},{"ruleId":"D2","level":"warning","message":{"text":"accordionRenderer.updateObjects (cognitive 18): accordionRenderer.updateObjects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 6 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/accordion.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b1313e93a8e05db64b9167f80374c17036eee5d7e5f0fd3ab9b048215d6449"}},{"ruleId":"D2","level":"warning","message":{"text":"RichText.lineSizeToColumn (cognitive 18): RichText.lineSizeToColumn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"widget/richtext.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a0017f305e23a3c94c6555bae5b3946ac511113cc3feb513817eb59740bd8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.TypedKey (cognitive 18): Table.TypedKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d945e7596041f46608129563e9bfaba9038181c6d412b415edda6a5d2ae41a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.ScrollTo (cognitive 18): Table.ScrollTo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3428e5fd19a7bafdd7bc09409c5f69b146c7bd92831dca076bf47f6b25dbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"tableCellsRenderer.MinSize (cognitive 18): tableCellsRenderer.MinSize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 4 (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":"widget/table.go"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2f66b794666c1cb8c9f53ca62347b5c4df2a8f7220d24835e22b8739d25e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"textGridContentRenderer.addRowsIfRequired (cognitive 18): textGridContentRenderer.addRowsIfRequired has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 4, 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":"widget/textgrid.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7a2077d33d90ec6976bc68861da0f9344e2a247d6fe27925620f9fd29a5c57"}},{"ruleId":"D2","level":"warning","message":{"text":"mobile.rfc1034Label (cognitive 17): mobile.rfc1034Label has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 4, match/switch 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/build_iosapp.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"665e1b944eb75be02617d8dd485f6bcae2cb2720c5295106429805cf250ffa66"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.handleTokens (cognitive 17): binres.handleTokens has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d04a3730fbf17478f8bb4e03f38b0f72b2511c7556923b959af76d5dce4ed8b"}},{"ruleId":"D2","level":"warning","message":{"text":"binres.apiResources (cognitive 17): binres.apiResources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"cmd/fyne/internal/mobile/binres/sdk.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4ee1193eb6b47fd468dc41890084168a5f1552f9e9113f251ab11a1462462b"}},{"ruleId":"D2","level":"warning","message":{"text":"innerWindowRenderer.Refresh (cognitive 17): innerWindowRenderer.Refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/innerwindow.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffa0c89305579be4f14ed861c424f33edb22c1f0e5d8a419c7381762ac11d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"tabButtonRenderer.MinSize (cognitive 17): tabButtonRenderer.MinSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"container/tabs.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"97878d3f3e75611d99bef9b2c9cefc2294f1fd365ee2f9567dca255e22a05484"}},{"ruleId":"D2","level":"warning","message":{"text":"binding.stripFormatPrecision (cognitive 17): binding.stripFormatPrecision has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, match/switch 2, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/binding/convert_helper.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ca1314380b5ad36dc9e1978623ce05703348021b16eaf6b7ec5bfa2704bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"boundTree.doReload (cognitive 17): boundTree.doReload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 5 (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":"data/binding/trees.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"363cd9f74f8689b9a6ffa88f9b1bd24048615d2c7b7c2a635c5ecd21ed7aa062"}},{"ruleId":"D2","level":"warning","message":{"text":"fileDialog.refreshDir (cognitive 17): fileDialog.refreshDir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 5, loops 1 (nesting depth added 2). 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: 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":"dialog/file.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd68f97ec1407a232054b2c8d12e674442ed3a38191f2889188401440c165df7"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundedChan.processing (cognitive 17): UnboundedChan.processing has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, match/switch 5, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/async/chan.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac5f69740e87cec509f6ba550a9ff9b351c8e96f047e3fe0c498577415d40c"}},{"ruleId":"D2","level":"warning","message":{"text":"glfw.addMissingQuitForMainMenu (cognitive 17): glfw.addMissingQuitForMainMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 2 (nesting depth added 7). Of this number, 9 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":"internal/driver/glfw/menu_notweb.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3ba0d99da3c3a66dc976ed29273585ff849e1ad541e4def72039697f1affb"}},{"ruleId":"D2","level":"warning","message":{"text":"widget.getTextWhitespaceRegion (cognitive 17): widget.getTextWhitespaceRegion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2 (nesting depth added 4). 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":"widget/entry.go"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ddf8da18598b26c3d43a95dbbd0f0b8c54eb22709a1ddcac933db4487794a"}},{"ruleId":"D2","level":"warning","message":{"text":"buttonRenderer.applyTheme (cognitive 17): buttonRenderer.applyTheme has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/button.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b298fb832227f223e91f195224b60c7d9c2aec76cbdc1c353a2a1bad332345"}},{"ruleId":"D2","level":"warning","message":{"text":"GridWrap.TypedKey (cognitive 17): GridWrap.TypedKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4df0e7cf16847ef3065c223af17e036a5c51ba43b56b88d06cb9eb1266550b"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree.walk (cognitive 17): Tree.walk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, 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":"widget/tree.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e163975d41f0a8fb97ccf2a2b89df9dd3ff47cf8dc240c6716ed208575df244e"}},{"ruleId":"D2","level":"warning","message":{"text":"treeContentRenderer.refreshForID (cognitive 17): treeContentRenderer.refreshForID has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 4, boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/tree.go"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ad891fc2e20b8a9f334e144cd69eb8ca067b30d07fc3e88fe7daaf549f0c4"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.updateTranslationsHash (cognitive 16): commands.updateTranslationsHash has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 3 (nesting depth added 6). Of this number, 12 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":"cmd/fyne/internal/commands/translate.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b70a9280cad540343d722f5f2915561e0c0c6a7d5b1ad5e0d0e06d0ad74360"}},{"ruleId":"D2","level":"warning","message":{"text":"XML.RawValueByName (cognitive 16): XML.RawValueByName has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 4, 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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"132694322c920950798168a9b94733fd27e74bee74b56be243d15be4ca8f0f2c"}},{"ruleId":"D2","level":"warning","message":{"text":"container.tabsAdjustedLocation (cognitive 16): container.tabsAdjustedLocation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"container/tabs.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cf6889d84422a71eb1af7b3a1a6a3c1c46a3a1034689480662341a1ada69c5"}},{"ruleId":"D2","level":"warning","message":{"text":"window.fitContent (cognitive 16): window.fitContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3 (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":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad047b818ebbf2545fb6a8ca8f8ce8fe03bc8fb98a7b06b1620c7d11029bd1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"painter.drawText (cognitive 16): painter.drawText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 1 (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":"internal/painter/gl/draw.go"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc2da8be2ebe6605bf3d269e198918bfe04c5dcdd2472c4bde4ef765127374"}},{"ruleId":"D2","level":"warning","message":{"text":"repository.ParseURI (cognitive 16): repository.ParseURI has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"storage/repository/parse.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a554ea76267251c6bc84b5fdb08d4e3f64f46fc451aa9ac1c0855b52d3b425f"}},{"ruleId":"D2","level":"warning","message":{"text":"accordionRenderer.Layout (cognitive 16): accordionRenderer.Layout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 2 (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":"widget/accordion.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"798ffbd64b3a08ab1bff7aede58d72ffcb252d9a0289ec1455a91f002b5bd487"}},{"ruleId":"D2","level":"warning","message":{"text":"listLayout.updateSeparators (cognitive 16): listLayout.updateSeparators has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 4 (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":"widget/list.go"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fe88ff7d4934b78bf9a2ae5d21a3bc3527c6eaaac75c41a469ba205c0ae247"}},{"ruleId":"D2","level":"warning","message":{"text":"freeResources (cognitive 16): freeResources has cognitive complexity 16 (threshold 15). 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":"cmd/fyne/internal/templates/data/webgl-debug.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12dec2f54b3465054cfe70d8331a520418a99dbadd732dcedde42ff87c83399"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: window: TooManyMethods \u2014 99 methods, declared across 8 files: glfw/window.go (56), glfw/window_desktop.go (32), glfw/accessibility_notdarwin.go (3), glfw/window_notdarwin.go (3), \u002B4 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c274c03187fb70a528567e782bb0df7a0ae908d1b4343dd12147258de82c83a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/entry.go: FileTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/entry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a17d0e2764037f23dd9a5729b2854c5ca9085c3ef8476cd94959bfe400de19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Entry: TooManyMethods \u2014 78 methods, declared across 2 files: widget/entry.go (71), widget/entry_validation.go (7). 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":"widget/entry.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99960115ebaddbabdcff36e72c37f9bd6cf5b8e046a380c7b75788bb2792fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/table.go: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"849327167853ceca5d58780e88f3b3edd611467dcf32a6be419906a97e8894c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: painter: TooManyMethods \u2014 64 methods, declared across 6 files: gl/draw.go (28), gl/painter.go (21), gl/texture.go (12), gl/capture.go (1), \u002B2 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/painter.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"14448caca72306263fc5075c1005207c8383007d1fb348061f3c4fff7cd8d334"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/richtext.go: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf4a20fc411da9b31ae7e7ace1b04100c6712ccc7d3ee1de703526868cd5850"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gl/draw.go: FileTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5451e9de39d11557d510dcf47a902d4dd02b415629773b4c9414ce9c0e210fc3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: coreContext: TooManyMethods \u2014 47 methods. Most of these members implement gl.context (47 of 47 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":"internal/painter/gl/gl_core.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"68be91013dae1db9244ce9f67ab1f0764b2f6d55370ec0fdf9ffb055100c7466"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: mobileContext: TooManyMethods \u2014 47 methods. Most of these members implement gl.context (47 of 47 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":"internal/painter/gl/gl_gomobile.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"53661614702943dc23184a037523c27b2f34412c5b6b67e8f2b65b6f69e67dd3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Table: TooManyMethods \u2014 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"02adc3875f74e6370d34b000d9b054b94241df12adbc0f2ea6ffa2fa3052fc01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/tree.go: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/tree.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"408c447417f4dc868bff95b193136915648fc7d7fec34fa45ddd62f5e6ea6d51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glfw/window.go: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3a298801512a17c97e813075bca9e9b416d0c7b1b2d245da8b3260c400fccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/webgl-debug.js: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). 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":"cmd/fyne/internal/templates/data/webgl-debug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb84e016e120ff960c6bfa26fb39d44c91f68bd60a314b1461c3bb99da1510e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: painter/draw.go: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9730860a5f5560759d495c5c47b6d8253dcd70f46f18161a6d769e48936d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: binres/binres.go: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511ed4c0258044bc3638eb75073840e58c293a2f23897f84610fd3971bec60f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: gLDriver: TooManyMethods \u2014 37 methods, declared across 6 files: glfw/driver.go (13), glfw/driver_desktop.go (10), glfw/loop.go (5), glfw/window.go (4), \u002B2 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/driver.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c71cc8aa7002c8a04442a3705518d5bce2573431d360c6b6411d9b7b427c70e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glfw/window_desktop.go: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51208a8b7dea710987302594dc6753011d83943682af11f3c73d39c4bc8dd3b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: window: TooManyMethods \u2014 36 methods, declared across 4 files: mobile/window.go (31), mobile/accessibility_notandroid.go (3), mobile/menubutton.go (1), mobile/window_android.go (1). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/window.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504ba3ac0a6224a04913e1b2111192258f70883f0a261f0eb814eef5a820fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: container/tabs.go: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/tabs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13828ad2d90203a3c60c15078db85d62aed36752038f5c01d82b69e16b49a2bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dialog/file.go: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dialog/file.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c40297d27d2bcf086b87221339848c0b7e60ead6576c775ba576e582a58165"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InMemoryPreferences: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/preferences.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75d8f6d4fdceea361e31b0f21fa41b42eba98f86fbdd88dc6260c200a61041c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/list.go: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b427ae3cd740bb5baf33b11a0c6cab4db938e71c1d09d8e7b30c4b48bb511f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: fyneApp: TooManyMethods \u2014 32 methods, declared across 7 files: app/app.go (15), app/app_xdg.go (9), app/app_schedule.go (2), app/cloud.go (2), \u002B3 more file(s). 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":"app/app.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c0971b0ea7e6f5e3da6245fac2e1ab5e2a035f056e05ace519fcdbda8f68db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: glCanvas: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/canvas.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c3556e361f5c043f1e70e70221a71f50283e8c40cde086b75afc95377fd6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/textgrid.go: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/textgrid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a365e5e9a2d967c809a052e5d1f95c464f739dbabd9265f9ea6d959097c00b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppTabs: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/apptabs.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e681c27dbda5cc89f2f6413d51e917542d1c5ddc64a674ad3f9ee3e63fe72a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: theme/icons.go: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"theme/icons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a66678a3969621d3aeee582e56f28fa878bc04c08684828fe6a69bec794872f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): widget/gridwrap.go:199-216 | widget/list.go:285-302 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/gridwrap.go:199\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":"widget/gridwrap.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ee444b4e205a3f554ec335e181b088d06e50a0ddf016993dd1023c7e12cd60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/driver/embedded/touchscreen.go:171-185 | internal/driver/mobile/canvas.go:388-402 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca1c685c37f866456212d847fed36dbce6fe2c1ee863638355ca9dfcdf2b8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): widget/table.go:938-952 | widget/table.go:1035-1049 \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 \u0060widget/table.go:938\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":"widget/table.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2593bb1ba83fef1887e860ddea8e79562696d1575af339b8b7ab3c930a4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/driver/embedded/touchscreen.go:110-123 | internal/driver/mobile/canvas.go:299-312 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd410561d4cd804c7b86b9e62481489d8b330c7a719a1cfe1ff71cae93e4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): widget/gridwrap.go:272-285 | widget/list.go:366-379 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aadfbc156a6a376f901987838f6b0cc92ce7da2544a40e505ca584fbebdf773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): widget/richtext.go:1058-1071 | widget/richtext.go:1102-1115 \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 \u0060widget/richtext.go:1058\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":"widget/richtext.go"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e6d1da9ca0be062d74aba8f30d03373c8cb35ba08f91ce191c2413d72f291c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/driver/embedded/touchscreen.go:225-237 | internal/driver/mobile/canvas.go:456-468 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"706d9c3ee4549969fbb978bbb1e1c338ee6be4755cfd0dbd8cf07ad1bea3fff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): widget/table.go:1670-1682 | widget/table.go:1712-1724 \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. 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":"widget/table.go"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"70abadc0da1a3338cc62c3bee7cac61e24e295e77a0e62a0d01e69c5fdae02c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): storage/repository/generic.go:117-129 | storage/repository/generic.go:214-226 \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 \u0060storage/repository/generic.go:117\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":"storage/repository/generic.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f41a1ba19228914db4d44f53e9b31f10bcc528bca1f7ea6982b88ff0f7dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): internal/painter/software/draw.go:56-67 | internal/painter/software/draw.go:194-205 | internal/painter/software/draw.go:216-227 | internal/painter/software/draw.go:341-352 | internal/painter/software/draw.go:363-374 | internal/painter/software/draw.go:448-459 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/software/draw.go:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/draw.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9ddc3976d1065f1a93370b68a2c48cfc07c86e49b5e624d57f60730fc71a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/driver/embedded/driver.go:174-185 | internal/driver/mobile/driver.go:495-506 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/driver.go:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/driver.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93eda8ccdaa1337318a0153354980cf8cadeb1babe5820b30995828ed8db893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): layout/boxlayout.go:85-96 | layout/boxlayout.go:170-181 \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 \u0060layout/boxlayout.go:85\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":"layout/boxlayout.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9556ec94e0b1c7f5e240a0e221d17fe65355de9bd839bb78346a4bd104fe5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): widget/gridwrap.go:92-103 | widget/list.go:106-117 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/gridwrap.go:92\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":"widget/gridwrap.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"950174371fe2b9b83cff2665d8fb917e7d1ae8b305b6f7ebab424b6ebf7e0187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): widget/gridwrap.go:221-232 | widget/list.go:307-318 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc38e36d83b652c8c2346460fcfb0fc59e1cf1254147acc64ea65765594c5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): widget/gridwrap.go:319-331 | widget/list.go:399-410 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/gridwrap.go:319\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7567ba2bf88958698ad143f1966535b3f7b82b622ea6a92b16664cb8045ad87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): internal/painter/gl/draw.go:215-225 | internal/painter/gl/draw.go:312-322 | internal/painter/gl/draw.go:376-386 | internal/painter/gl/draw.go:528-538 | internal/painter/gl/draw.go:615-625 | internal/painter/gl/draw.go:702-712 | internal/painter/gl/draw.go:759-769 | internal/painter/gl/draw.go:833-843 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864f44b08238a2e5fe596e133c91221e437f537b8f8cf78b735b6da666632a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): container.go:210-220 | internal/widget/base.go:133-143 | canvas/canvas.go:47-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060container.go:210\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":"container.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"380b25a096986c6c18ef49e375d6d4c8124e9307048c86c0f0f4c1a8200d8575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/driver/embedded/touchscreen.go:66-76 | internal/driver/mobile/canvas.go:237-247 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3e27dd68761bb8815dbb73be790c04de71461de168cea630a26259f6095e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/painter/gl/draw.go:258-268 | internal/painter/gl/draw.go:875-885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/gl/draw.go:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6ab03891a2377f354c892d469164fec02fe5280e4a2945028b6f1966d4fb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/painter/gl/draw.go:735-745 | internal/painter/gl/draw.go:797-807 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"217238c018eb4ae68afe00db8dc34366b0f0e8ec2fcaba43b80bdaf7187ca8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): widget/table.go:1683-1693 | widget/table.go:1725-1735 \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 \u0060widget/table.go:1683\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":"widget/table.go"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948fb441a7c416e6b68bd4968d88e6fbacd9c5a1322e9ea1d40f992ac100143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/fyne/internal/mobile/binres/node.go:65-74 | cmd/fyne/internal/mobile/binres/node.go:255-264 \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":"cmd/fyne/internal/mobile/binres/node.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08f912642239ce05ba280e1562e0d10fa24dae1d33f0f357d3b61bdd57703b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/fyne/internal/mobile/build_androidapp.go:194-203 | cmd/fyne/internal/mobile/build_iosapp.go:227-236 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fyne/internal/mobile/build_androidapp.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"828220422efdb9e782c824fc72e1f28d8b8eb5d3d1efb0035ea61853ce57e025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/painter/draw.go:117-126 | internal/painter/draw.go:373-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d68a5e4997401e3087ff0a31931b3c88dea3dce206e4bfadb3270312f27b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/painter/gl/draw.go:243-252 | internal/painter/gl/draw.go:860-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/gl/draw.go:243\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e87d875b97dc09247ab053d802841b4984a2ea41cc4d1d8ef199d80bb9c269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): widget/check_group.go:185-194 | widget/radio_group.go:165-174 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/check_group.go:185\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":"widget/check_group.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e20c53b0bd9cf8fc020e87e2057da09e7a58c9762d799a1002a2e50d56bee4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): widget/entry.go:443-452 | widget/entry.go:756-765 \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 \u0060widget/entry.go:443\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":"widget/entry.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"12766bfa7be000b953f4fdfb8c97606056548cb341663f0c7f4aceadfbb760ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): widget/gridwrap.go:233-242 | widget/list.go:319-328 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"widget/gridwrap.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b0e71008f1ecd87717454e77af100d7681a27bf10442f7c7c12708c52db2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): widget/textgrid.go:206-215 | widget/textgrid.go:248-257 \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 \u0060widget/textgrid.go:206\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":"widget/textgrid.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba63994bc20ad45467f805afe7fb414d33202d2f1ac838c6d55dfeac41e8ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/fyne_demo/tutorials/collection.go:46-55 | cmd/fyne_demo/tutorials/collection.go:86-95 \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 \u0060cmd/fyne_demo/tutorials/collection.go:46\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":"cmd/fyne_demo/tutorials/collection.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a703535e9e2cd01de2c301ba3f8491a709eee244c6f21c163046b331ceb2b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dialog/fileitem.go:68-76 | dialog/fileitem.go:100-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dialog/fileitem.go:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dialog/fileitem.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"98285d6f0aa7d076183f040c2b42105d4ef96a276774d0a1b85e5e7ed6bc3432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/driver/embedded/touchscreen.go:159-167 | internal/driver/mobile/canvas.go:376-384 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"64361897834f3c6adef158b0ec178c8542508675851c9f4b392ae28609697522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/painter/software/draw.go:86-94 | internal/painter/software/draw.go:323-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/software/draw.go:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/draw.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43af0ab760a3f0c4fcffc1f72ea4936e0dde04f451745c579ce1295b8f4ebbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dialog/custom.go:85-94 | dialog/form.go:55-62 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dialog/custom.go:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dialog/custom.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9877142d24b923d25cc9c724d430c5d650c3f8b686ad279032e1bf1d3d1cdef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/driver/glfw/canvas.go:251-258 | internal/driver/mobile/driver.go:389-397 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/glfw/canvas.go:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/canvas.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"578f2b848940ba43f957ea298038bd8aaff03073af0a35f6185ee64dfdbab03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): widget/gridwrap.go:556-563 | widget/list.go:702-709 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/gridwrap.go:556\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":"widget/gridwrap.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"7977e6ebdd413a4c03f5b6a90aab3b0b01f9b71fc129b3bb2a0722254739c31a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): container/tabs.go:535-541 | container/tabs.go:792-798 \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":"container/tabs.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b17a141af2c68e3a8dea865720c16ae585a916dabb56cb765e041453a973095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/driver/embedded/touchscreen.go:86-92 | internal/driver/mobile/canvas.go:257-263 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb483a8fc411f91fa5f094ec2280f6ef665ddf03577dacd88e61397b3c294c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/painter/draw.go:101-107 | internal/painter/draw.go:424-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/draw.go:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0829ccc228fb851cde435473e5aa1e50ffbad176a88dffb3b5dc2ea409d3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/painter/draw.go:174-180 | internal/painter/draw.go:242-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/draw.go:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab5c38b0cac09aa96d499501a3b26449b621d7d2b4f54c7d3465774ef648d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/painter/draw.go:307-314 | internal/painter/draw.go:344-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/draw.go:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"073d42ff2dad0f4564cd4693ca161a668df718d315ef9d94de676ba82e78d030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/painter/software/draw.go:105-111 | internal/painter/software/draw.go:291-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/draw.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6297d07356f96996163563e16362e4eb2f40898436b123fdb660060c1bc094c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): widget/check.go:300-306 | widget/radio_item.go:132-138 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/check.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"654a71881700ba4d96c37a0ee1a1b51c60748fde5b0aab8279187570b5862961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): widget/gridwrap.go:483-489 | widget/list.go:629-635 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"2483bfe8470a657bfddf6088506f754dd896bdcc7f90d498dcb606b4572f186f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): internal/painter/gl/draw.go:323-329 | internal/painter/gl/draw.go:387-392 | internal/painter/gl/draw.go:713-718 | internal/painter/gl/draw.go:770-775 \u2014 all 4 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da46dfefa97e4e9a6dc04e22fb9fb6aead40165f6c6da72a566cf8d4c0210a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/fyne/internal/mobile/binres/binres.go:527-532 | cmd/fyne/internal/mobile/binres/binres.go:818-823 \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 \u0060cmd/fyne/internal/mobile/binres/binres.go:527\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":"cmd/fyne/internal/mobile/binres/binres.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ac2aac5e079a10b362255523bf2a9a714165bf4fc5e5260117f595f9c7d89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/driver/embedded/touchscreen.go:128-133 | internal/driver/mobile/canvas.go:320-325 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87c7754e49e4aa48bcaf1275e69def42786918cb9878dfdbde86868a0f3a0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/painter/draw.go:90-95 | internal/painter/draw.go:413-418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"780b1e4fd7769c3199d1bc27f723278cd90c6dbcddd431f2fbf9b04af4cf8332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): widget/gridwrap.go:754-759 | widget/list.go:924-929 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/gridwrap.go"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bdab5f7849a6dfaa0b1c04acb0f75328daef915245e14efc00f40ae76bd1b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/driver/common/canvas.go:64-68 | internal/driver/common/canvas.go:74-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/common/canvas.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8b9ff5d1fd83b352e51faea2abb9ad5121dedecffa91abe50794f5ad4fab85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/driver/embedded/touchscreen.go:142-146 | internal/driver/mobile/canvas.go:342-346 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/driver/embedded/touchscreen.go:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/embedded/touchscreen.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf8c6505fb275f4b51cf5b53b05e3f578d3583c527eb00b92b898a956f00f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/driver/mobile/window.go:165-169 | internal/driver/glfw/window.go:218-222 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/window.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba38b4c730d4e98c08ed228d7fbf2edf4da11e3ea3cadb047c96f72905610c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/painter/draw.go:301-306 | internal/painter/draw.go:339-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/painter/draw.go:301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9822dd4eeece651a354388325011ea17006b63b5f12e361463e41c30ac5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): widget/date_entry.go:159-163 | widget/select_entry.go:107-111 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060widget/date_entry.go:159\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":"widget/date_entry.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"861cfadec01b4bca0019308ba600a2c6d0a682cbe298483466c5a4be2efa042c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/painter/gl/draw.go: internal/painter/gl/draw.go changed 71 times in last 90 days, max complexity 16. 4 of those changes were fix/bug commits, and the other 67 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/gl/draw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"762296290b031e7105efe3898ed088abf2785087ea15622026c28e1d8419fbfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/driver/glfw/window_desktop.go: internal/driver/glfw/window_desktop.go changed 14 times in last 90 days, max complexity 50. 1 of those changes was a fix/bug commit, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window_desktop.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7f39785ca0d63ef90553192b91531a003067ca0c66a594cb71f984cba9d323"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: widget/entry.go: widget/entry.go changed 22 times in last 90 days, max complexity 29. 3 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/entry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6faf631edb3ab7a04e3618abf311ef2bc1476c91a6afad65c820e63615c088"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: widget/richtext.go: widget/richtext.go changed 22 times in last 90 days, max complexity 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/richtext.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a6885f3162e7eb061eaa2561d69e9386198d2b19417f1ac002f032ba7303e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/driver/glfw/window.go: internal/driver/glfw/window.go changed 15 times in last 90 days, max complexity 30. 2 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/glfw/window.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fca5733e1ab9579da99281720bfc1d3a0280de01adbc0433e28b8d5fbb1c817"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: widget/markdown.go: widget/markdown.go changed 16 times in last 90 days, max complexity 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/markdown.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1f81f024580f33c28e900f29f6e10ef8a85c0e7c7b7f09425120f7f25c5eb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/driver/mobile/driver.go: internal/driver/mobile/driver.go changed 9 times in last 90 days, max complexity 29. 1 of those changes was a fix/bug commit, 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, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/driver/mobile/driver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c27fa7bc625a149c5a1bef374240b07d705e9ffc8752247dab38ff7ecbe208"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/painter/software/draw.go: internal/painter/software/draw.go changed 9 times in last 90 days, max complexity 18. 1 of those changes was a fix/bug commit, 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, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/draw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b90a933d23d23bb6fe869e3b7fba91074e16a13faabcf84627884e0d0ab6b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dialog/file.go: dialog/file.go changed 9 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dialog/file.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9adc52455b1ef0b2842a8967fcdf4449fd9211763950e28a29e9df83014a8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: widget/table.go: widget/table.go changed 6 times in last 90 days, max complexity 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"widget/table.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4741e76cf9a69ded680d1ea5bada266b7370036ffd9c6a603a871c99daab4374"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: internal/driver/mobile/app/GoNativeActivity.java, cmd/fyne/internal/commands/install.go, internal/driver/util.go, internal/driver/embedded/driver.go, internal/scheduler/scheduler.go, cmd/fyne_demo/tutorials/shader.go, cmd/fyne_demo/tutorials/container.go, internal/driver/glfw/accessibility_darwin.go (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8c3294409f9385f9ee47619be8cd50c5ec8c545530dd7abb5d2f6e9478709eca"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 9 significant file(s) lose their only recent owner: dialog/color.go, dialog/color_picker.go, internal/driver/mobile/gl/dll_windows.go, driver/software/canvas.go, dialog/color_wheel.go, internal/async/chan.go, dialog/color_button.go, internal/driver/mobile/gl/types.go (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bbabd62da1f7bc65db7a9821360532316927713c624ef363ccc0404c7b627e16"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (29 single-owned of 225 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"9b20b4288d99c0757385301dd933defefe282f8c4bed273842437e162a0265f6"}},{"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":"3b693e545d83b459eb8cee0f2ae59527fea28aeb1f6e2e607825e93ddd4f7287"}},{"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":"8b99bea6fe88d882233cd5625b1967d7ebc8601dd9784994d57c6aa9cd48c066"}},{"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":"d1a29a2fedc970724e5bd6c03927de1f4d0a90106a927e6ecfcfbfbe3060dda0"}},{"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":"844616762860a85eb560e9b77c78a374720ff7c045506f622567e260cf6a6acc"}},{"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":"04587514f458109b6801647a93bb9d572e965a2f39a5c719cc605b7996f10ba3"}},{"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":"6c794f1028c43eb630c05ee3a45420a7df323c3ee66b131462e2db33f635b531"}},{"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":"d01ae372622258ef31d238989eeed0b3a881a6b782fdc8e85b315e8ea885c9a3"}},{"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":"c29d86c4196c283e74ef5a1ba409f313c2539957b4dfbc9e8450ea6cdd6dc354"}},{"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":"822642697b876e3cdd6b516db713dc30e46aef54228e0441e16a1d97400855d3"}},{"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":"969e17960a422fb40690d3d31369abdae8b5ec2cb694f9d5b59e3ab72d28009d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dbacd4e6c9796b162289498aaeadd1c9141d955759c47edd2982df5f374dd5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff988a107a3620e6a56e5f2cfef061247acab83517806bf85e16abd69a46b0dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e0ecbbe4021bea347c575e847b8ae68b6b6b9d7c490dbf3a6ec69ba1b4078c6"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"851302f0f005ef153db5df5c5cbe3f85eb0fced19177c97f3ab8a77244d16802"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc7cc0a0c23b9548fd3f19147ee4357d0090c9500bce8815aeb4b42b15853b84"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f68052479b0fe2e0d591cd3edf1de8a154c71e2f92a547b983fc8457c46fdd35"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9d68d9833c97fc20821cf0f46877e0ce093b32c71d06af90749e15ba8763525"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"930fb32b32889663a58ec51f99e114d3846d957b24c55c64434632d5c5c96837"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f9fc1a601e36f19f5bb90c32d4c0be1c820d4ce5ec5e57bab80f4acfb9b7b01"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6263e3a2bc652f450fb3460833be1f88f3dad76626dda670b6d1f7e9e8944eab"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9f6ffd32c79edcd2072c7ad595c79152f9fbd26ca43d461c45ed1a15d878f6eb"},"taxa":[{"id":"CWE-548","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f1e81a246d52999ad71541b000d497255029efa3aaf2864875b25541e5744b60"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"36c4a695b2562060d1d972dc6c0f8327af939284fb90b49eae3593aa6d28059f"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"eb5995ae8abbfa2c5333c8d5babba7e3f48160688af0e752808272b16f479bb8"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7f32793a50dd55c3d389b69f8cbbb7f438ebde2a02915b9b4420154a6450ef2e"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"315c90bcbc81b97a45b9e13159c00f05215df385a6a05b31957910ca63ebc244"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"68e0e6e91f4ca77e5469888207abf4278bf7e7b10a4537106115eca83fac2cde"},"taxa":[{"id":"CWE-328","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":"a5f73145c4d4be3df65fd9f621bb45c2d78e8ff2146fdd8ab612ef0c14e5ee1c"},"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":"4d9eff5a82c6233f83198c40d1eb75142c1cd94194a6f14c4925e73b986a46ee"},"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":"1fcd01596c920357d80ada09cc273f70946930744d47c4a45964a684a4af05be"},"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":"2e36098bd1d744ab118c5ce02ed766a6403e844e7be2c201108647d3e88b2384"},"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":"7c2e94c5fc87d59e362bc3ea1a5e8c23c7033c288f909e721f302c9417b605ea"},"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":"90aa32bc298ff9399c6aa21487cef3f182de46f78d0875ed58c9b0dcf65e7230"},"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":"59c90254ad0052b22e863cb393a198c94bd6300166ccfe8b462c961f971a38de"},"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":"1d520d4816bbdf5da7297ca476af91675c82d16438ee1661d25209ba0d3f4fb3"},"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":"62b48cf7c062a6c18e14660f923a994c72a36b66cc0c06f65d522088d52c8f66"},"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":"dc3a0895679d8f69687374594b12048fa2c8556328d2e36830a61c9d42f851e0"},"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":"4a4f69deb00f485a8a35fcc22cdc733327549a6abe34e4bb8987faec92d459d1"},"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":"efc7521c222e88da649a139f2afa6e7a26b5b4c6c5b52b9b085015b389a6c759"},"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":"e54a544710a7425ae55b53f6b4c9e598a2b588a3d2b949aea39fcac0fd33d81e"},"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":"56ef64a33c7f4b03b26879aa3a145d4b1e07d627b9cb70f63b139bbc8d4a0ab7"},"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":"386d3f702db15b3b38b7d1b29e3ae4c0efbd9aac462d4d313f0a99ff76b59490"},"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":"f0f6e81f703cae4ec45775f581327efd3fcd63c592d3f31f059c17667136356d"},"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":"6c100d25a2b3fd4d9e3cddd8f166a8d0841ac3c728b67870358b47b40e3799c5"},"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":"25b6ef4bb8a53636f51535bfe213ac7379de4877565913cda0b9771aabf98d64"},"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":"89fbe124db6b4c208fe133968a2ea4c776b1a0ab847fac6b4ba881588912e709"},"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":"69ab6944c4e6b99c042a3c2e8b2fb1a38086e2385c2564a9b0bbcc4700ff2451"},"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":"f9e41744304b04840025e978a29c01641946dc7baa1ea172833eccafc92cc5b5"},"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":"76ce647604f2d922a157264116717dc76569c6636cf5144bb4fe66f06655da45"},"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":"0707ba88a17d3f0dfb7d516db328230287da06bffd157565b8139b5f9a9cdaec"},"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":"62e6067edf47f12fe953ef5eaa315a4588c66a85ca179b4a51bc4c4adc9a9c3b"},"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":"ac6cb200d59a521bf6be7d9a078eadb4b61a257f97aca4ff901dc0031347a252"},"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":"143ca688d4eb0f6864953d8fde5f9ea3d2bcc51d4eb26cca83ac59298c4a4aee"},"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":"951f0eca9dbeb6a4364aae05ace124fbf1b358292824a36fd115eb42cb1bfacd"},"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":"4e39212b4673d6e897d5fd68b338605acddbfa6a7996284e16ac6f95bad2f50b"},"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":"444af77102b278c61b7789f621c7b1f86cdd306bce19c9b6e78c3c935605354b"},"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":"7880f62b5ce031278abda204e83fc3f3af97927bb0650dc5277b18ccc01b56ea"},"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":"350853c32a14bef1db84bf0f4d33252144502b28ccfdd27eb7a6b27e99bae0dd"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 7 of 228 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: internal/driver/mobile/event/lifecycle/lifecycle.go, internal/driver/mobile/event/size/size.go, internal/driver/mobile/file.go (and 4 more). 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":"D35","level":"warning","message":{"text":"Change coupling: bundled-icons.go \u2194 gen.go: \u0060theme/bundled-icons.go\u0060 and \u0060theme/gen.go\u0060 change together 76% of the time (16 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"theme/bundled-icons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c50acdd29d631c8e49fe023a0866130c92df7df9061ef0448390eb6d37f046b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: draw.go \u2194 vector.go: \u0060internal/painter/draw.go\u0060 and \u0060internal/painter/vector.go\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/draw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d633a33a06c4eded54a6f8a9c247ee7a4bbe4342086dc1abd3f456594e5a5229"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_darwin.go \u2194 app_mobile_ios.go: \u0060app/app_darwin.go\u0060 and \u0060app/app_mobile_ios.go\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app_darwin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce6b923f269f794fbd660254fedec34c3b7efc8acc40d055a9967b22e25b9df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: painter.go \u2194 vector.go: \u0060internal/painter/software/painter.go\u0060 and \u0060internal/painter/vector.go\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/painter/software/painter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0dbc5ba72b896dff35a41793dee122383186b9209a2beef66c8eb3f7853d0"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D38","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":"2e713568f92ceba89e04ad04b5d4791a1fa0236e7a475eb8e0d16f0950ff7d67"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba0695644397eab358c67149e6d936cb8b6b648c1f9c8b9bfa34a8138855768a"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be217444638ac33aa1bd5044cfc99a2e92b284c1cc1654e8220d2ef2ef47944d"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d8f4da93d93156f97ceb651382c175065ad24c552538ff2b779b549bddea902"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-548","guid":"bd71efb0-963f-eb55-8c3b-c351365d4f21","name":"CWE-548","shortDescription":{"text":"CWE-548"},"helpUri":"https://cwe.mitre.org/data/definitions/548.html"},{"id":"CWE-676","guid":"550e6fab-2881-3252-8a05-c688a6b19c14","name":"CWE-676","shortDescription":{"text":"CWE-676"},"helpUri":"https://cwe.mitre.org/data/definitions/676.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":68,"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."]}]}