{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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"]}},{"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":"cli.send (cyclomatic 56): cli.send has cyclomatic complexity 56 (threshold 15). Of this number, 54 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":"src/cli/cli.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3819028cb8e54e949e58d0d69205714091424737d3bbb4c09ec89324e190da6c"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.Receive (cyclomatic 49): Client.Receive has cyclomatic complexity 49 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 17 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf619a7050ea1cd4a7ad1616a7a0904947c1f2233c229f7556c94509522eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.receive (cyclomatic 45): cli.receive has cyclomatic complexity 45 (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/cli/cli.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c3be1f10471a74be1e17a1c5527ac6486bd90c1b9174ddef61e032499d4098"}},{"ruleId":"D1","level":"warning","message":{"text":"croc.GetFilesInfoWithExactExclusions (cyclomatic 42): croc.GetFilesInfoWithExactExclusions has cyclomatic complexity 42 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 11 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/croc/croc.go"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"695f5fb573f472dcd43928f3b16a88573e1294316fb8607e2c4269b0a8ce32f4"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.ZipDirectoryWithExactExclusions (cyclomatic 40): utils.ZipDirectoryWithExactExclusions has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to one function literal inside it that branches (line 617). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5711633ee6e90f269e4a2d57dac1322b1ab82a63ec1fe6aa7508803c63a56ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.transfer (cyclomatic 39): Client.transfer has cyclomatic complexity 39 (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/croc/croc.go"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1305348e1f72d9b9d23525822c27cf86b5db0eea5e7be40b40d5b9506b9ddf9"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.processMessageFileInfo (cyclomatic 37): Client.processMessageFileInfo has cyclomatic complexity 37 (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/croc/croc.go"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5188f1f2881cd7d2d9c78b0bd10ed1881deca74cbf351cab1b037554597eb18"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.updateIfRecipientHasFileInfo (cyclomatic 37): Client.updateIfRecipientHasFileInfo has cyclomatic complexity 37 (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/croc/croc.go"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c09b0d90bf895a960ea09e3a4d403edd8380148a90f84ed5dfb0c69a57aa6d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.ServeHTTP (cyclomatic 35): Service.ServeHTTP has cyclomatic complexity 35 (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/store/service.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f01c3f32c3b561862d98e8e6cb46cf3483e71388235d568234b76764f54ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.UnzipDirectoryWithLimit (cyclomatic 34): utils.UnzipDirectoryWithLimit 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/utils/utils.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b48460734ebd31a2fe3a44e3f48c68b5fe6f3c0b0e61b066ad96cbd1411811"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.receiveData (cyclomatic 27): Client.receiveData has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d203b34cacd06d8b5a6a22e2f787ce800f649150747942e29ed0005d2164514"}},{"ruleId":"D1","level":"warning","message":{"text":"server.run (cyclomatic 27): server.run has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 253, 221). 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/tcp/tcp.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e884747f5443c6c80154c1bf4f064509075b2a1adbd831fc98b94c2da8786e8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.senderWaitForHandshake (cyclomatic 25): Client.senderWaitForHandshake has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba54b5ac94320c6d7b8acf7ca58c6af1f2b59b783e443216b5e01ad964434f01"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.processMessage (cyclomatic 25): Client.processMessage has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3d91ab63a238f1f24e480a48df63558b067b5e49f1bf5f37d49d861504d48"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.create (cyclomatic 25): Service.create has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/service.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4086b5476f8177c2d9694b2732a36ba2305b1047e275bc4d4285a6f7d2442cc3"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.Send (cyclomatic 24): Client.Send has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 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/croc/croc.go"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7992954e63d354cef727cf45e54b207e4a0a49a28a1728bea2082e2e84f68"}},{"ruleId":"D1","level":"warning","message":{"text":"store.New (cyclomatic 22): store.New 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/store/service.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d15e2eb83c6b064165f63d38a6fded800ef33247edb9d63e58069ebc317c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.resolveServeAddress (cyclomatic 21): cli.resolveServeAddress 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/cli/cli.go"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b292061eba8b144fd04154d0d723ab59bc82e8d51737d4d8a33eb17a15e4e46"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.Sweep (cyclomatic 20): Service.Sweep 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":"src/store/service.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a257465e8062efc837a73460bca213768a7b2a65bdbea355ddc08bb9e5e289bc"}},{"ruleId":"D1","level":"warning","message":{"text":"tcp.ConnectToTCPServer (cyclomatic 20): tcp.ConnectToTCPServer has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tcp/tcp.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"18270cd52d85ec46729d1b521f04eb620f90beca5a26df476d18ab26deae9cad"}},{"ruleId":"D1","level":"warning","message":{"text":"server.clientHandshake (cyclomatic 20): server.clientHandshake has cyclomatic complexity 20 (threshold 15). Of this number, 19 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":"src/tcp/tcp.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10d570796abe567650f6b14306b38790ed574e7d6244aa9c9fb6c13cdfe235b"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.newApp (cyclomatic 19): cli.newApp has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 183, 141). 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/cli/cli.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d53d44db1a06554bb04d16c1838503f7fff8b3c9bc046164c3b74ee5d0337a"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.receiveStored (cyclomatic 19): cli.receiveStored 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/cli/store.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd49efec99309effa9f931f0f54dfac210114f362aa8b8a51c042b97209402e"}},{"ruleId":"D1","level":"warning","message":{"text":"storecrypto.ValidateManifest (cyclomatic 19): storecrypto.ValidateManifest 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/storecrypto/storecrypto.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd8003d8537629468ce41fbcdaf141b33e7d2834dc47422bbb5192d14f31938"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.processMessagePake (cyclomatic 18): Client.processMessagePake 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":"src/croc/croc.go"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"217802a2c46bf1eedd046159232955d3cd55c4cb0e698377367e22d11f016a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"storecrypto.ParseShare (cyclomatic 18): storecrypto.ParseShare has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storecrypto/storecrypto.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae5aee80e0f7f6f47b4fbc9d73c27ab6bca8f9d029c50b0403ffa1d57077eb"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.sendStored (cyclomatic 17): cli.sendStored 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":"src/cli/store.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8902b04fc390375ab07ef0b9d1b4ba4ca340a67978e80c012c185be0c055a33a"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.sendData (cyclomatic 17): Client.sendData 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/croc/croc.go"},"region":{"startLine":3104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b0f4603a7c666cbb3670689d0a43fcd72a1b4f138b129846d0a5dbbd35010d"}},{"ruleId":"D1","level":"warning","message":{"text":"staticHandler.ServeHTTP (cyclomatic 17): staticHandler.ServeHTTP 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":"src/webrelay/webrelay.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"875357005eaa746c59eb1d8b38ccb30482f4cf34df33704e49ab2a2ccb4ff439"}},{"ruleId":"D1","level":"warning","message":{"text":"croc.copyToClipboard (cyclomatic 16): croc.copyToClipboard 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/croc/croc.go"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"578483cd30c4571c1dcfbc85d4c4f24ddbcdbf87953956dbe08ea80d99f2469b"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.MissingChunks (cyclomatic 16): utils.MissingChunks 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/utils/utils.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe5cc6a534614d04d8ba03a1e7452f5e8a8e45da323356e383d45d57c88f960"}},{"ruleId":"D1","level":"warning","message":{"text":"webrelay.normalizeConfig (cyclomatic 16): webrelay.normalizeConfig has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/webrelay/webrelay.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f58aff745f8c2c179422d16fabc545187c2ae04a6a87e448f0848950f8e9a57"}},{"ruleId":"D2","level":"warning","message":{"text":"croc.GetFilesInfoWithExactExclusions (cognitive 117): croc.GetFilesInfoWithExactExclusions has cognitive complexity 117 (threshold 15). Drivers by points: if/else 104, loops 8, boolean chains 5 (nesting depth added 71). Of this number, 82 points are the body\u0027s own statements and 35 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/croc/croc.go"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7750424e28993736a2b9c249bb4a7e8513955e97f6be6bf5253b3e9b23df56ab"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.send (cognitive 94): cli.send has cognitive complexity 94 (threshold 15). Drivers by points: if/else 69, loops 17, boolean chains 8 (nesting depth added 38). Of this number, 90 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca3d04100bddd64be4235cb9b012c387cbe73ec9a9c189a46da068872adf116"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.Receive (cognitive 87): Client.Receive has cognitive complexity 87 (threshold 15). Drivers by points: if/else 74, loops 7, boolean chains 6 (nesting depth added 39). Of this number, 55 points are the body\u0027s own statements and 32 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6561d7728b54014ede916dd4e3a8878d54b3df30c2741817a90d526cf2b8f03"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.senderWaitForHandshake (cognitive 71): Client.senderWaitForHandshake has cognitive complexity 71 (threshold 15). Drivers by points: if/else 70, loops 1 (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":"src/croc/croc.go"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"422747cd8231cdf7644ce4767ddd605bae894ed72c2f0bcdf9a9a930ef0d687d"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.ZipDirectoryWithExactExclusions (cognitive 70): utils.ZipDirectoryWithExactExclusions has cognitive complexity 70 (threshold 15). Drivers by points: if/else 64, loops 4, boolean chains 2 (nesting depth added 29). Of this number, 17 points are the body\u0027s own statements and 53 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/utils/utils.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9780ff3442c219bf6508132d042b76d23658487fb93719c1ee9446ece5c9c2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.UnzipDirectoryWithLimit (cognitive 65): utils.UnzipDirectoryWithLimit has cognitive complexity 65 (threshold 15). Drivers by points: if/else 57, boolean chains 5, loops 3 (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/utils/utils.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"05341c641a1341585ceda44f9459a0daaf8d58c9eba5aec62f1a12ea43c555d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.transfer (cognitive 63): Client.transfer has cognitive complexity 63 (threshold 15). Drivers by points: if/else 46, boolean chains 8, loops 5, 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":"src/croc/croc.go"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac87d7a61b8c792ffbfbe80ee4a172a7904db841865ada9ce014e6a0423b672"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.processMessageFileInfo (cognitive 63): Client.processMessageFileInfo has cognitive complexity 63 (threshold 15). Drivers by points: if/else 55, boolean chains 6, loops 2 (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":"src/croc/croc.go"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"2918c809435da190d72b2a77bc29e1fd416f062e4acc79b4e11579d15bd16ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.receive (cognitive 61): cli.receive has cognitive complexity 61 (threshold 15). Drivers by points: if/else 51, boolean chains 9, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88f536bb7e488f424d8edb4a6a6f28d1c1009fd5637ad8a609aa4ce052a7859"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.updateIfRecipientHasFileInfo (cognitive 58): Client.updateIfRecipientHasFileInfo has cognitive complexity 58 (threshold 15). Drivers by points: if/else 49, boolean chains 8, loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"f694dc84ff6c7c7958ba4a86b39bfed1a104c8d633fbdf1d6387f3d67df10186"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.receiveData (cognitive 55): Client.receiveData has cognitive complexity 55 (threshold 15). Drivers by points: if/else 48, boolean chains 6, loops 1 (nesting depth added 27). Of this number, 54 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ac438b46daad501edea58f1cd728a70837fd475219a0416a4c4f275b15ef36"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.sendData (cognitive 55): Client.sendData has cognitive complexity 55 (threshold 15). Drivers by points: if/else 54, loops 1 (nesting depth added 37). Of this number, 54 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":3104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02aba83faea967647da649ec7a77f04ffc98a9ce8079808ff2cacc42742ed67"}},{"ruleId":"D2","level":"warning","message":{"text":"server.run (cognitive 54): server.run has cognitive complexity 54 (threshold 15). Drivers by points: if/else 44, match/switch 5, loops 3, boolean chains 2 (nesting depth added 27). Most of this is not in the body itself: 15 of the 54 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 253, 221). 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/tcp/tcp.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"126a214a15a45b0d887c9af301eca1562b8ccdcde9f0129074e339f139a03220"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.Send (cognitive 38): Client.Send has cognitive complexity 38 (threshold 15). Drivers by points: if/else 34, boolean chains 2, loops 2 (nesting depth added 14). Of this number, 16 points are the body\u0027s own statements and 22 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/croc/croc.go"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e921a83255cd3885ef22cf45bf5133a123d397759a428fcf8941ef0141ed826"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.processMessagePake (cognitive 30): Client.processMessagePake has cognitive complexity 30 (threshold 15). Drivers by points: if/else 28, boolean chains 2 (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"622b548056b49ccb13ebf693c58a271948085e3966d7089344e5ad20c8e44970"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.newApp (cognitive 29): cli.newApp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, boolean chains 4, loops 3 (nesting depth added 9). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 183, 141). 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/cli/cli.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff2306662879f835fd2c55c6fa4593c423ff801211ad59ae61c610e5f925a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.receiveStored (cognitive 24): cli.receiveStored has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 3, 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":"src/cli/store.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1bc4cae71e7d4aad9d79688e73a53579d4ba63ac09eb609f786ab14d03eeff"}},{"ruleId":"D2","level":"warning","message":{"text":"store.New (cognitive 24): store.New has cognitive complexity 24 (threshold 15). Drivers by points: if/else 24 (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":"src/store/service.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5569b3956753cb947772681c0530a19793f3eef238bfbd7792e45ff51e2f98c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Sweep (cognitive 24): Service.Sweep has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, boolean chains 6, match/switch 2, loops 1 (nesting depth added 8). Of this number, 19 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/store/service.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0910d77f6fcb1cb0823e8143d73877994aa0b70f4ea5a49b88503e0162f01906"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.MissingChunks (cognitive 24): utils.MissingChunks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, boolean chains 3, loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e447cc7c5054012290792ac3849a3f14ddafd6d84b7d869c05dd3d53e75c69d"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.resolveServeAddress (cognitive 22): cli.resolveServeAddress has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, boolean chains 7 (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":"src/cli/cli.go"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae691d68ec951ab44801c86fcd880f3e106701fbbf262b4f047c44a24898278"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.transferWithReconnect (cognitive 22): Client.transferWithReconnect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fc85854f945d27108c548af0444225f624ff7b8b820e7fd44d3d5d84b7753b"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.updateState (cognitive 22): Client.updateState has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, loops 5, boolean chains 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/croc/croc.go"},"region":{"startLine":2909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f0b11989085eebbb1799f558c85398f49ef67d163e596de46f05fbd4aed81b"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.processMessage (cognitive 21): Client.processMessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 3, loops 2, 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/croc/croc.go"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043b0e03bbeb41f02714fc564b08363b9fb0b66081be30e7d75c7d74d2b90e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ServeHTTP (cognitive 21): Service.ServeHTTP has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 9, match/switch 1 (nesting depth added 3). 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/store/service.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"526933398cc7ef6c7d3fc0120fd4e4dc1b283eea69a324e0219b622666768e20"}},{"ruleId":"D2","level":"warning","message":{"text":"server.clientHandshake (cognitive 21): server.clientHandshake has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21 (nesting depth added 2). 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: 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":"src/tcp/tcp.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99a77efcd7160dbfe6237d226ab292cc5101192659c5d6df60ebc02c290165e"}},{"ruleId":"D2","level":"warning","message":{"text":"croc.copyToClipboard (cognitive 20): croc.copyToClipboard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"23916a8f72537360a9e2b04a8f68ec5547ce03a9de3441348ee0b8e6dda6dd23"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.recipientInitializeFile (cognitive 20): Client.recipientInitializeFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, boolean chains 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/croc/croc.go"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d20f6a02e2a05f067a06fc726e55b3436d5312bb9bfd18dbf7737b2a03ab3df"}},{"ruleId":"D2","level":"warning","message":{"text":"storecrypto.ValidateManifest (cognitive 20): storecrypto.ValidateManifest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storecrypto/storecrypto.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3d9780ce274cc7f52108098b5cd0b7e7ac44cb4a983a19fc7dc854f255c4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"tcp.ConnectToTCPServer (cognitive 20): tcp.ConnectToTCPServer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tcp/tcp.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb3b9b3127e4363ff7f8a20e7b2933883eab39740c0d252a551be44498ea1e"}},{"ruleId":"D2","level":"warning","message":{"text":"comm.NewConnection (cognitive 19): comm.NewConnection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, 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":"src/comm/comm.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7220628f122e1e38e9676ba5f088806f4b4f52add0fc1007eec4b6268fbe3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.sendCollectFiles (cognitive 19): Client.sendCollectFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb295d93987e3d1dc7dcf9b327e9bc9417182781d792f7c11efbf07a09d537ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.createEmptyFileAndFinish (cognitive 19): Client.createEmptyFileAndFinish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (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/croc/croc.go"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e441c5a4163335ddd73f377146864cb0b96c7daba94ed63485c169f4ba5e3b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"storeclient.prepareUpload (cognitive 19): storeclient.prepareUpload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, 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":"src/storeclient/client.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"526e2da7890e1f54f35353bffb3364313303e5ef226fb2d85c231d4e4b292fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"storecrypto.ParseShare (cognitive 19): storecrypto.ParseShare has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, 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/storecrypto/storecrypto.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bb3f2bc207744c641ba9db4d2beaac8ecfac3bbf220b84e3facf60995db323"}},{"ruleId":"D2","level":"warning","message":{"text":"staticHandler.ServeHTTP (cognitive 19): staticHandler.ServeHTTP has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 5 (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":"src/webrelay/webrelay.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f42fd8393add0317cd0bdc91225807f0570022a51cc8aaee2ea792dbf7419b"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.relay (cognitive 18): cli.relay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, loops 3 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/cli/cli.go"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492bec07dd9b3c14da4e6f08c61f3393f4df3aa9261a3a3035bf886d232eaba"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.create (cognitive 18): Service.create has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, loops 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"src/store/service.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f3cf12e65b9138d2fde9cafde47d0995064ecd9cb626493ea64c430940308"}},{"ruleId":"D2","level":"warning","message":{"text":"server.deleteOldRooms (cognitive 18): server.deleteOldRooms has cognitive complexity 18 (threshold 15). Drivers by points: loops 9, if/else 7, match/switch 2 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tcp/tcp.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d15ed5df93efe6f3fe1d18518367651ecc37297c92afa5c9175e80139b218e"}},{"ruleId":"D2","level":"warning","message":{"text":"croc.New (cognitive 17): croc.New has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, match/switch 2, boolean chains 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/croc/croc.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5655c36bbc3e318b19de810860af80d9fa069e1f684229bb50e74658b3f742a"}},{"ruleId":"D2","level":"warning","message":{"text":"webrelay.normalizeConfig (cognitive 17): webrelay.normalizeConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 2, loops 1 (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":"src/webrelay/webrelay.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27490131d0d437e98b2806cd3e67f98ff5958afec1b5854604c686e9a51f02"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.runServe (cognitive 16): cli.runServe 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":"src/cli/cli.go"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a98b26a21b5ab1023652a7555e0b91f48dcbc29f61927062f37150505bcf71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: croc/croc.go: FileTooLong \u2014 2304 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/croc/croc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eb0e862e638000e2fe0099d6226a208b670fa0f1f8868425ad1228ec790c95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/service.go: FileTooLong \u2014 797 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/store/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc181449c30b4a60b314c82b68db61f6d298076e3d9d7e938c85225ca6939f54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storeclient/client.go: FileTooLong \u2014 796 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/storeclient/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f89a4e6590bec902b6c53c96b40306c3866ebcb5183cb9c71f903e80cff5c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/cli.go: FileTooLong \u2014 747 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/cli/cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"563609988104f25667c7f6f6489df5ea8a2ebfaeec95aa6e3ce4c5c2ac98a174"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 44 methods, declared across 3 files: croc/croc.go (42), croc/ctx.go (1), croc/terminal_display.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":"src/croc/croc.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f12ebde94655d86ffda13a65ad0c618c13298d2194cdbfc1690f6211c22c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/utils.go: FileTooLong \u2014 676 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/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"334ab00531dd68615e646bcdce643a97b4eb2ceaf0e56219902c2bd277c4da03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tcp/tcp.go: FileTooLong \u2014 539 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/tcp/tcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"758003526ad83f4c7b96c4517c034a36c4db9247e0f53dd56cc8774fd8dcda30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: 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":"src/store/service.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a679b9581dad25c12adf2b408fdc3d42b30736d36fba4bf0d216e121b7ebd711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/utils/utils.go:178-189 | src/utils/utils.go:210-221 | src/utils/utils.go:259-270 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/utils/utils.go:178\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/utils/utils.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e408eae06c33bf7cc83ba8ae1f3c0e8dce90a67486f86f1b65e840fe17ea3a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/cli/store.go:79-90 | src/storeclient/client.go:958-969 \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/cli/store.go:79\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":"src/cli/store.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cddc5d5a6753f7b3b39415f54c2949a73d2121cee6bcaba4b729b92377b2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/cli/cli.go:447-456 | src/cli/cli.go:775-784 \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/cli/cli.go:447\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/cli/cli.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce3a9ccd3b3a0ac16c08522beb027071fca732a42896fd597cf1bb07d21fef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/cli/cli.go:669-678 | src/cli/cli.go:854-863 \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/cli/cli.go:669\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/cli/cli.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f505fa0d2ad7e36a9b17bbe31b9c24189d2ff795fd32f416ba7e874b70832d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/utils/ctx.go:216-224 | src/utils/ctx.go:235-243 | src/utils/ctx.go:263-271 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/utils/ctx.go:216\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":"src/utils/ctx.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9699e7a3ca6de249032e77ea6630246cc01d1a34f68cc4f6d614b106bd7ae6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/cli/cli.go:422-430 | src/cli/cli.go:716-724 \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/cli/cli.go:422\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/cli/cli.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0b05704b0c0ec4c25fdb9f830ed588027479ff5c0c2ca5753e9f34c070882b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/cli/cli.go:551-559 | src/cli/cli.go:563-571 \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/cli/cli.go:551\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e4aaeba785018eeff770a6612ad6a9a8a97a947d1c58778c591957e1683a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/cli/cli.go:473-480 | src/cli/cli.go:795-802 \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/cli/cli.go:473\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/cli/cli.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf33d9641e3f6a96b6d8fa0b8cb408f123479f1e3fe80b3d800093ae2f50e078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/store/service.go:798-804 | src/store/service.go:848-854 | src/store/service.go:1074-1080 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/service.go:798\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 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. 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/store/service.go"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"785b8cfd0a370f1b9336032dc6b372e9c50aefeeceeda2191df9b8a0da1dad5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/utils/utils.go:202-208 | src/utils/utils.go:251-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 \u0060src/utils/utils.go:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"090cf228baaf23b7921ee7b51274c0efd36a7975f13efc13d360f41623946a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/croc/croc.go:2132-2137 | src/croc/croc.go:2496-2501 \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/croc/croc.go:2132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e12bc6b48ac58fb33b1483c9bec4cb19b676b6409f2d088a08de4a07a34a37d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/cli/cli.go: src/cli/cli.go changed 30 times in last 90 days, max complexity 56. 9 of those changes were fix/bug commits, and the other 21 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e07dd9c0f581dca03085e42b2832f63bff3e7cf062bc83be6b64d3be2a7be1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/croc/croc.go: src/croc/croc.go changed 23 times in last 90 days, max complexity 49. 14 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/croc/croc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e67055359bb992efa5f65333a56108fd4c324d0d3fe364a034254de5ec0d08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/App.tsx: web/src/App.tsx changed 14 times in last 90 days, max complexity 47. 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":"web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56fbc2875bde3b7cada041b1a948d4845a22dfd58d83ceecf880c42f6b3061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/utils/utils.go: src/utils/utils.go changed 12 times in last 90 days, max complexity 40. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"391caa4a8974ed8e11e2f15a29dbc92bcbf01462e9d07d5655c9aced5bb2b840"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/protocol/client.ts: web/src/protocol/client.ts changed 6 times in last 90 days, max complexity 24. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/protocol/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3467197e28dfb151a096bcf55214825a3051fb9fa561f465c537257b20b6f09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tcp/tcp.go: src/tcp/tcp.go changed 4 times in last 90 days, max complexity 27. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tcp/tcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e017a983e12480eb03dae57fb928e611da7c33858ad72056c461b4e9812277"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/webrelay/webrelay.go: src/webrelay/webrelay.go changed 6 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":"src/webrelay/webrelay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485f15e87b1b64facc6745485aa9c9bba0d794cf59ba21066ccbe1c6641f598"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/cli/store.go: src/cli/store.go changed 2 times in last 90 days, max complexity 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86de02f50a599ea23c1cb5692775604a239a481870f0c12efa1a43e58e124b8e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/utils/ctx.go, src/models/constants.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be856b8b0113f1a3b00414ef1bf669a299692352ad04c28a7d9b58140e576b79"}},{"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":"c8012c42d297dc9578a0981eaaa3ed7c6e73ed5aa3dc41882e27c10ca099fea5"},"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":"59827f28114b04b486753897f461d483d2f8bf72229b20db4bcb85f5b72e54b7"},"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":"20f30d9f0310efaedbdadc07125188b13c982cb303a19f3eff26d96a1bc4b2ec"},"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":"60af3e1acab2f832292d5189a37c19ffa0f19f5b364a93ddf6c69d2b8ea89360"},"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":"23efd06a098a8f0f7f19ea8ab9a7188ff541a3236c028eb04a2eb215de154dd6"},"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":"ba20d97fa25119076b844afd477ddb19bd6cf28943947ce679ce94450de9c06d"},"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":"c007dea264d2a142913b1035064d91a238468aea460cef2d77b0cb3669cf2520"},"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":"27535a7359e1b51a24d84d31bd08b0f9c8a5a2efd6f2420cbd78d4e44097902b"},"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":"19808a26fc5a55b1edc2b25ee82aefd00ae04bde4641b02497c0b083df1b6424"},"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":"5fb863ae9124fb1107403b4a52bf6f343870101f31f6836596b441079c514b9c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31ecb96fea05d880955e50edfb1c5b50f22fdc3cdad5f5c8e762a9a9157d6e7e"},"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":"65f3548892301fb7882aacf0a13e39b1ee82008c2279b57f34e1883d9ee1f246"},"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":"86f2cfb2cc32d82d657295c4fcd1e6a40c50b9d9e79bc6e760ea1dd0687097c2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce2405d59fc0aff10da513b3f452bb92e4af80ff02efc4c04911b24c862ab535"},"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":"b2cb6774344a669c35f0c24800a2d5d3e0e7b07d3de51d97557baccba582463b"},"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":"aab82ce3541ef46fc20b0c67889f7249527af726106d79d13182315342a56162"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53a112a53c05e4079c0523e4e1b032fbe60ae54aa09c0c3451d36f4dc5e269fb"},"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":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"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":"61b6c8f93e173bba0abb1b69cf036932591ac87732384f04f84a50a77e8c7070"},"taxa":[{"id":"CWE-95","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":"e6b17f3d2952c65dbe7389bcfeb67158101f4fd16a3a12aab2563602362a0389"},"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":"e5a97630c95ec779d6adcd0b2bbf76203b7f9ec68c005af924c53fdb9bb7f48e"},"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":"8321a33de01cdf76d4da0199f6faaa0ce2d9a3b20a58c8c9f773a8d5e85bd27e"},"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":"dc17cedac5eb81aafabb722d82d174ec3206ab13a23ae26af723ef5accd56cd4"},"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":"7a53f46af90e05d8f55e6c706bedaca88f41b08c71c851d9a037e27502aaae64"},"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":"cb60ac07b42214d787905ed1988d5128a976e1762ef7f0c3658d61ff528a1778"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae2dfb06bfe0dcadfc949c881aa237cb2a4aac5b1cc69adf101d9e003549ef46"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","level":"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":"2a071a61920c0db715a9035ea112dd6aafc40680b2d24dc4a4a8c371a7788641"}},{"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":"50c379534161bb30611d421e82af3666b891a67b9a6a35df5a4fc4b4977e653b"}},{"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":"9159ac52ccbb7cea6f28bdf106e8a8b52466dfaafffc2cad162fecaac213d1f6"}},{"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":"626e01eacf94c3b3382809ff8a91277880813d4497b12c2cdcf28b0d8c94458b"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"CWE-95","shortDescription":{"text":"CWE-95"},"helpUri":"https://cwe.mitre.org/data/definitions/95.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":41,"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."]}]}