{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"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":"main.install (cyclomatic 78): main.install has cyclomatic complexity 78 (threshold 15). Most of this is not in the body itself: 3 of the 78 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 574, 445). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"103a471c196a4b287dbafaa3c09a45c99d1b8088f4e59273fca428b533c10765"}},{"ruleId":"D1","level":"warning","message":{"text":"main.checkLocalEnvironment (cyclomatic 71): main.checkLocalEnvironment has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7701b35dbf34e995829f3ee3f408f01a3131be4739f56cf143e9944e195f0"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 48): main.main has cyclomatic complexity 48 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d259c92ccfa90376394a4326b5de168b616e9b23afb42c460a0ed81864feec3e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.use (cyclomatic 42): main.use has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 2 of the 42 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1150, 1091). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba51cfd5268ce4c41ea4d247b54815a157c499f2d4de18d190290a08996b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade.run (cyclomatic 34): upgrade.run has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/upgrade.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1bad4d67338417b6d7cdea6db27121b523dad9c1e478f414b853aecfeb7bb2"}},{"ruleId":"D1","level":"warning","message":{"text":"semver.Parse (cyclomatic 27): semver.Parse has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/semver/semver.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabb9c0a2553b70aa770e17e75cc19c23b8ccef57949eb5f1c6f6e7b5d86a489"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade.Run (cyclomatic 23): upgrade.Run has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 142, 105, 220). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/upgrade.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4ae1671a0783fb42efaab9913537c310fed3acdb78639805b3bef1bbf3dbe2"}},{"ruleId":"D1","level":"warning","message":{"text":"main.getVersion (cyclomatic 22): main.getVersion has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3c72a42dc3f2add69936500ddaec2b5b3fc767f795cc77ab5dce8c8a102170"}},{"ruleId":"D1","level":"warning","message":{"text":"Version.Compare (cyclomatic 21): Version.Compare has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/semver/semver.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5248057ed8c7a8227fe27ed553e97c91742d9dc75ba827664bac83994e0f3ece"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade.Check (cyclomatic 20): upgrade.Check has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/check.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"24158cabfda37cfca931d189baaeefad706820dda1cdee40356d6fdbab3a78ce"}},{"ruleId":"D1","level":"warning","message":{"text":"main.list (cyclomatic 19): main.list has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"574edf1876f6cfdf570178c1648b32de3c5ee28f9109e3d49d7fc0e634b7a68e"}},{"ruleId":"D1","level":"warning","message":{"text":"web.Download (cyclomatic 19): web.Download has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"db79ad7d69bb638b8f5551145dab73c22f7dc380f0a244e4437c14d93b92d431"}},{"ruleId":"D1","level":"warning","message":{"text":"node.IsVersionInstalled (cyclomatic 18): node.IsVersionInstalled has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/node/node.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dd9a80bb0d138c74f2a74e79066b58da24d4dda8f4078a813f481fc3029044"}},{"ruleId":"D1","level":"warning","message":{"text":"main.findLatestSubVersion (cyclomatic 17): main.findLatestSubVersion has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"baff0ee6cd81c1d2f1906697ad2a4e17f7e68bf4182dbe5f20459d183a14816e"}},{"ruleId":"D1","level":"warning","message":{"text":"web.GetNodeJS (cyclomatic 17): web.GetNodeJS has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bc3094f261d29b3b3ef437e1f9b35e4a58605aa17c7e4cc4d4892eed0d3295"}},{"ruleId":"D1","level":"warning","message":{"text":"main.setup (cyclomatic 16): main.setup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1f01a56f372669b23653e1585fca668be2614a8dfe89465529dcc7ee659641"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade.checkForUpdate (cyclomatic 16): upgrade.checkForUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/upgrade.go"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"05680421aa4a94c9fedb1bae2dbffffc674439bb52ee382504227e843d610b26"}},{"ruleId":"D2","level":"warning","message":{"text":"main.install (cognitive 198): main.install has cognitive complexity 198 (threshold 15). Drivers by points: if/else 171, boolean chains 12, loops 9, match/switch 6 (nesting depth added 110). Most of this is not in the body itself: 2 of the 198 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 574, 445). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f099c1d491e7c1224ac709b50913aeaaaad5fdf2c55363662e86935139d21"}},{"ruleId":"D2","level":"warning","message":{"text":"main.checkLocalEnvironment (cognitive 117): main.checkLocalEnvironment has cognitive complexity 117 (threshold 15). Drivers by points: if/else 100, boolean chains 9, loops 8 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"983bcf2bfe49b7a070e3996e54ee2f8601e1831f9cce106d76b1a86ce344de01"}},{"ruleId":"D2","level":"warning","message":{"text":"main.use (cognitive 81): main.use has cognitive complexity 81 (threshold 15). Drivers by points: if/else 71, boolean chains 7, match/switch 2, loops 1 (nesting depth added 38). Most of this is not in the body itself: 1 of the 81 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1150, 1091). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"f323285018fcfc5604a1be28e68c8cdb10eac5110e587e75550df61b0fa0b314"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade.Run (cognitive 52): upgrade.Run has cognitive complexity 52 (threshold 15). Drivers by points: if/else 39, match/switch 7, loops 5, boolean chains 1 (nesting depth added 30). Most of this is not in the body itself: 4 of the 52 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 142, 105, 220). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/upgrade.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ffc8739d851ce21b222e35067dc0a787bc1d04bc28a8c08d86ab0ef27acf25"}},{"ruleId":"D2","level":"warning","message":{"text":"main.list (cognitive 51): main.list has cognitive complexity 51 (threshold 15). Drivers by points: if/else 46, loops 4, boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"04be6a59658f288417d305d85562cdb8fa293c6691ff96ccfb45e570423d3e69"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade.run (cognitive 51): upgrade.run has cognitive complexity 51 (threshold 15). Drivers by points: if/else 41, loops 7, match/switch 2, 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":"src/upgrade/upgrade.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"831a4d8780f19071e37c32e2f44e0cd04613f8ad14084bd470a239f1a57b6c90"}},{"ruleId":"D2","level":"warning","message":{"text":"web.GetNodeJS (cognitive 48): web.GetNodeJS has cognitive complexity 48 (threshold 15). Drivers by points: if/else 48 (nesting depth added 26). Of this number, 43 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5edbf065c0c8260238ee03bf75ec48219b703c79f25da71d829b31092e3b41"}},{"ruleId":"D2","level":"warning","message":{"text":"main.findLatestSubVersion (cognitive 45): main.findLatestSubVersion has cognitive complexity 45 (threshold 15). Drivers by points: if/else 40, loops 4, boolean chains 1 (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":"src/nvm.go"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"0510d73f0c8a9f9e65767b67919c61d8e2e3b49f2bdd3bd2d442c95264afac44"}},{"ruleId":"D2","level":"warning","message":{"text":"semver.Parse (cognitive 39): semver.Parse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 32, loops 4, 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":"src/semver/semver.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f27df8b79edd38746aeb18a1e22b767c99dc97e6157554c94ef9ffc656fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade.Check (cognitive 35): upgrade.Check has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26, boolean chains 4, match/switch 3, loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/check.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe6be741dd967a4ea324da0e5025e0fea9498491de0279da1ebcde69c2d17de"}},{"ruleId":"D2","level":"warning","message":{"text":"Version.Compare (cognitive 33): Version.Compare has cognitive complexity 33 (threshold 15). Drivers by points: if/else 25, boolean chains 6, loops 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/semver/semver.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e6c8048390cd92f697ff28c08228b6ac1e3143ac78ac28f1c04448fb4cf464"}},{"ruleId":"D2","level":"warning","message":{"text":"main.init (cognitive 29): main.init has cognitive complexity 29 (threshold 15). Drivers by points: if/else 25, match/switch 3, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17f3052dd3308b7a5b4bd062f8223c8bbef1229db9f05f40a0517681facb5f2"}},{"ruleId":"D2","level":"warning","message":{"text":"file.Unzip (cognitive 28): file.Unzip has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/file/file.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c97375630e90c94b4e5d454d8f6484575e8c3c9e28d5089e059f455d2f25549"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 25): main.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, boolean chains 3, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fb59bf70cadabe4ecdff75b48b11602ee8dffee015d1f29a4597e3f0c7f0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"main.getVersion (cognitive 25): main.getVersion has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22, boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2713f22a52c03c802fd2c00aaeb251b89631aba40b98d25f9bf87920168cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"web.Download (cognitive 24): web.Download has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, loops 2, boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92cef9a5c8618441f37323f05d573cf6754b90674bccab7f06df2710631438c"}},{"ruleId":"D2","level":"warning","message":{"text":"Version.Validate (cognitive 23): Version.Validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, loops 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/semver/semver.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"18419f313b3f7d4d067b566ed261b7397a5fbfda31ce7b1288dd61b5a311642d"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade.checkForUpdate (cognitive 23): upgrade.checkForUpdate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, loops 5, 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":"src/upgrade/upgrade.go"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"400de7479b14ba5433e7caabdd922ba3d5d2ba379554e15a0ab3f746641e0c35"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setup (cognitive 21): main.setup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, 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":"src/nvm.go"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"91115269be2f17291db53b6412e353d73f8e1507e25d97ad033912a06a34f424"}},{"ruleId":"D2","level":"warning","message":{"text":"main.versionNumberFrom (cognitive 19): main.versionNumberFrom has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a2230058903a97f414f48989d6fc2d525d7fadeb49dfde4840fe4c95e56637"}},{"ruleId":"D2","level":"warning","message":{"text":"main.uninstall (cognitive 18): main.uninstall has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"481266e156b4e4bb17ee15c1af22cae87e5bc5f1995f6b9f67b30e464035f058"}},{"ruleId":"D2","level":"warning","message":{"text":"main.reinstall (cognitive 17): main.reinstall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07751efc7655d4a45216208ce18b7061e7b212d94ade2f7544c58098263faa2"}},{"ruleId":"D2","level":"warning","message":{"text":"web.unzip (cognitive 16): web.unzip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 458, 449). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"28edd41982d4ed4dc6b75b4967c22808dbf5fc6f1816c309ac7aed8097c25053"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/nvm.go: FileTooLong \u2014 1326 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad4a0468f7a5e2a1827597f03f4ddac3b2a4c5db1e9d34747ba435ee91d3fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: upgrade/upgrade.go: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upgrade/upgrade.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e350eabe496408cea72815a23a010638003168a3172c2d16f95ae5098748153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/nvm.go:857-871 | src/nvm.go:909-923 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/nvm.go:857\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"423958b1f0a62e52ae37522b3a7f101a81252e5e44d1f48daff2572cda8e9928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/nvm.go:602-613 | src/upgrade/upgrade.go:240-253 \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 \u0060src/nvm.go:602\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44462adfabf55cbc5fb03ec904fc0cf2b00916bb081f1ff3751b507cc0eae47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/nvm.go:876-886 | src/nvm.go:926-935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9980a4143de0d649c78d93cef0c2a6f21c0910f5be646f30ca6142e8f54883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/nvm.go:128-135 | src/nvm.go:142-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b486b3f6bbeaa4b4433ad17a371a3c4503a77c2c2a66a2b6f3bf74de20d769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/nvm.go:479-486 | src/nvm.go:541-548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/nvm.go:479\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/nvm.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c18afd4f3aab8b6c5fce06f6561248d621dbe05c5cfd19e03ab2e07bebe416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/web/web.go:372-379 | src/web/web.go:389-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/web.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7457a0c311d2e72fdf516a05ee981772a5d06ad407d0a226c8b38636a91fb7b6"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (Go\u0027s \u0060testing\u0060 package (\u0060go test ./...\u0060)), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1feebbfc267fec2b0e81388410961abde15dbf34c83d8cf6c07ec5828b4c7dfd"},"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":"f4bae5b023c063e7cf0974867484e756e103cf283b16ed8910fd727824651ef9"},"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":"e2a3881f9ea8950ae1e84c162548ebd06fa71a2ee4df385016a2a00a8de65143"},"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":"44fd4aceef9a2c6b311a23180263f5c4b067d26ede3cf6873a83b60008a6c5a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"160f8e4f73e01d60a8b0f3a55ca62cade4ad4cf4c5bac6b888bcc7b6a7289d91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19da8aa5a9bc9343622d9929011b9e1378503b4698091bf0e083a985b32f7522"},"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":"7894696e22782bc7b8ae8e0aef4cbc716a1ef8913b0138c9a344962d0e9c73d9"},"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":"a211eb62f1ed9de80493b079e5158f0bef79efbbcbb8f28c819323f5111fe82f"},"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":"90c193130d768388cf7479fbba0dd95e4ff61274faa8922a5d0d0c33cd0c94de"},"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":"d39044af88d03985a6cf33a961c22f5d4a40e23be651d4ee3765c89cabbff61a"},"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":"e4699b150d128b1414afaf97ba6a6a06c561b2322ce6e34d4894fa8c89b9df6b"},"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":"3ac3c82b9c959639e9826a428e644f969a61d939d89d970ab881fac94a355289"},"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":"232526e51ccc0bf9ff8267d90534161f3528ad85581672f0d670037239eac468"},"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":"e6b151dd1267fbfc62fbeb03c4377a0253c1f29b3ac3eef2e32381e8159560ec"},"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":"f19f4355d60d2c77f001c458d4e947ff6b00c0c1f09946b2cf15970d1a9907ba"},"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":"2818aa4d14701f2f17434151e70629a1db97ac9cf9373f9fcf1c4b9a31ed1283"},"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":"291eb8cb970c93af4d07952c7d689c7ac75a34342e24ff57dc897aa076bdc26d"},"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":"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":"a281c069dedd588684a511e60b4aa7a1ea21fcab97aae49e475ee9000ef75641"},"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":"484076dcf30c5085cc92585447649df334b9a5334bb6ee7eaa2db581183db6be"},"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":"1ff9ace57bb0c42f5d210a235ed41ac3213433b169b510b101b8fd6fa5f3d299"},"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":"f21579fb521f39a1d22abc0072cb6dd6b164e3b05a215e8e7b0b30478118eac2"},"taxa":[{"id":"CWE-400","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":"4b3306dcab6e1c53e2fb80993276e6406d5545752af10d56412fca08731a5b43"},"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":"74c15e418c4822bc155e1e95d4dce34001ec1927a45d654341a5418c93ae5dcf"},"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":"b2a9e658d4bf4273537154498248af736b842e9a78963f4c67781c67407a47d4"},"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":"fd3e2550ca622d640b58c31ae1e65e013f63c145466dbe8ee1886aacdcf38e11"},"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":"7564ec871be118a7c0590ad520a6b3a86b0b065ddcee8bece9ee1c9f054f038a"},"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":"385d10796395d38596fff5e04e44579f19a676bbb96edf5b209a0c5faafc6c27"},"taxa":[{"id":"CWE-327","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":"87772267c232a52134b124a679b17dd69a3fefb05c797e12789339425bbfd59f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7f09cbb9aeaffef576e8fa673d36f75e734557005a211f50def5cf1e7e15e6e3"}},{"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":"4cadabbcf3fb212d203a1dd71d76f2072087aaf6f6f558de24b4c4d85cf7a00e"}},{"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":"40d9a16c7c80b217bc68c73823192f2d4d8c261ec717535a2ab5e2393ed081a3"}}],"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-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":34,"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."]}]}