{"$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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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"]}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"recoverylog.playLog (cyclomatic 49): recoverylog.playLog has cyclomatic complexity 49 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/recoverylog/playback.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"69507a85818f956a2071201f0aecc662bdce0396c7e782d804dd831319223d07"}},{"ruleId":"D1","level":"warning","message":{"text":"appendFSM.onValidatePreconditions (cyclomatic 38): appendFSM.onValidatePreconditions has cyclomatic complexity 38 (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":"broker/append_fsm.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36870842cf20fb5c230917c41f0bf344f318326013bc35651cc3fe1047738c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Resolver.Resolve (cyclomatic 36): Resolver.Resolve has cyclomatic complexity 36 (threshold 15). Of this number, 35 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":"consumer/resolver.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead836244b64f44baf899c27a5bbc96933d8aeec15150f892b49d5bb4217ad93"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.Read (cyclomatic 35): Reader.Read has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/client/reader.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4471b61d3c0d63b9a320dd6826cf499547f4dfcde821132b200eca336594eb"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxFlow.discharge (cyclomatic 32): MaxFlow.discharge has cyclomatic complexity 32 (threshold 15). Of this number, 31 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":"allocator/sparse_push_relabel/push_relabel.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc8fd83c15b75baf8e95147627feb5a6a3ab04922b5efd932bc71c3a0556c26"}},{"ruleId":"D1","level":"warning","message":{"text":"recoverylog.reduceSegment (cyclomatic 32): recoverylog.reduceSegment has cyclomatic complexity 32 (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":"consumer/recoverylog/segment.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033636b9964ad08e897336b967c0a0d3279bf746c1940b46bd455546036f6f0"}},{"ruleId":"D1","level":"warning","message":{"text":"appendFSM.onStreamContent (cyclomatic 30): appendFSM.onStreamContent has cyclomatic complexity 30 (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":"broker/append_fsm.go"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acd4bdf97571663446ae3db0d3c830ef19081adaf8cb2c6d0624655edebd229"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.resolve (cyclomatic 28): resolver.resolve has cyclomatic complexity 28 (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":"broker/resolver.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6eec51bb881f9e650779ef5729ab484d059927eb130929cac63b9ce65474b5"}},{"ruleId":"D1","level":"warning","message":{"text":"broker.serveRead (cyclomatic 24): broker.serveRead has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/read_api.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dce7c8c8c62680018248c4c2e849623130e764a9bc2f68752ed041b3e9c2a0c"}},{"ruleId":"D1","level":"warning","message":{"text":"Sequencer.QueueUncommitted (cyclomatic 24): Sequencer.QueueUncommitted has cyclomatic complexity 24 (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":"message/sequencer.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"28326b25559735f4742d139bc1b98afce945f02497e034432e202bc96d58255a"}},{"ruleId":"D1","level":"warning","message":{"text":"RetryReader.Read (cyclomatic 20): RetryReader.Read has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/client/retry_reader.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ce679e0d2f6095287b1f559a78ab1abd33c1f1d51e0104c683ea4dd333e31b"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdJournalAppend.Execute (cyclomatic 20): cmdJournalAppend.Execute has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/journals_append.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b8e78c12229672835de7f42bca3fc5d36f726fb7c18cab8a21d2818267b76a"}},{"ruleId":"D1","level":"warning","message":{"text":"KeySpace.Watch (cyclomatic 20): KeySpace.Watch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keyspace/key_space.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"828bf218124db78311338d5d2d5acf7100ee6a86485869176a0196d7743dcdf3"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.Query (cyclomatic 18): Index.Query 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":"broker/fragment/index.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d32c27a4a313b3cb4fd294a0cd56cb5481dad21930857aa0c6fe7243ccafd5"}},{"ruleId":"D1","level":"warning","message":{"text":"Spool.applyCommit (cyclomatic 18): Spool.applyCommit 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":"broker/fragment/spool.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e82da67715df8c136d5c1d1f1a3e3763b641e656055e32df8bdb2b705f1055"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdShardsPrune.Execute (cyclomatic 18): cmdShardsPrune.Execute has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/shards_prune.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6568ca79304a12a9a56907b8751ccc7cb4f551e0e754014dfb38ffbd06cfc3"}},{"ruleId":"D1","level":"warning","message":{"text":"State.observe (cyclomatic 17): State.observe has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocator/alloc_state.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6fd5eded49db006359b434b1b4841dc8f349ba86e287155adc60011e0d3369"}},{"ruleId":"D1","level":"warning","message":{"text":"fragment.Persist (cyclomatic 17): fragment.Persist has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment/stores.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d65094da835c7491b2c6a16d1d5784519485d2396ea618cfe1ac3a71a4fcf3c"}},{"ruleId":"D1","level":"warning","message":{"text":"FSM.Apply (cyclomatic 17): FSM.Apply 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":"consumer/recoverylog/fsm.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea610dccc92c61a9c5fc649207d55cc9bde3be779d80394d5c64004605aa5d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"Sequencer.Step (cyclomatic 17): Sequencer.Step has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"message/sequencer.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4836469e3248616d715433814c753393ef6218e0365aab5c4d1f5727bacb7b1"}},{"ruleId":"D1","level":"warning","message":{"text":"broker.pulseDaemon (cyclomatic 16): broker.pulseDaemon 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":"broker/replica.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b21a338313bf8b34bb743864ab70aee93e38680f6b4d90e032ce3c1821174f7"}},{"ruleId":"D1","level":"warning","message":{"text":"CoverSet.Add (cyclomatic 16): CoverSet.Add 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":"broker/fragment/cover_set.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a882d5998fbaecce4ae2c51bf058116a78beabfe7c2108aa0dc9d777ce631ea"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol.matchSelector (cyclomatic 16): protocol.matchSelector 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":"broker/protocol/label_extensions.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bccb4f0ef4c0b5ebf0153d81e97b4e3c1d3870f74c1e8fae50517537f4ff8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.List (cyclomatic 16): Service.List has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"broker/list_apply_api.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bece41cead8abdb01259617939d6e64354f28b7935b4b0e269b7d5ca6ad3d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"stores.runCheck (cyclomatic 16): stores.runCheck has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/stores/health_check.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f23f8c845f78beb260c4a5e8cf37d2308075a589d3b639758beccac8b7a5680"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdJournalsList.outputTable (cyclomatic 16): cmdJournalsList.outputTable has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/journals_list.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff99855cf9d23dd2a3875110872058283065dad58f31c03b70b8ddb34890dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdShardsList.outputTable (cyclomatic 16): cmdShardsList.outputTable has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/shards_list.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529f6f42611489c391203ad4aa6619f805ffdaba51bcd42e71858604846144e"}},{"ruleId":"D1","level":"warning","message":{"text":"consumer.txnStep (cyclomatic 16): consumer.txnStep 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":"consumer/transaction.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fefbd1d4d0065f05e6683d392df428469a8b343dc455098b27e2d71d5613966"}},{"ruleId":"D1","level":"warning","message":{"text":"recoverylog.makeLive (cyclomatic 16): recoverylog.makeLive 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":"consumer/recoverylog/playback.go"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30bbb8e3a3d35cbbd4620d640196de276d45249cd4792dd248749898c75303a"}},{"ruleId":"D1","level":"warning","message":{"text":"Application.ServeBikeHistory (cyclomatic 16): Application.ServeBikeHistory has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/bike-share/api.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ea152e123cead331f61703c17c392e68bc8c7ace504d044925dad13a05e120"}},{"ruleId":"D1","level":"warning","message":{"text":"server.New (cyclomatic 16): server.New has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2a773850e767d81f0cac9ef2dfa31c0d2c3477ffe0810460a6f2e631bfe14b"}},{"ruleId":"D2","level":"warning","message":{"text":"recoverylog.playLog (cognitive 88): recoverylog.playLog has cognitive complexity 88 (threshold 15). Drivers by points: if/else 70, match/switch 10, boolean chains 4, loops 4 (nesting depth added 43). Of this number, 84 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":"consumer/recoverylog/playback.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"badf814fdfe338c4e0298c0c68cddcc96fae2e19183e43aa4f4564b706bc1e80"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxFlow.discharge (cognitive 66): MaxFlow.discharge has cognitive complexity 66 (threshold 15). Drivers by points: if/else 52, loops 7, jumps 4, boolean chains 3 (nesting depth added 29). Of this number, 65 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":"allocator/sparse_push_relabel/push_relabel.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99c6c35671c4c7177e4e9e3b4ce36ee5dd695c5da35a4b8ca1aff656ef65e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.Resolve (cognitive 63): Resolver.Resolve has cognitive complexity 63 (threshold 15). Drivers by points: if/else 45, loops 8, match/switch 8, boolean chains 2 (nesting depth added 29). Of this number, 62 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":"consumer/resolver.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f94eb7c99fcbd2578b1cdd8c83817c9db3afa7c25399ab1610f5ba00e212f"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.Read (cognitive 51): Reader.Read has cognitive complexity 51 (threshold 15). Drivers by points: if/else 47, boolean chains 3, match/switch 1 (nesting depth added 20). 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":"broker/client/reader.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af403b2e6e7a690525bb54ff52c1b2deca939cc16ba45fe1bbcd00d040e5234"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.resolve (cognitive 40): resolver.resolve has cognitive complexity 40 (threshold 15). Drivers by points: if/else 33, boolean chains 5, loops 2 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/resolver.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ceba55b51115c89ac19ff1e9685ab0d8c0747dd165c8285cb2e4da5a4e4ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdShardsPrune.Execute (cognitive 40): cmdShardsPrune.Execute has cognitive complexity 40 (threshold 15). Drivers by points: if/else 33, loops 6, boolean chains 1 (nesting depth added 22). Of this number, 30 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/shards_prune.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3bb75fad702635d3bb07275413d14a7511e0a19a47f68548d7faf3b813752e"}},{"ruleId":"D2","level":"warning","message":{"text":"appendFSM.onValidatePreconditions (cognitive 39): appendFSM.onValidatePreconditions has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26, boolean chains 9, match/switch 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/append_fsm.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f5e68cbee8d9429ccd7af5de4264ebb5a14164f32ffd10841647a169b4ca78"}},{"ruleId":"D2","level":"warning","message":{"text":"broker.serveRead (cognitive 38): broker.serveRead has cognitive complexity 38 (threshold 15). Drivers by points: if/else 30, boolean chains 5, loops 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/read_api.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9133a4affd44d992a8acaa5185070e76322a954730828f38d3f3ba755f7c41"}},{"ruleId":"D2","level":"warning","message":{"text":"stream_sum.verify (cognitive 38): stream_sum.verify has cognitive complexity 38 (threshold 15). Drivers by points: if/else 26, match/switch 6, loops 4, boolean chains 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":"examples/stream-sum/stream_sum.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ecc027a4ca41e3a83a9a4510a092883f6647e546b9ded7626731003a4acd42"}},{"ruleId":"D2","level":"warning","message":{"text":"KeySpace.Watch (cognitive 35): KeySpace.Watch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22, match/switch 10, boolean chains 2, loops 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":"keyspace/key_space.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58b4324dc71e45cb739bee0d5a4968cb1e0d0ecdfd5b13f08cbe148abb8aa08"}},{"ruleId":"D2","level":"warning","message":{"text":"appendFSM.onStreamContent (cognitive 34): appendFSM.onStreamContent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, boolean chains 10 (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":"broker/append_fsm.go"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"2554d7b60882fd18e21bd000f39e97c0752642e6f5df7c25ddbdae594e3ee128"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdJournalsList.outputTable (cognitive 31): cmdJournalsList.outputTable has cognitive complexity 31 (threshold 15). Drivers by points: if/else 26, loops 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/journals_list.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bcb3e1f9bbdc653b9259171991ea7af1818ccf17d7c5a2833b39580af012e6"}},{"ruleId":"D2","level":"warning","message":{"text":"State.observe (cognitive 29): State.observe has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, loops 5, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocator/alloc_state.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f56255909ce930811435afb23537a79aa18fcd293f5a5fb54be562038405345"}},{"ruleId":"D2","level":"warning","message":{"text":"allocator.Allocate (cognitive 29): allocator.Allocate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocator/allocator.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7a9574bfdb6f33c307490970d89abd70c58ceca4a6a18e3a1704eb60aa6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdShardsList.outputTable (cognitive 29): cmdShardsList.outputTable has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, loops 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/shards_list.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"81433ad02f2dc4728ce92c70f9bfa48bfd7e30791c286b0170d18e08a83d2e14"}},{"ruleId":"D2","level":"warning","message":{"text":"Spool.compressThrough (cognitive 28): Spool.compressThrough has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment/spool.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9122ef9851dddff5b347fcb0e5dbb7b113a09d2ffcb4ed42c0838481e725c1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.gatherSync (cognitive 27): pipeline.gatherSync has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, match/switch 5, boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/pipeline.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1545b113418a1ebccd273e8634044d7360c62c721634585e0a72bb3678e77326"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.EditRetryLoop (cognitive 27): editor.EditRetryLoop has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25, boolean chains 1, loops 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/editor/editor.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1524af99a95727dda08c3f82362016765397698ee0a1445e9594fed5190cd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.updateResolutions (cognitive 26): resolver.updateResolutions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 7, boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/resolver.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"184626cf98e9a74ef43f83c6c5b74fe3e94aa1f4645d77188fcb512bb18cd58a"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdShardsUnassign.Execute (cognitive 26): cmdShardsUnassign.Execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 9, 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":"cmd/gazctl/gazctlcmd/shards_unassign.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fe89ad43d41f672bbbc16c69e1ba6b8845cec4c3f58a2273bb2dfcf4989418"}},{"ruleId":"D2","level":"warning","message":{"text":"KeySpace.Load (cognitive 26): KeySpace.Load has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18, loops 5, match/switch 2, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keyspace/key_space.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"464e02f325173ea61f52dd075568488e0f2020a7672c9537bb3549b248d90ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"Sequencer.QueueUncommitted (cognitive 26): Sequencer.QueueUncommitted has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"message/sequencer.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ad57f856ab6c364c5d51016f76bbfe031828a5a3c17dfce9c595980dba559"}},{"ruleId":"D2","level":"warning","message":{"text":"fragment.Persist (cognitive 25): fragment.Persist has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22, boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment/stores.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3ec6fb52f0875c5a2a511c84cddbbd41e3b51613f6a9fb17749e183572f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.List (cognitive 25): Service.List has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, loops 7 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/list_apply_api.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a3d8784a9341bd4534adef87e5140b42ffbcae02d570c5aff4c8b61008d3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.ShardApply (cognitive 23): consumer.ShardApply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/shard_api.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fafca9bd6f485ca9109046cc207e41d0a266164d46a455c57163008e404360"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryReader.Read (cognitive 22): RetryReader.Read has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, match/switch 4, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/client/retry_reader.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc61f85cc6288632a0e1e934fd07738525051dcec45ba4aa79209bfabe5d5e98"}},{"ruleId":"D2","level":"warning","message":{"text":"Spool.applyCommit (cognitive 22): Spool.applyCommit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, boolean chains 7 (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":"broker/fragment/spool.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc91d597dba3ce0243d3bd22440dc2c1bb490ef4ea6d1b30ff24f4ff7ae0bfe7"}},{"ruleId":"D2","level":"warning","message":{"text":"Sequencer.Step (cognitive 22): Sequencer.Step has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"message/sequencer.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"58becb2ef3cbeaa4109bc79f38ff2d4b3a2a721a2abe8c224206428046cade73"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.Query (cognitive 21): Index.Query has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, boolean chains 4, match/switch 2, 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":"broker/fragment/index.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec3c9851a4d1fbd314a2c8ba24d7d9b534a01d48509972d45397831dfe9f47c"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdJournalAppend.Execute (cognitive 21): cmdJournalAppend.Execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, boolean chains 4, match/switch 2, loops 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/journals_append.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3066a7e372dece7045bdba0f0c95773c814030db956a84c6547827ba557ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"recoverylog.makeLive (cognitive 21): recoverylog.makeLive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/recoverylog/playback.go"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ad22aa514c9ad314dc3b31b243fdb7a9f895845adcb101aaee70df00a6d6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"server.New (cognitive 21): server.New has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 1 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b70eca93bac784ba3f294ed54cfa7935085201a7a412e9b2fdf92724f3d6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.fetchHints (cognitive 20): consumer.fetchHints has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/recovery.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf6978192debdba82034d418194bf1ebe88f3e555e0f1605c1e8af4fd5984a"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.completeRecovery (cognitive 20): consumer.completeRecovery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, match/switch 5, loops 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/recovery.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a20ec93c26d38ac298ce7c20f2b42669832511781c097752a4c4a9362b8f343"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.ShardUnassign (cognitive 20): consumer.ShardUnassign has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, loops 3, 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":"consumer/shard_api.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ac4679bd0566a8a53671ec6b29ba4089532564046e7bb914c21f894169e0ae"}},{"ruleId":"D2","level":"warning","message":{"text":"recoverylog.reduceSegment (cognitive 20): recoverylog.reduceSegment has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 7, 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":"consumer/recoverylog/segment.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"99143cddffd811d1bc53880e08a84f7728ce4eec72f99e2be418ac4b526d2930"}},{"ruleId":"D2","level":"warning","message":{"text":"broker.pulseDaemon (cognitive 19): broker.pulseDaemon has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 2, match/switch 2, 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":"broker/replica.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a495524521d937db9cc640d1b79b988120bac591a89f2c58882572407ffcca"}},{"ruleId":"D2","level":"warning","message":{"text":"client.ReadListResponse (cognitive 19): client.ReadListResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, 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":"broker/client/list.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1463084a31ecf337febad78361e218327d733d629c9fde839c4099f1974db8f"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchedList.watch (cognitive 19): WatchedList.watch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, match/switch 5, 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":"broker/client/list.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5180ec28c734a9f12f2cebe49e8a6fad7fd69be4018e49f7545e002e2abf352b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverSet.Add (cognitive 19): CoverSet.Add has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 5, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment/cover_set.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"40111ee0165db97d1702804d116ac4f96deffd18254403e6596cb4004b3d7bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol.matchSelector (cognitive 19): protocol.matchSelector has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 6, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/protocol/label_extensions.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45eeef966b1b9a12491bbf93b0ae063e203be94644fc2d958276bf726837a98"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Apply (cognitive 19): Service.Apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, loops 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/list_apply_api.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"30959f1eacd65ece68c41fd92b1a8c5f517aeb58b3338879ebaa7d7594683bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"keyspace.updateKeyValuesTail (cognitive 19): keyspace.updateKeyValuesTail has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keyspace/key_values.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d026f4874bfdad28a5dfa577f994703e83f0be38980b939d66f09caf93b1ed45"}},{"ruleId":"D2","level":"warning","message":{"text":"client.Append (cognitive 18): client.Append has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 3, loops 3, match/switch 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":"broker/client/appender.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b22e5ca1278576aea8d2e21e4d7f92b6456bf4c532a10c7ad33bf2bd2a2802"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdAttachUUIDs.Execute (cognitive 18): cmdAttachUUIDs.Execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 5 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/attach_uuids.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d10ed2b5a33a3b312a35033ad272ca1d5c109170e26d1a733680229f3324033"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.servePrimary (cognitive 18): consumer.servePrimary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, loops 1 (nesting depth added 6). Of this number, 14 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":"consumer/shard.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88210175ccb4c362cf3ae002dbdd5274acf3d799669103ecd5b17612f61f499"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatcher.Pick (cognitive 17): dispatcher.Pick has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/protocol/dispatcher.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac446e256fa270af4dcef18ccdf68242f2979a8719d02a52a4eaf59ca61e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.txnStep (cognitive 17): consumer.txnStep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, match/switch 6, boolean chains 2 (nesting depth added 4). 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":"consumer/transaction.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e081e94e0d373dcb9495ffd661600500bb4b0e6ec357f61a53e4ebf05cfec53"}},{"ruleId":"D2","level":"warning","message":{"text":"FSM.Apply (cognitive 17): FSM.Apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"consumer/recoverylog/fsm.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"10491d9f2fa8090e2649f6840e92187cc5488297a32e6bd8878b7b57c3bb1c32"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxFlow.addFlow (cognitive 16): MaxFlow.addFlow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocator/sparse_push_relabel/push_relabel.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb3f1d2e1f31169fdf6926fcbc82ffa75aceccd077fbff331ae2b86825fa37"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Append (cognitive 16): Service.Append has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, match/switch 1 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"broker/append_api.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"116090e6ef75057e281480f5e7a858381e57bfae938bc76cdfd637d3e957c00e"}},{"ruleId":"D2","level":"warning","message":{"text":"Broker.Replicate (cognitive 16): Broker.Replicate has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8, if/else 6, loops 2 (nesting depth added 8). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 81). 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":"broker/teststub/broker.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa0f3dad1017f4a2ef5de408752a97ddb1779bd5ea4fb8888e98507fd8ff7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Broker.Append (cognitive 16): Broker.Append has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8, if/else 6, loops 2 (nesting depth added 8). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 147). 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":"broker/teststub/broker.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad7d2b96da7dc40b2fc578db195ad1e2c95d27027da8ab2fa5607b4340913b"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdJournalAppend.process (cognitive 16): cmdJournalAppend.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"cmd/gazctl/gazctlcmd/journals_append.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"893e45e6e41a346e491d98f60caaa5729d8bc7a7e0c0b98651ffdc08429d6944"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.VerifyReferencedJournals (cognitive 16): consumer.VerifyReferencedJournals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 3 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"consumer/shard_api.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0295140cef39b32a6dc4beb81ea3f9099ac9d837ecebc8555f630f3e58adde8"}},{"ruleId":"D2","level":"warning","message":{"text":"consumer.runTransactions (cognitive 16): consumer.runTransactions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2, match/switch 2 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"consumer/transaction.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c380a28a4eb02aaf07595a6a1b2920b507ccb4eac89e3baa64d61823dded48a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Application.ServeBikeHistory (cognitive 16): Application.ServeBikeHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 1, match/switch 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"examples/bike-share/api.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"623db201dd62dff1ee3304cd145a21bfb9f1976baf94bb61906a018419061a90"}},{"ruleId":"D2","level":"warning","message":{"text":"Counter.Publish (cognitive 16): Counter.Publish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 5 (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":"examples/word-count/word_count.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4458873a96f550045afaec3ef1f8024f74f3337daf0d79dfd20c4b3c1d245674"}},{"ruleId":"D2","level":"warning","message":{"text":"message.UnpackFixedFrame (cognitive 16): message.UnpackFixedFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 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":"message/fixed_framing.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80fa4f837fd16d684a0732dacdb061d88d71204fec3a9eb9937b4f783f4e8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/teststub/broker.go:92-106 | broker/teststub/broker.go:158-172 \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 \u0060broker/teststub/broker.go:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/teststub/broker.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4081c60154149596e1b81bc59884fa50ccea19b8590133a896bf4aeb366f6c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mainboilerplate/client.go:64-75 | mainboilerplate/client.go:88-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mainboilerplate/client.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54390645e731a3c5259495f96e49b0e59a00622e7946b60d582e3b9fa41df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/protocol/auth.go:100-110 | broker/protocol/auth.go:144-154 \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 \u0060broker/protocol/auth.go:100\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":"broker/protocol/auth.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7859ab38af919425ee3145b9b2b97df93b1d820b7ff8d46af9d0dad13175a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/gazctl/gazctlcmd/journals_reset_head.go:61-70 | cmd/gazctl/gazctlcmd/journals_suspend.go:37-46 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gazctl/gazctlcmd/journals_reset_head.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec172d3604773f76cc4213b8abf3a7fdc586871b2b19e533fb353f1a5c0ffb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): consumer/protocol/auth.go:23-32 | consumer/protocol/auth.go:67-76 \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 \u0060consumer/protocol/auth.go:23\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":"consumer/protocol/auth.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7584213612e7e21d5904b2ca2ca7e6e56ca90e88dc2939e25325369644f23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/list_apply_api.go:225-234 | consumer/shard_api.go:113-122 \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 \u0060broker/list_apply_api.go:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/list_apply_api.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0f12a98537d642a5a6d84bb59d633129e10c215a0b5b9e94770ecf454f6afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/list_apply_api.go:244-254 | consumer/shard_api.go:140-149 \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 \u0060broker/list_apply_api.go:244\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":"broker/list_apply_api.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a51720ab3b0277e5cdf51e2b668230934148e60fef36f8bf5df101f8caa18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): broker/stores/azure/common.go:155-163 | broker/stores/fs/store.go:141-149 | broker/stores/gcs/store.go:184-192 | broker/stores/s3/store.go:244-252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/stores/azure/common.go:155\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":"broker/stores/azure/common.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dfbd2a5c7c069d69840d5c08fb646e3740de4ab2ae42db80e414270d3f18ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): broker/protocol/label_extensions.go:179-187 | broker/protocol/label_extensions.go:200-208 | broker/protocol/label_extensions.go:219-227 \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 \u0060broker/protocol/label_extensions.go:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/protocol/label_extensions.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca07ebad92edea99bdd215884ba66dadd2ed088b8964ce59bc96fb55e31eab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): consumer/shard_api.go:280-288 | consumer/shard_api.go:294-302 | consumer/shard_api.go:395-403 \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 \u0060consumer/shard_api.go:280\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":"consumer/shard_api.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce2598f20795cf57c03791f8e854e9afd983f9b32204c12bbbc9d1b6d0ccc07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): broker/fragment_store_health_api.go:19-26 | broker/fragments_api.go:21-28 | broker/list_apply_api.go:207-214 | broker/replicate_api.go:23-30 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/fragment_store_health_api.go:19\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment_store_health_api.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10309a5a990fc6cba0adfe0fae08ff6955712ae1cd4fd988b57e52118c2f012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/replica.go:246-257 | broker/replica.go:284-291 \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 \u0060broker/replica.go:246\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":"broker/replica.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0775a3e790cd6025db27d7e8fe258a8e7f06ed5d65df26b95a0e70e773ef825b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): broker/append_api.go:23-29 | broker/read_api.go:21-27 | broker/list_apply_api.go:24-30 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/append_api.go:23\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/append_api.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a5a4498f4c698d81492c0229c8918d6515771b19456954f73dba34af17682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/list_apply_api.go:266-272 | consumer/shard_api.go:161-167 \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 \u0060broker/list_apply_api.go:266\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":"broker/list_apply_api.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87792a8996a45b86151a7526a1a0b68c4fb28d33ecaaa643be250bdc4c31b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): allocator/alloc_state.go:148-153 | allocator/allocator.go:156-161 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060allocator/alloc_state.go:148\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":"allocator/alloc_state.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c57081469b1f99251dcd393362bbb73a56be6311b161373bd1166f7dd41709b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/client/list.go:228-233 | consumer/shard_api.go:377-382 \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 \u0060broker/client/list.go:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/client/list.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aad4d38d2319acc4ab404179e2ab89a2dfee0373ec58ea42caeee4d5082167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/stores/azure/account.go:79-84 | broker/stores/azure/ad.go:135-140 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/stores/azure/account.go:79\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":"broker/stores/azure/account.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df5cad33cafcc500facb7f14f40e96b2cf9d058be9a7bb4fbe068b27acff8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/client/append_service_win.go:31-35 | broker/fragment/spool_win.go:26-30 \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 \u0060broker/client/append_service_win.go:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/client/append_service_win.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48dcb8ec89f3ff4c0f6f2a9bbf32756c625d99f64de4db93254b7c618395a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/gazctl/gazctlcmd/shards_prune.go: cmd/gazctl/gazctlcmd/shards_prune.go changed 2 times in last 90 days, max complexity 18. 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":"cmd/gazctl/gazctlcmd/shards_prune.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0056bb86df5a0f2ad3c8898b6f7ece4cf248ae19068bee8d73b8ec75cf906d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: broker/append_fsm.go, consumer/shard_api.go, broker/resolver.go, broker/replica.go, mainboilerplate/runconsumer/run_consumer.go, server/server.go, cmd/gazette/main.go, broker/fragment/index.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a685bc3c303bdd3a6bf223f7aca1df5bdc1dede86c157ff7e38be75f9a3baac"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: consumer/protocol/shard_spec_extensions.go, broker/protocol/fragment_extensions.go, broker/codecs/codecs.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8642305e44c3916c94f41d4b761559da654182b8692eddf27383cd81d1ab96fa"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (12 single-owned of 108 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"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":"21f3da8dbfd064a0d2a47f571c20b740bae46de4f2a1bca329a50311a5d80e2a"},"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":"09d300242dafb878321070b8175fcdc88dfe764c8ca761d0c3fa3682e9c45c44"},"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":"e21db35ce77d4e90a0dd165d5aa590f628cc38824ecf3e870f818ae38cbb4003"},"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":"34ed3cbde2e955d2e1e91c5052317621a1a643cec356e8960c4ded960aaf7908"},"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":"b5cb631eb53af3bc7cdd5b29b155ee25a141235129c66616889821a2764fad5d"},"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":"bee2f58b52490010589a7d255d10b2cb6ef738d5fe379545a04cf30df677f469"},"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":"c6627256f6d5c0f238e62adf999b03b6471c65395b662ae2e44d6bf010a383a9"},"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":"60addb9c37bf19dac02a142adf20f763ad413e1c9de1c8ec28d1eaa6230cee76"},"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":"8cb00969e18fd4e8d87c077c8240c7d704449e098cadee21c74ed2bce4e536f1"},"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":"8a4e5ff0817f65fdef02b6686d3f598c6910e4c4b87da016fa608950a1607665"},"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":"42e7060c7bc16d95a66f44cc120e786449b9db8aedb9f6636f948ca76ca2fc1d"},"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":"c44eed17e3623a120eb1afdb1f8145c3e35f68505cbd8fb603d20b3bb3813368"},"taxa":[{"id":"CWE-338","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":"d54082a64ce3bb0bfe1e16cfee7f47bedcdc8b7be637f0339c15ea17d43c66db"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5f50be67d25b2e5ec8509a88e7f8fd5ac9edbda2b4e064cdc9f1eee9876ccd8"},"taxa":[{"id":"CWE-732","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":"c4490ca6a4d05defce6330b1e782c3ed94231c6f44304ee6b0889a797125d1d1"},"taxa":[{"id":"CWE-732","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":"e7b0036ce133c3eef2b71ea05fe14c1effa5e7aa85b71357168cdf792f588210"},"taxa":[{"id":"CWE-732","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":"aacdea8b77083776925515b1284abbb2aa776d1c543da9e3fccf56957752f53e"},"taxa":[{"id":"CWE-732","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":"33d010bac4dc5d3c0b3d9cc3e9daa5b6356dacba3060d34bd0e479ddcb1846f0"},"taxa":[{"id":"CWE-732","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":"8982e7e21763a611957a9fe398fd355eefaced8376c8bfaf63836c2e902267ec"},"taxa":[{"id":"CWE-732","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":"676bbff2133185a8a79253e64803b20f5edf28e6b3f74bf42c20674ddd12de06"},"taxa":[{"id":"CWE-732","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":"91bb7ea704afc8d5e718687d1b5f300f6fe49c2fbbcbda126be89c4fefdaa87d"},"taxa":[{"id":"CWE-732","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":"02c00d7174d46dbd6435aab69bf4a77c4a9625e336bc2b7b1bd8f58634b827d8"},"taxa":[{"id":"CWE-732","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":"4b7531f38a35a68ec2ccde500ea60ccf648aa7d65fb84caee8cae6c4fee76a0f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b96c5dcf8e3ad653dda8ef31198e36f16d5cdf45360193b8ede188fe8ff5adae"},"taxa":[{"id":"CWE-338","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":"bdfe51862c8803263689670123821b44e60a48c16621e42e26e1fa1137eae906"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06eea37907504aa601e5fdc7eb703ad4dc2f9c871949bb984f9fc5c3719046a4"},"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":"a5f8bab3feeee3b4066e453fa49f887b8d2ec793c0bf7827888447ead1e7238a"},"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":"1fdc3bc9e1b37545dadeea2772afcf63b97c40e94107ee8c78a633dd2bd820c9"},"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":"21080c57571dbdf883035f496132a07736ed48a71f69224f62858d1355355f34"},"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":"0a1bc710d12e155685f110d11056abc250e4d50bbbcdc8db6e2230bef164329a"},"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":"8a571d363fa33299640300720d8a06ea87a656c2cfda44122af411531c99e0be"},"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":"3a5f7e22df833d03651fbf32ff8e1b4c36558c81867998b13d08d28f2974e204"},"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":"f517a87b675a9c4d68b48d211d2848feec3d5121c7c4c72bee34c58c17b0ac64"},"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":"16db334fbce67a518939a277b5fd5ec33770654b514cd00efd40f74cb0a09f5d"},"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":"bd5170f079fa6942773624d9538b358249567fbe52ce6b30c3ca4d5cb822b07a"},"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":"0330618e060e46a1650451a5d1602c314f8273f1297af6599d422e977afd02f0"},"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":"834ccf06ec303c0b92e8adb922d4e4f77a6e2e98b181c8f64df83ca2d31e1f38"},"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":"930666589cc03dfe3b338f05f38c7cf1ac60fe37694b4760e898552da138dcc4"},"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":"6db874ae610673b36682e2ec11dd775f0b876777e7794b54c5d060a9c98cecff"},"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":"b6f5e7a99ca49685bd1aa68da2dbe1c0c3f09c271536dd510781808d4e999f4b"},"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":"ed33d8d79350e279df78e7326936b40ceeabdde06e63cbcb04902556f1fc10fa"},"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":"2c97ba5c43f75780dfdaa50b90d100a12fd78169a3d4554f545bf11d06dab717"},"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":"22a694410160f432ca0284d9706f7fc36221e0f9603a5166468ffde31abf7d9f"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a996f1d825ab0f9449a9fb347357bea7d54f956a434a50dc6112c02234577fb"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c37db97aaca4979469eb2179da96d64ae7ea37434df0e93dee2867e1647a3863"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a98048861028de61d8c4a0b15d18081b179706c65a9bb8ad699af441cd44161a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b96859810984bf858b983ef69045d26b571749d114cb664f4b551e0a93988567"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83b68deabccd9cbdce650120fa6a59225ff32bcb7148745a79b7d9cd100c9e29"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1baf631b173cf4edc339ac8133e91e452992f97a9d98c47f7b883966c65742b7"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17fe175fa4d6a619abecc162632d5c00b94fd633eaba3334d649aac67d3e7e79"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c220c056cf765f2e3e1a9f8f1191ac7a647b348061b9820017dd58f9e38ff7cb"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b9d69164cae8e38a1e7db233bb8236d8a1363e42f71f54f6700183fd8cce52e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"287bee78775001dd5af1065a257da89d6242bdeb5db2d073ff52971cc5c9a835"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3ea4c6cbe82ea772643c5094b06e13c57af77d283aa18439e1760de69a4a6e9"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65981f50ad01309f734a4ff438530adfa505421c2cac3528b98b6e4fea7b9131"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96dfeef3281d7688c908bf6a7b615d397e9e9e0c5801a61988adb7add2fe6187"}},{"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":"d05553eaafdfa6cc6881ffd608fc7f931e2492818e4007db872882caa540be02"}},{"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":"144e0ac69b75ed96d843aaac033d5f1558ca930b83033482462fb690321e4855"}},{"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":"5cc764b2c6b0ee0df0c120b0902f890e90980e5bfcbe3ea979eb23a6f0a8f940"}},{"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":"37772b4bdf262e04ed431e3ed7ae7ce5e6ac6efa228adf643ef70071e7c38057"}},{"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":"7daaf50fc0e02c6a75e7487030f38d46633ad21e3a5dd44a8cb4e66b453bffe1"}},{"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":"a6d99717769e8dee0d7a11aee4931e766402d86e380cfa14f5341707fda7a38b"}},{"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":"ecdcc13d54e9b4e5d6de2e6cb73b596d5ea8098750e5622fa41fcf301e6f1794"}},{"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":"d32da96b4881470b1fcdcfbf0943fb62939f67266d309ca8dd32d3ca81a148c5"}},{"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":"e818f55f1906673f2c5f11b739c42357daa0a172c3df81b6758884971afb4aca"}},{"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":"397f7f06acabaeeaca1912ef1f854aa11f485142d371437c14e3b9a8f8b73ffd"}},{"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":"d084b1896ecf37140f5de6e65cc6d6452b28f9cd1bc345421ae1b52403ce9551"}},{"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":"fc15682c6771e98efeb0b9d7d0a39ec9f45d8dbc664706404ba6382d31e012e1"}},{"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":"992267c02f6004f15103eddd4d7d66a1de485b0f3c828336e96d20e3e1ad006c"}},{"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":"3b8d38c221c7f5008467116ff79adf293a9795e936b337194bdbb04ef3429e0b"}},{"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":"5a6c846996a3cd92739782b6aba6b35bcaa3a65ebf8463d379b282179efb6c95"}},{"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":"64a6db5e91df3f2413cbfed2d6e7a994769ff39b9c7336d70a1d44036c57244a"}},{"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":"4c61bfd0cd1fd43cf117360cbe1925332f77396b721e3de0c8ac7ffedede691c"}},{"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":"85470ebd21e38826d06d04c7e6d8f5b77242757f856096e980144ccc19888958"}},{"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":"67f18ebeba5e3597d4481e76a98adf0c432aeeed495c8337472ff62bb623133d"}},{"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":"aa9bf77abcfdc949c201d25ecc45c1ef9984aff4a7aeb172e5b3de40bafb03ed"}},{"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":"249a12700e17ea7acefb974fd3df07c52a3309ec8f47b81d36670532f3905087"}},{"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":"77076616b7e421648c23ab347ec7ee99f6babfc57831765db431b711dd0aadfd"}},{"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":"5cc552f771a9d913b531ef4512bc784b517f5fa6a500dd13cdecd03ba3878ad9"}},{"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":"6b157c5786e30aba4e8aa2b36ed74dedb5867644b546f1dae779a84f3073e588"}},{"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":"9651ab4628e0eec77230569fb5250de09dfc1c110c25f760376343955000d21e"}},{"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":"7ff67b9f86aec8e673b15d4a3ea93e4902b3a5b5eb48e8b1f42e226f005be94c"}},{"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":"ee21cc49fc188a73687626a2a4da797da52bd278c01f317a4172bb5a025dcd9a"}},{"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":"d8f407fd577be98471b21224d20393a61d80c4fac6d3158d2a4ca6c97323bc07"}},{"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":"d4983d0771da59020f2119e73be5e8d3c2a3c41cb3c655b7f49bb71e87aa0e1d"}},{"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":"46304ed4c79e4e584e71b4bd1f67b692d44a706c9506b9f47c039fd46afdfaea"}},{"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":"34a97dfcd606f4afed6d44ab6da795c6e0fad468e795377c2edd9fa3099ba757"}},{"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":"a3923bb96e13fc6aad296ecf4b0111bc3e6825c3731144bd0d6884507e4711f4"}},{"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":"8c1d2fb757eebd1e3286b219ad3ce298d7e0e3ec41a043742653fb21df57f16e"}},{"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":"b33e3d40cda8c0261b9d3bde1bfbc340b93b51707cc7c4f679378065b66d71b2"}},{"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":"9190940573e1a4b280cfbe158b9e6fc0021e923d5a6a75cd8d5d7ab10d1bfdc5"}},{"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":"534f3321a9f364152dc12125181686ae6633382204ba1cbeebb189b045850882"}},{"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":"9c2e6467cb438509c73da2ddf9fe60fa390c68cd9bfef32558bbe0d30a8366d8"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 7 of 114 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: cmd/gazctl/gazctlcmd/editor/editor.go, cmd/gazctl/gazctlcmd/shards_list.go, cmd/gazctl/gazctlcmd/journals_prune.go (and 4 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: doc.go \u2194 stores.go: \u0060broker/fragment/doc.go\u0060 and \u0060broker/fragment/stores.go\u0060 change together 50% of the time (5 of the 10 commits that touched the less-changed of the two, renames followed). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/fragment/doc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765605896de398d8134188f0b82f1c25e7ce3427e366b03eb92fbdf8967b683"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"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":"24fcae53239a1ac72bc974dcc3442f0bef6a331b9ed40849b5e99c9cb4cbc05a"}},{"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":"09eaa729d7499407c9f5c1d1a0ea6d934e4cd9cf1530c587a31db484dc18041d"}},{"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":"c3101d36131a52584dde37b042bdfe9fc6a1d1edad6398c91ef166385743b007"}},{"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":"c8e6740321a9758be2667eea6842293616ba35402441f8df0a0ca2a8f6a5fa68"}},{"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":"94e02eea5764fec7c68881dfaf08794994cb5f5915475658189d0ffad65d6e22"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"626e01eacf94c3b3382809ff8a91277880813d4497b12c2cdcf28b0d8c94458b"}},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: Workloads do not set a seccomp profile (RuntimeDefault or a Localhost profile). Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f418e9f76c3ac90484e0e94a454bfe9b08e914e1cdd218e1fc9e3b261a3bf6e"}},{"ruleId":"D41","level":"note","message":{"text":"No AppArmor/SELinux confinement: Workloads declare no AppArmor or SELinux profile. A mandatory-access-control profile confines what a compromised container can touch on the host, complementing seccomp\u0027s syscall filter."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e83fbc31033373d6c51983ed230eb4ba61f7775ed02afb30f5fc1840bde01d4f"}}],"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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"CWE-338","shortDescription":{"text":"CWE-338"},"helpUri":"https://cwe.mitre.org/data/definitions/338.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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":106,"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."]}]}