{"$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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"actorSystem.remoteSpawnHandler (cyclomatic 23): actorSystem.remoteSpawnHandler has cyclomatic complexity 23 (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":"actor/remote_server.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad755e098dc9223aeae0cb81860cc6f4f387557966a2e832c68f3533d4f3b7dd"}},{"ruleId":"D1","level":"warning","message":{"text":"flowActor.Receive (cyclomatic 22): flowActor.Receive has cyclomatic complexity 22 (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":"stream/stage_flow.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d5b939e9598aeb1f5d231641c9484622252e96ff7fc1e41c62f22c8116484"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoServer.handleConn (cyclomatic 21): ProtoServer.handleConn has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/proto_server.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78fc54f31fa343b7cc655b69d5cd767cf5e3b3d9348185cb5a9fd02353f2500"}},{"ruleId":"D1","level":"warning","message":{"text":"parallelMapActor.Receive (cyclomatic 21): parallelMapActor.Receive has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_parallel.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c346dc30f40e9377b3b3806a544f62cddb0c914af240a762b50513615c23ce"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.remoteSpawnChildHandler (cyclomatic 20): actorSystem.remoteSpawnChildHandler 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":"actor/remote_server.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5204e6b1a2191938cb8784521a86235df441e36d2583574f139ff9ee9b2aa2"}},{"ruleId":"D1","level":"warning","message":{"text":"PID.DiscoverActor (cyclomatic 20): PID.DiscoverActor 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":"actor/pid.go"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f949e64c78f4247a2f73f15d7e7b6e204c47c736002c4fbb34a20e3fb2df161"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkerPool.cleanup (cyclomatic 20): WorkerPool.cleanup has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/worker_pool.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"850729755dd8bf78217dfc607384c626f4ab9c8476b2c4b8b321ebf490c87b3f"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.activateGrainLocally (cyclomatic 19): actorSystem.activateGrainLocally has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af780c083f4476ffeebdba0c20592774fa326bcb8a31b09f38a3fad358dad81"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.askGrainAcrossDataCenters (cyclomatic 19): actorSystem.askGrainAcrossDataCenters has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"357d6bae668e64fdb20560b1284d5411a42a74f3abb4a5c75d6601e4d88c2003"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.recreateGrainOnce (cyclomatic 19): actorSystem.recreateGrainOnce has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6053f29c0d25512875d5d72d69b8d880b422ce2d1ab10ec99009102fbc48c4"}},{"ruleId":"D1","level":"warning","message":{"text":"PID.deliverAcrossHandoff (cyclomatic 19): PID.deliverAcrossHandoff has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/relocation_handoff.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0661b69da395300468eec679a79f157d8c1199c74e4ac52ca8bae15a827f8d12"}},{"ruleId":"D1","level":"warning","message":{"text":"tree.deleteNode (cyclomatic 19): tree.deleteNode has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid_tree.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8929933c345744b645a25d3e316986d0fc4a6c9c62260eca3cb4d4bf921c230"}},{"ruleId":"D1","level":"warning","message":{"text":"replicatorActor.handleDataCenterAntiEntropy (cyclomatic 19): replicatorActor.handleDataCenterAntiEntropy has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/replicator.go"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aec1cae63623dcd8f3b8375d7c6876b4d649ab499bc9e58ac5d82d4ea37da4"}},{"ruleId":"D1","level":"warning","message":{"text":"sourceRefEndpointActor.Receive (cyclomatic 19): sourceRefEndpointActor.Receive has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_source_ref.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd4d05935dd4ae30dbd953eed0782795b6af63e3e27d8c6e2164d4d39023742"}},{"ruleId":"D1","level":"warning","message":{"text":"actor.restartSubtree (cyclomatic 18): actor.restartSubtree 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":"actor/pid.go"},"region":{"startLine":3541}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f66fe34e29f40b9a6f44fd80e9f1afc494e2003fcdf120d9fe5dda777eb7952"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.deriveRelocationSetFromRegistry (cyclomatic 18): actorSystem.deriveRelocationSetFromRegistry 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":"actor/actor_system.go"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca7d720deafcdc39029a2f8799ae3e0f3895cfcd7a7068ae1f666bcac79c064"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.configPID (cyclomatic 18): actorSystem.configPID 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":"actor/actor_system.go"},"region":{"startLine":3704}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d02639140d0e7dd657d321c8723079fa124529031c5dd036d84b0720908ff2"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.tellGrainAcrossDataCenters (cyclomatic 18): actorSystem.tellGrainAcrossDataCenters 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":"actor/grain_engine.go"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a19c73973e5c14ebab78fc62db7e2fe2c6d653888b000fbde38a1746044a8"}},{"ruleId":"D1","level":"warning","message":{"text":"router.tailChopping (cyclomatic 18): router.tailChopping 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":"actor/router.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"927888abae6f2bf522ec2446fd0699980e58fca9b898a090545bc139f408178c"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlPlane.Register (cyclomatic 18): ControlPlane.Register 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":"datacenter/controlplane/nats/control_plane.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"724cd48f01e7101f07a88e02fd381c764885cdacd91f8692e0596bbe7da9cf6f"}},{"ruleId":"D1","level":"warning","message":{"text":"balanceHubActor.Receive (cyclomatic 18): balanceHubActor.Receive 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":"stream/stage_balance.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaa5d186d182677af6d1fa6a0cca217b48106d672aa0864d0bbe86aed84726a"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.cleanupStaleLocalActors (cyclomatic 17): actorSystem.cleanupStaleLocalActors 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":"actor/actor_system.go"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef7c0b22ab836e39a2c3ad43adf20210709f026207b550464825ef1ee008a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.persistPeerStateToPeers (cyclomatic 17): actorSystem.persistPeerStateToPeers 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":"actor/actor_system.go"},"region":{"startLine":4537}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f07588207434eef8d60aad46b78601209f9b9b98ba696cff911adfabe8c3a0"}},{"ruleId":"D1","level":"warning","message":{"text":"partitionHubActor.Receive (cyclomatic 17): partitionHubActor.Receive 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":"stream/stage_partition.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d615acada26f29849cda8d2a63c5acd87198d52d5c058fd5bb6e38db4be0c844"}},{"ruleId":"D1","level":"warning","message":{"text":"subFlowSourceActor.routeElement (cyclomatic 17): subFlowSourceActor.routeElement 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":"stream/stage_subflow.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"990bf1d03cce67e646f9037be8cdb6602cec645b934460b80a17e449cec9328d"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.runShutdownHooks (cyclomatic 16): actorSystem.runShutdownHooks 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":"actor/actor_system.go"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd953bfe775144cf0f79482ef63c78bb5c5c7e5a3819aa4de22074a6542325"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.remoteAskHandler (cyclomatic 16): actorSystem.remoteAskHandler 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":"actor/remote_server.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1f3309740177cac89ab6f38557ece22ac09fe735e37d986270212315f729f4"}},{"ruleId":"D1","level":"warning","message":{"text":"actorSystem.startRemoteServer (cyclomatic 16): actorSystem.startRemoteServer 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":"actor/remote_server.go"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa543b893eb6a5aaf96339d56827484d6074038abd22bf6b733a0861b04942f"}},{"ruleId":"D1","level":"warning","message":{"text":"replicatorActor.handlePostStart (cyclomatic 16): replicatorActor.handlePostStart 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":"actor/replicator.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a667397d32e25fb54f7a7ed89806f50d4b5b988799def322d0f37b2e7d85f65"}},{"ruleId":"D1","level":"warning","message":{"text":"log.appendJSONEscaped (cyclomatic 16): log.appendJSONEscaped 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":"log/slog.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2190af1d8cb623b3bb12e2ab45d66002858e508fbd15ca36057223df2d99dcca"}},{"ruleId":"D1","level":"warning","message":{"text":"broadcastHubActor.Receive (cyclomatic 16): broadcastHubActor.Receive 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":"stream/stage_broadcast.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"225dbbabfbd538068c30ed97f4075ea1498583e0e3d7c6a8e38e2c57fb459920"}},{"ruleId":"D1","level":"warning","message":{"text":"sinkActor.Receive (cyclomatic 16): sinkActor.Receive 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":"stream/stage_sink.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4584926025d10d4b2f4b620bc46619dd453018f1b6a8128c9b333c925d8352"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteSourceBridgeActor.Receive (cyclomatic 16): remoteSourceBridgeActor.Receive 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":"stream/stage_source_ref.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3256b1f5b6ad0b2735d234827211de07b90a1ed701f6745be554fdb65d1aff"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerPool.cleanup (cognitive 64): WorkerPool.cleanup has cognitive complexity 64 (threshold 15). Drivers by points: if/else 45, loops 17, match/switch 2 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/worker_pool.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a059608deec798ce560e275ecbde865bff4ac658b0276f17febd6643909a4e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoServer.handleConn (cognitive 43): ProtoServer.handleConn has cognitive complexity 43 (threshold 15). Drivers by points: if/else 42, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/proto_server.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13e81f2bc91e12eb3d534e61b6ea964988e1698d56df1520fefb84392f4c892"}},{"ruleId":"D2","level":"warning","message":{"text":"flowActor.Receive (cognitive 42): flowActor.Receive has cognitive complexity 42 (threshold 15). Drivers by points: if/else 32, loops 6, match/switch 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_flow.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a8075a0a93ff3fb341d59f9edd850caa74f8f3d9c818f57015ba402aed3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteWatchRegistry.dropPID (cognitive 39): remoteWatchRegistry.dropPID has cognitive complexity 39 (threshold 15). Drivers by points: if/else 35, loops 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/remote_watch_registry.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58813a3e7c35c99b07aa4e4829a5e6762ac7f13dea242991afdd1b66515fff4"}},{"ruleId":"D2","level":"warning","message":{"text":"parallelMapActor.Receive (cognitive 37): parallelMapActor.Receive has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33, loops 2, boolean chains 1, 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":"stream/stage_parallel.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54123fd04c04fa87f07e1d5c3d0c95604a5cc5c27b4ef8ee4ec1b1f2373fac28"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.watchLoop (cognitive 35): Controller.watchLoop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26, match/switch 5, loops 3, jumps 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/datacentercontroller/controller.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"43191cc30ced04c3670061e0a0d45d5ef6cf9d83422a146825b438fea811c9c4"}},{"ruleId":"D2","level":"warning","message":{"text":"sinkActor.Receive (cognitive 34): sinkActor.Receive has cognitive complexity 34 (threshold 15). Drivers by points: if/else 26, loops 4, match/switch 4 (nesting depth added 24). 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":"stream/stage_sink.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"979360c112eb64d6baad6c6f82fe81cb525838da47860c6c607b03cebb521964"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.recreateGrainOnce (cognitive 30): actorSystem.recreateGrainOnce has cognitive complexity 30 (threshold 15). Drivers by points: if/else 30 (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":"actor/grain_engine.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec9d4167eead17af21199a4b41b05f42f43af2eded9f6d484ac5079f4292694"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.remoteSpawnHandler (cognitive 30): actorSystem.remoteSpawnHandler has cognitive complexity 30 (threshold 15). Drivers by points: if/else 30 (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":"actor/remote_server.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e802016466398bceca2d52cadee9dfa5b4f868f16908231516707bff2682c6"}},{"ruleId":"D2","level":"warning","message":{"text":"tree.deleteNode (cognitive 30): tree.deleteNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, loops 8, boolean chains 2 (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":"actor/pid_tree.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cd5a1c8f985b914803836fc051a767556be093a228449413443fbf67f46212"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.remoteAskHandler (cognitive 29): actorSystem.remoteAskHandler has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, 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":"actor/remote_server.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78fafd51aec88584cd1597349c4a2253bbd2855d9bcf8f00c0a8c9d1e232b39"}},{"ruleId":"D2","level":"warning","message":{"text":"PID.DiscoverActor (cognitive 28): PID.DiscoverActor has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, loops 5, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc9ec43e14522a3e711235ec2b71c1148eb4d36c16f2d184c5f0438bd98bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"router.tailChopping (cognitive 28): router.tailChopping has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22, boolean chains 3, match/switch 2, 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":"actor/router.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c96b0f9500eb673b58cb2ecee26007fc78a833808ae6e791cfdc9460b7f1b29"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlPlane.Register (cognitive 28): ControlPlane.Register has cognitive complexity 28 (threshold 15). Drivers by points: if/else 26, boolean chains 2 (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":"datacenter/controlplane/nats/control_plane.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"964161890b9f8b88f57cf7fed82654b753889749e8b4dabe8ef08775f0793348"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.askGrainAcrossDataCenters (cognitive 27): actorSystem.askGrainAcrossDataCenters has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20, loops 5, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa004a7d8e0ff0b918e050e147e98fb0ef61eb7bb617fd410c2a21e13c7a56"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteWatchRegistry.dropHost (cognitive 27): remoteWatchRegistry.dropHost has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17, loops 10 (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":"actor/remote_watch_registry.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4426cba77d78ef2ed04ff6ebbcea3a94665b5145a15ea593f098dc35df366a"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.activateGrainLocally (cognitive 26): actorSystem.activateGrainLocally has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eaa6c65d039e994d327bf368190a36fefd4b21ad0be54314e427161b0c81c0"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.tellGrainAcrossDataCenters (cognitive 26): actorSystem.tellGrainAcrossDataCenters has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 5, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"59412409dbe12e3d211fc7fc4075b6e5a8abeaf62b49d502421e1ec7293dcd7b"}},{"ruleId":"D2","level":"warning","message":{"text":"PID.deliverAcrossHandoff (cognitive 26): PID.deliverAcrossHandoff has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 4, match/switch 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":"actor/relocation_handoff.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8b4025cf8f04d6832d60f8030588795f55692e761673081b212c6d0a55dc98"}},{"ruleId":"D2","level":"warning","message":{"text":"balanceHubActor.Receive (cognitive 26): balanceHubActor.Receive has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 8, boolean chains 1, match/switch 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":"stream/stage_balance.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a8dd9bfaf58ed779eb58a9b323ce16831d790c4ad6ab75a7a7b367bf1de569"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.cleanupStaleLocalActors (cognitive 25): actorSystem.cleanupStaleLocalActors has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, boolean chains 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":"actor/actor_system.go"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"9443fad5e67c4c6f9c0d590c00835e521ae4f3128876f66fb1bd07b4119aacfa"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.persistPeerStateToPeers (cognitive 25): actorSystem.persistPeerStateToPeers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, loops 2, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":4537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b2119bcf0ef75b13c89af0fb8c0adecc2d66aacb404aef9330af69f3cae048"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.deriveRelocationSetFromRegistry (cognitive 24): actorSystem.deriveRelocationSetFromRegistry has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e849cdc742702694c6d18afb582c76ac8f98a24b9c00f7f5e0de9e64ce8dba"}},{"ruleId":"D2","level":"warning","message":{"text":"topicActor.handleTopicMessage (cognitive 24): topicActor.handleTopicMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, loops 3, boolean chains 2 (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":"actor/topic_actor.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd400dba5850c6cc10b8c653116719ee83c343cb4a761d03944fc60f1c5052"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.SendBatchProto (cognitive 24): Client.SendBatchProto has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, match/switch 6, loops 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":"internal/net/client.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"767172781b18cfa58f46f045b61db25619830574850be2ad1ee0779b844b9c28"}},{"ruleId":"D2","level":"warning","message":{"text":"log.appendJSONEscaped (cognitive 24): log.appendJSONEscaped has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, boolean chains 4, match/switch 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"log/slog.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa4f11f6880ff6417c72a6dc68e3cc353e720d4fe14214dba5d48723fd8f76"}},{"ruleId":"D2","level":"warning","message":{"text":"chanSourceActor.Receive (cognitive 24): chanSourceActor.Receive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11, loops 7, match/switch 5, jumps 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":"stream/stage_source.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef39c762250705c94bfb6d6d17ed1a146bb34207bbebde15f5d160dc7fa1738"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.runShutdownHooks (cognitive 23): actorSystem.runShutdownHooks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, match/switch 4, 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":"actor/actor_system.go"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75fcb227e731ccb6f5d481d305f3c613f62625f370bdeb95016577c4007cf01"}},{"ruleId":"D2","level":"warning","message":{"text":"broadcastHubActor.Receive (cognitive 23): broadcastHubActor.Receive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 8, match/switch 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":"stream/stage_broadcast.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57134b4825d04653e9bbe8fe22d8a1df32d02547392db12d1aff5a61f05790a"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.remoteSpawnChildHandler (cognitive 22): actorSystem.remoteSpawnChildHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/remote_server.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c07ebfa49d95ce3c920f08fa69c72c1d86d990c85e2b6e33298e29642b907"}},{"ruleId":"D2","level":"warning","message":{"text":"replicatorActor.handleDataCenterAntiEntropy (cognitive 22): replicatorActor.handleDataCenterAntiEntropy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 4, loops 2 (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":"actor/replicator.go"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91e0fa785b585919536fbae95fdf93b0a23ea33d401cb0a7e536cfc650121cc"}},{"ruleId":"D2","level":"warning","message":{"text":"sourceRefEndpointActor.Receive (cognitive 22): sourceRefEndpointActor.Receive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 4, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_source_ref.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e011334ea8b3affa9e58bafe3fd4883af55eca3f0b6f862d965f7c0535ab73b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ORSet.Merge (cognitive 21): ORSet.Merge has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, loops 8, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crdt/or_set.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"09286c9e2eea3d1ccf06a0fc45be60f33ac4a8a42fd2ba9db89093bf8e7a3a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlPlane.ListActive (cognitive 21): ControlPlane.ListActive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"datacenter/controlplane/nats/control_plane.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd134beb69b4fa5b8c7bc365f342d39a6df06ad9075fc86f7c8cdf3336e94d1"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.materializeWithHead (cognitive 21): stream.materializeWithHead has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, 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":"stream/materializer.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"431e25bd813fab1118e337f1c5dd8f58e7a3650b74f72ddd8db730d0f9725ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"partitionHubActor.Receive (cognitive 21): partitionHubActor.Receive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, loops 6, boolean chains 1, match/switch 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":"stream/stage_partition.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee886c22ffa6553b7af4e4a78ac5e7d663df1f694e0b0112df9b85aae7a5c26"}},{"ruleId":"D2","level":"warning","message":{"text":"subFlowSourceActor.routeElement (cognitive 21): subFlowSourceActor.routeElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, boolean chains 3, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_subflow.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6276be08904631ba83ca54cdcb089fb172c881b3ab3530abb5028bf4981ec01"}},{"ruleId":"D2","level":"warning","message":{"text":"actor.restartSubtree (cognitive 20): actor.restartSubtree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 4, boolean chains 3 (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":"actor/pid.go"},"region":{"startLine":3541}}}],"partialFingerprints":{"codehealthFindingId/v1":"083db9b35c15c22f1ea76d4e3f84ae349c96eb745de75465ab75931d8562de9f"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.completeSpawn (cognitive 20): actorSystem.completeSpawn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":2522}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3be7bd07ef812235b29ad87622ebf632675008910836a9473da77e193fce9f"}},{"ruleId":"D2","level":"warning","message":{"text":"TCPServer.acceptLoop (cognitive 20): TCPServer.acceptLoop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/tcp_server.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e9fdf58eb0b4b0e01916ce0baf95590c20b33d02f86183db2b2254abd76f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.configPID (cognitive 19): actorSystem.configPID has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, loops 2 (nesting depth added 2). 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":"actor/actor_system.go"},"region":{"startLine":3704}}}],"partialFingerprints":{"codehealthFindingId/v1":"19643d61dcc9b50a870605646994e95046baeb688edb366532b92b81de797913"}},{"ruleId":"D2","level":"warning","message":{"text":"grainPID.deactivate (cognitive 19): grainPID.deactivate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_pid.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b2beb4f875c0ad6e7bbe57e168d342daa0a629ed76acd1b6302bde75038f17"}},{"ruleId":"D2","level":"warning","message":{"text":"PID.freeChildren (cognitive 19): PID.freeChildren has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1642ffd6e53b05785140cd78c7522cb2e1edc1414d43ebf26c1d64fceedaf0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"replicatorActor.handlePostStart (cognitive 19): replicatorActor.handlePostStart has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/replicator.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0538dd6363278c467a76c431ec6eb44484a95585ac791b1054f3b44cb696e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"sinkRefEndpointActor.Receive (cognitive 19): sinkRefEndpointActor.Receive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_sink_ref.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc602e69f3ed2c8b406fef80694b667b19dbd8c79abcf5331ac3896d11aa0a49"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteSourceBridgeActor.Receive (cognitive 19): remoteSourceBridgeActor.Receive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_source_ref.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5aa8e781729bbf015532e181b973d75f3bd7aad7835268a45f5daea9d867d8"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.validate (cognitive 18): actorSystem.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"049f4adcb6f02f2119421c5fa0f884f55634d3fea63f8d9b7b49ae3f549c1117"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.startRemoteServer (cognitive 18): actorSystem.startRemoteServer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, match/switch 1 (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":"actor/remote_server.go"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fc7415dfd9f329690b21fd9d46b56e915601b344431285fba901bd3a4ceef7"}},{"ruleId":"D2","level":"warning","message":{"text":"ORSet.Delta (cognitive 18): ORSet.Delta has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 6, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crdt/or_set.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6004096948389d1616747b0d33ccdc4baf4a9c97b3600e5d22ff71f05bb7f134"}},{"ruleId":"D2","level":"warning","message":{"text":"memberlist.NewTransport (cognitive 18): memberlist.NewTransport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 2, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memberlist/transport.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7a32623c68ef9fb883aef0eef269b5371f3c4416a6c0c840de1be83f22f836"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.applyFusion (cognitive 18): stream.applyFusion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 3 (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":"stream/materializer.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fdea3e14a764379d67076ca4c16a88d51a45eac37c6c34fccf8b5e5928048f"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.deliverRemoteTellMessage (cognitive 17): actorSystem.deliverRemoteTellMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"actor/remote_server.go"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a09c8ed222fb721ad4327cc0276233bfed6a0b5c59eb89880ca59e5dd5f8c98"}},{"ruleId":"D2","level":"warning","message":{"text":"deathWatch.handleTerminated (cognitive 17): deathWatch.handleTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"actor/death_watch.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e872e41b1be00fb28f2d6daf5653b7bcf743d1a98140490b9fde6fd6bdb1dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.compile (cognitive 17): Graph.compile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/graph_builder.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"872f7d0498f9afc2afcfe18bbb0989bd966a69e99b380568d5d7cc4585cafcb6"}},{"ruleId":"D2","level":"warning","message":{"text":"actor.allocateActors (cognitive 16): actor.allocateActors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/relocation_worker.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed4314a93105dd197f0f1d7a5a6957af86ad6b626146a3895d03f2ae90d22e2"}},{"ruleId":"D2","level":"warning","message":{"text":"actorSystem.Spawn (cognitive 16): actorSystem.Spawn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2 (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":"actor/spawn.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd2bf3cfa110db58c0252a3e5f19f3b257b16ac05a8227b2f118be61ff0cf11"}},{"ruleId":"D2","level":"warning","message":{"text":"broadcast.start (cognitive 16): broadcast.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"discovery/selfmanaged/broadcast.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1532cdc8239024fdffc76ccbe110336edca80c9ceae05f5bf0d105fce6d4670f"}},{"ruleId":"D2","level":"warning","message":{"text":"broadcast.recvLoop (cognitive 16): broadcast.recvLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 2, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discovery/selfmanaged/broadcast.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb8c7bfe68e76f9b3ea5a8025fa3936b10c7df81ece239477dd6867f140d55"}},{"ruleId":"D2","level":"warning","message":{"text":"Transport.FinalAdvertiseAddr (cognitive 16): Transport.FinalAdvertiseAddr has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, match/switch 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memberlist/transport.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92358c93ff5582f555a96638ea6aa08c6bfefb48c156c1b5ec23459cfa7930e"}},{"ruleId":"D2","level":"warning","message":{"text":"client.RemoteTell (cognitive 16): client.RemoteTell has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, 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":"internal/remoteclient/client.go"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf30813998e7f311178095c5fa4f3a24895eec3df0e7fb5f959a0be2711bed6"}},{"ruleId":"D2","level":"warning","message":{"text":"client.RemoteBatchAsk (cognitive 16): client.RemoteBatchAsk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"0404a8e7b5d23451f99f5ae0b18b37691f355027488ab89d24d57b51928b76fc"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.MergePrioritized (cognitive 16): stream.MergePrioritized has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/source.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa1694368126892605f0c3ab29834187300d6a812ddb0c378fbc2f212df07a1"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteSinkBridgeActor.Receive (cognitive 16): remoteSinkBridgeActor.Receive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_sink_ref.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e548c71b4e01a9efb1fbc2e3ce9c5d8978d6f3e72cd0e9f07510512e712a13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: actorSystem: TooManyMethods \u2014 266 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefa23184e5c04d4c4abcbbdcf56315202f475367deaa969d6d7137035572f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: actorSystem: TooManyMethods \u2014 266 methods, declared across 11 files: actor/actor_system.go (136), actor/grain_engine.go (46), actor/remote_server.go (39), actor/spawn.go (21), \u002B7 more file(s)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add5cc42e75af3a3ffdeba50db7308dc14f554b2cb87ca1d9d419ecb13bd08d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PID: TooManyMethods \u2014 129 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3bf8f94e58f3582cacd839868b26397b286b6b5534fdde110cad36362938fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PID: TooManyMethods \u2014 129 methods, declared across 4 files: actor/pid.go (121), actor/pid_state.go (3), actor/stash.go (3), actor/relocation_handoff.go (2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f431deeb9826a7bb7013267307d48e2230583db213e4057fb428906586982c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/actor_system.go: FileTooLong \u2014 1943 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"757fb9a40aca4384f17f46480305b3af474b78d216659048f819d61636e46e5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/pid.go: FileTooLong \u2014 1928 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e5082bbeff2da7cb4eb3cde5ef10fc6781ced94e9cfb42e89320ae7b81d897"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/remote_server.go: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/remote_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76472551bbdf74692e57d1eb9133427901b2adbce30e674bd66a892334554f47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remoteclient/client.go: FileTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c678b5397778a6ffe80619baa3484fbdd68a1ea18abd23ed48aff9b8d6dc757f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: cluster: TooManyMethods \u2014 57 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cluster/cluster.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7528051d89fc875ca3bb2c474ec351fea63217d54d338249da0695788488cf41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/replicator.go: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/replicator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2c00d45f55748a82111de468b1c494527d479d4a0ba86448d89dac03ac57cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cluster/cluster.go: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cluster/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ae717afa53491eba653f722dd74b7e1cff2ee32c60b70a656d771cb3a5ff41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReceiveContext: TooManyMethods \u2014 52 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/receive_context.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fffd21b30115ad0761ceee0ea4b6f309504ea283ee81542eca500a90e9e83e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: grainPID: TooManyMethods \u2014 49 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_pid.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61f3dfcfde6785ed56c29fa28ab54ccdd2b0c8cd213f76ac486bb8583ef177"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/grain_engine.go: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e03edf6292b95bd5dbeb6c9a90090f34f81cfb4325ee90816906f25b360f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: replicatorActor: TooManyMethods \u2014 40 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/replicator.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f077451288c9695f1f28188e96286e3a13d71bd9858c1f384d10335d2a63132e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: client: TooManyMethods \u2014 36 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6118d1d8c6c2f5e9913faaff20c99d3c2cda90ccb68b08195660090429efd34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/grain_pid.go: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_pid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a37a1590025e72ee625d0aab0f4b0038099ca5ce29aa1aaccb2fe4b3973b69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GrainContext: TooManyMethods \u2014 33 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_context.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a5eb8a1cb77ed285c22a7d25e36cb2723c121481b45a1241d1036c3629ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): actor/grain_engine.go:942-962 | actor/pid.go:1288-1308 \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":"actor/grain_engine.go"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2736654877562348dcad881420cc74a611c434f925633b24c1b7ac2acef896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): actor/grain_pid.go:600-618 | actor/pid.go:2138-2156 \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":"actor/grain_pid.go"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b759bbb42e109238e538a00d61067a930d15732f22a7ed2c4bb4d44914710b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): actor/pid.go:1058-1075 | actor/pid.go:2817-2834 \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":"actor/pid.go"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf337e93defd882737deb5438dd1d6b89a5b8beb19b335285ffd1a38915f0cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): actor/pid.go:1659-1676 | actor/pid.go:1716-1733 \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":"actor/pid.go"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c856c66e453bdf367d515777268caf8faeeec6bdada81ce0edc4c56621c408a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/remoteclient/client.go:2227-2244 | internal/remoteclient/client.go:2328-2345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ab397123b29742abab8f6fe4c80e508eae5f498ee3d41915a6580a485c3a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): playground/issue-1017/main.go:222-239 | playground/issue-1036/main.go:106-123 | playground/issue-1134/main.go:243-259 | playground/issue-1255/main.go:379-396 | playground/issue-791/main.go:180-197 | playground/issue-973/main.go:206-223 | playground/issue-x/main.go:209-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-1017/main.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a459d581eb6b3da19a99bf8050c392e6cda23db5ce674f524cc1a8f109e82db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): playground/issue-1031/main.go:103-120 | playground/issue-1203/main.go:142-158 | playground/issue-1227/main.go:125-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-1031/main.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"14213ef18749f05a8f17f161cb378bb5f82da3e8500ac2bba9e8c2496dfa772d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): actor/actor_system.go:2252-2268 | actor/api.go:59-75 \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":"actor/actor_system.go"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eff738fc810b368bd6c94cf087598dc85f6eb64edc521a84eded8366f179f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): actor/grain_engine.go:865-881 | actor/grain_engine.go:985-1001 \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":"actor/grain_engine.go"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa385f3305ae9704a86a1af13e4fbfcd2ae97d0543fe11a19850c20be93a80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): internal/remoteclient/client.go:934-949 | internal/remoteclient/client.go:991-1006 | internal/remoteclient/client.go:1096-1111 | internal/remoteclient/client.go:1144-1159 | internal/remoteclient/client.go:1197-1212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c9c1de7ea475fc35b3c6f369de3c5513088aaf7277f4fca8f0cec2753e848b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): actor/grain_context.go:855-870 | actor/pid.go:1058-1075 | actor/pid.go:2817-2834 \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":"actor/grain_context.go"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"a166c63d1c23194b2321aba65213c2736ce3df4c4a67e9a0dbf623838d25bd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): actor/pid_tree.go:493-508 | actor/pid_tree.go:638-654 | actor/pid_tree.go:667-683 \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":"actor/pid_tree.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bba4bca019e46f67a3b8c1b6d419c3e1b9ccc21ebd3e53c6a59121a5a0149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): stream/stage_balance.go:132-147 | stream/stage_broadcast.go:140-155 | stream/stage_partition.go:132-147 \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":"stream/stage_balance.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecb228004dbdffa8027f2c97b4bc6e7518acf9fafcb3ca06b2a6f02c781cc3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/remoteclient/client.go:1048-1063 | internal/remoteclient/client.go:1245-1260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb151c5c88e2af1a597a498c276eb65ce286aff0754e52f725e9346ebd7a31e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/remoteclient/client.go:1300-1315 | internal/remoteclient/client.go:2107-2123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6791530e5a0768591e71b53ff886836065a2cf7742a7942e7d0e6c063779f3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/remoteclient/client.go:1867-1882 | internal/remoteclient/client.go:2041-2056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd116746da72b3e81fde1fded8c3858b4893e3eeb117f938a49be89f102f9816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): remote/option.go:244-259 | remote/option.go:296-311 \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":"remote/option.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3651241dcc36bcae6cd57c92e56f449152342d7c567c290ac6c83bbf76d52106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): stream/stage_balance.go:76-90 | stream/stage_broadcast.go:82-96 | stream/stage_partition.go:77-91 \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":"stream/stage_balance.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"11599fc77646349412933c63dccdf5cf95c3c4bd5efdaad30e3bb4c56a331044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): actor/scheduler.go:196-210 | actor/scheduler.go:239-253 \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":"actor/scheduler.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c6459d230949557956979ffbc493af1ffc2d0fd7a942bbc7b704a9b82ac268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/chain/chain.go:88-102 | internal/chain/chain.go:111-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/chain/chain.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f40ee1719290e82301c1255b47d60f63bb908f897064ee3d30961f23e3846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/remoteclient/client.go:1914-1928 | internal/remoteclient/client.go:2177-2191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/remoteclient/client.go"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05927190aeaf7773b5939aaeec9c0a3a6ffb69e2ae981165915bc46951fcc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): playground/issue-1203/main.go:125-139 | playground/issue-1227/main.go:108-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-1203/main.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddab6af94df09c18f0d037fb41c1908184cce0939b274768c30891459715ff7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): stream/stage_broadcast.go:278-292 | stream/stage_partition.go:271-285 \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":"stream/stage_broadcast.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"de306d6ecbebb9a3370f6dec0c145ba9ebd049f7b9107eb5b06f0da03420df0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): actor/remote_server.go:179-192 | actor/remote_server.go:332-345 | actor/remote_server.go:369-382 | actor/remote_server.go:427-440 | actor/remote_server.go:581-594 | actor/remote_server.go:1072-1085 | actor/remote_server.go:1392-1405 \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":"actor/remote_server.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0a50789cd03693936710f7a482174a7b96d548ea043dfacd70e2da95ae6dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): actor/remote_server.go:815-828 | actor/remote_server.go:903-916 | actor/remote_server.go:948-961 | actor/remote_server.go:988-1001 | actor/remote_server.go:1028-1041 | actor/remote_server.go:1140-1153 | actor/remote_server.go:1180-1193 \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":"actor/remote_server.go"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"6602918b054b027199be9b9bc12703d14e22e7bf160dfcb03b3fea9ebb6b8b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): playground/issue-1017/main.go:140-153 | playground/issue-973/main.go:113-126 | playground/issue-x/main.go:147-160 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-1017/main.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b02225ef48f84c2afedfdd55e743f46cc3c56bc9b5765356dc1913c0005d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): stream/stage_balance.go:230-243 | stream/stage_broadcast.go:228-241 | stream/stage_partition.go:221-234 \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":"stream/stage_balance.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f48de3e3bba581ca6593d1ff89a2af354f2276fc56b68324e0aebe42caebe27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): actor/bounded_stable_priority_mailbox.go:95-108 | actor/unbounded_stable_priority_mailbox.go:172-185 \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":"actor/bounded_stable_priority_mailbox.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20721f7aecaf3b1db3263c409584cf538d58e5ba9e4a096dfe5cc184aca46a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): actor/grain_engine.go:996-1009 | actor/pid.go:1328-1341 \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":"actor/grain_engine.go"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"a819e7f3a1ba1d03a1cce9c0a897207945d65e23af640d44d23f83deda9fbe33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): actor/remote_server.go:713-726 | actor/remote_server.go:1079-1092 \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":"actor/remote_server.go"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671862fe4686eaa2b7d561dce886a05503a30035f4cfaee841d1d42ab21f1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): client/client.go:415-428 | client/client.go:486-499 \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":"client/client.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41cb6d3d572d69af8f7d42b4e7f7b7e8182b67fd5d38b1f669a4ac266fe951d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): remote/spawn_request.go:193-206 | remote/spawn_request.go:313-326 \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":"remote/spawn_request.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8adaaa3f3e1baea8c452a6929a1be7c7ddaf9f711e351dd6d690e68d6a7a005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): stream/graph_builder.go:334-347 | stream/graph_builder.go:356-369 \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":"stream/graph_builder.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb7552ba72b5ff771af85b67d861afda21cfc763a10f68771d7ccb3d2dcb51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): actor/pid_tree.go:456-468 | actor/pid_tree.go:491-503 | actor/pid_tree.go:521-534 | actor/pid_tree.go:636-649 | actor/pid_tree.go:665-678 \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":"actor/pid_tree.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5384d4107ba92306860c4854339332d46a645aca1fe75e8b2e3c99feae2794b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): actor/bounded_priority_mailbox.go:88-100 | actor/bounded_stable_priority_mailbox.go:82-94 | actor/unbounded_stable_priority_mailbox.go:159-171 \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":"actor/bounded_priority_mailbox.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea08fc46385133cbb3e5009f92e4cce82c0f3a391e2e979ffe4c1e35074e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/actor_system.go:4132-4144 | actor/grain_pid.go:910-922 \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":"actor/actor_system.go"},"region":{"startLine":4132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff0c9c8997f0b85eff0524abdfeb60827e64b6d880e431834d06136737ec380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/grain_engine.go:1107-1121 | actor/grain_engine.go:1146-1158 \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":"actor/grain_engine.go"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1aecaa06f1ec17ec4c19366e6af1a635144e3245f3887b48378ed52728e342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/remote_server.go:658-670 | actor/remote_server.go:761-773 \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":"actor/remote_server.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b348e73e1bb8daf8d9eabb0afb50829262f351517537f8be1651d3ae8099ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/remote_server.go:1260-1272 | actor/remote_server.go:1325-1337 \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":"actor/remote_server.go"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d441478ff15b2315ff334e85c45db69c32f913bb492e6751dd3a0496edf41a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/spawn.go:116-128 | actor/spawn.go:951-964 \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":"actor/spawn.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40024627a9f46717c8ce4ccd687ecc95a7b8c375af14a19f271846af87f6965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/net/proto_serializer.go:187-199 | internal/net/proto_serializer.go:317-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/proto_serializer.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac137f668cd6c96e413ea7605acfc6b55b71f443e9d86161cdb70afd842598a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): playground/issue-906/main.go:87-99 | playground/issue-908/main.go:78-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-906/main.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d84891783aedfd3f211ceebdee408db6c695448933e875baee6915ef8cb081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): stream/stage_merge_select.go:88-100 | stream/stage_source.go:471-483 \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":"stream/stage_merge_select.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7885898d4be60a0fea7a453a0b25a130f3cc26a312665389dc56f0246eedb8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): client/client.go:237-248 | client/client.go:273-284 | client/client.go:413-424 | client/client.go:484-495 \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":"client/client.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff80fefd950096b7577ed8596fd877b0f6bb1677f6bea76b3c4c381bed36ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): actor/actor_system.go:4240-4251 | actor/actor_system.go:4267-4278 | actor/actor_system.go:4294-4305 \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":"actor/actor_system.go"},"region":{"startLine":4240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a6665666f6c2e4b89aed6c37dda9a1a0df825a4204bf94901986ac002f761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): actor/remote_server.go:489-500 | actor/remote_server.go:537-548 | actor/remote_server.go:1220-1231 \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":"actor/remote_server.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2bbca2d04299d63e56c51e1c89d8f46e6091445f6e542321f1a2c8ca7c3cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): playground/issue-1017/main.go:111-122 | playground/issue-973/main.go:83-94 | playground/issue-x/main.go:118-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-1017/main.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a4646958a8cad6bf66a7cec8ed7912bdba39fae5c4cef61ad0378a9cc49a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): remote/grain_request.go:92-103 | remote/spawn_request.go:193-204 | remote/spawn_request.go:313-324 \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":"remote/grain_request.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7828e45ff2cbaca917c2004e43ffeb55dcb4357e5efd248f3460de4c424f17fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): stream/stage_balance.go:192-203 | stream/stage_broadcast.go:197-210 | stream/stage_partition.go:193-204 \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":"stream/stage_balance.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbec963d5873beb82ae54d554e5bdac218560c918a30e5279e998363b257b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/cluster_singleton.go:148-159 | actor/spawn.go:721-732 \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":"actor/cluster_singleton.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d16f3aea832b6cf4fbaac54473a9e3ef0759d7077be07dc8fb1f11a5d23bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/grain_context.go:435-446 | actor/grain_context.go:488-500 \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":"actor/grain_context.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3624bcd337f6d03cb6749d891189ec4d8e78cef8d60bc358a61c43cf3c014de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/grain_engine.go:1336-1349 | actor/grain_engine.go:1383-1394 \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":"actor/grain_engine.go"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51e9e6ab66588894ec03bc191271d10906d25785c41f74fa22eb8676a474928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/remote_server.go:1518-1529 | actor/remote_server.go:1541-1552 \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":"actor/remote_server.go"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d242a4507d270ad761417eccd274ac43ef4bc90dd09da2306f1fd8a45be8c8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/remote_watch_registry.go:168-179 | actor/remote_watch_registry.go:314-325 \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":"actor/remote_watch_registry.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0ccb43636632eade4060931256bffccfda58d6ed35475e999edfec63c7e1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/remote_watch_registry.go:265-276 | actor/remote_watch_registry.go:332-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/remote_watch_registry.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b32ac93e86e083f1f63a90f1fe0b1081f0bd50e66822ce77ad4fea86641f377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): stream/stage_flow.go:290-301 | stream/stage_parallel.go:206-217 \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":"stream/stage_flow.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3916e109c3b16bd378808633d9fc38d770cdc882afabd70175e11c7c1500b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): stream/stage_flow.go:397-408 | stream/stage_flow.go:530-541 \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":"stream/stage_flow.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"112fbc311fa56b9e9a32d303e16d53151b23731ea20b87c847db86106d1552b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): stream/stage_merge_sequence.go:116-127 | stream/stage_zipn.go:88-99 \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":"stream/stage_merge_sequence.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19d504c1cf358840fdfafb2bf0248d785a2ec2bbe93d09f1f0fd97c3156741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): stream/stage_concat.go:127-137 | stream/stage_source.go:194-204 | stream/stage_source.go:502-512 \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":"stream/stage_concat.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46a82336e143d8386c59a9d43126d2ef020ab7e49b79e77ca5c986586e1cb26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/remote_server.go:676-687 | actor/spawn.go:1102-1112 \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":"actor/remote_server.go"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ae7a7fb6818a1ceecc02ecb3437f34aced6eb2e377d49cfb71433e6a54b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/remote_server.go:1050-1060 | actor/remote_server.go:1103-1114 \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":"actor/remote_server.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde389b7b38ebd3305ffba28cfb65eeab87306ffc581f23389f405d14f80df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): discovery/consul/discovery.go:171-181 | discovery/etcd/discovery.go:180-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discovery/consul/discovery.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05b9ad8cfea57a8489a2522f91ebb1266c28c665f2fe5057712e1455318d230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): discovery/dnssd/discovery.go:117-127 | discovery/nats/discovery.go:243-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"discovery/dnssd/discovery.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f476e89327125439c3069ad27e05d4da90308614bf52ee4eb7c2f24dd432638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/net/metadata.go:154-164 | internal/net/metadata.go:166-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/net/metadata.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c714baa51dfe832af79c30ee70ab7370359ea8b0b7b04d4029419f12d70a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): stream/stage_flow.go:166-176 | stream/stage_parallel.go:201-211 \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":"stream/stage_flow.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"21932c8c7da2b57039c1f9b6e82f24b9c2fc1a5e6a6baa5e871cc2d50350d052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): stream/source.go:209-219 | stream/source.go:232-241 | stream/source.go:362-371 | stream/source.go:386-395 | stream/source.go:425-434 \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":"stream/source.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff0bb6025291211bba0211e7e9398492597874be500790003938cb1792a6cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): stream/stage_concat.go:72-81 | stream/stage_merge_select.go:73-82 | stream/stage_merge_sequence.go:102-111 | stream/stage_source.go:457-467 | stream/stage_zipn.go:73-82 \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":"stream/stage_concat.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38d6af3ec04009fd84e481966c096f568fb824431d1bf24ab4654c5849ed96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): stream/sink.go:140-149 | stream/sink.go:225-234 | stream/sink.go:246-255 | stream/sink.go:300-309 \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":"stream/sink.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aea42b1565258fdca04cb4d291ee50c4a6aa465ad5169964859db259267283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): actor/relocation_worker.go:712-721 | actor/remote_server.go:630-639 \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":"actor/relocation_worker.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8cfe58b2d4baed6f5f3edae5c42d632a2922e66148fb8acd26d5ddcd17123b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): remote/cbor_serializer.go:244-254 | remote/json_serializer.go:157-166 \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":"remote/cbor_serializer.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13981987440827c7bcbcb943cd893604ecec909d556dd605277ba56e730bc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): remote/config.go:90-99 | remote/config.go:117-126 \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":"remote/config.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d61ebf4032b065de70a9a6f755593ab53685635b2bba32d9e5fadffb7dda69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): stream/source.go:473-482 | stream/source.go:502-511 \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":"stream/source.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecaecdbcedc0ea4b67a22e55238d0f397a1c1d36f155ea9c658648c2e47e3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/remote_server.go:1297-1305 | actor/remote_server.go:1356-1364 \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":"actor/remote_server.go"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"124a929620f368a806850a7bc0af162aa04fa603aabc6f796a57bfd76ed8df1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/topic_actor.go:204-213 | actor/topic_actor.go:474-482 \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":"actor/topic_actor.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b13522b8828ec9a44afdaa65798a6f44bcd596f0a00af5d32200b2d94426ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): stream/flow.go:239-249 | stream/flow.go:335-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/flow.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9540e1544160985c2ee12550838b8138ccc9b4febbd2d8bf11cbcba2b919a1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): stream/stage_flow.go:506-514 | stream/stage_subflow.go:101-109 \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":"stream/stage_flow.go"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b03a1b32f0fb4c8010ef5ee12ab457b0fa61e890425d5257423d7af009a001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/remote_server.go:451-458 | actor/remote_server.go:1237-1245 \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":"actor/remote_server.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d342ecd348cc52255e3117474acdf0249078ae9bece5c2a824d8200af574e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/root_guardian.go:54-61 | actor/user_guardian.go:53-60 \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":"actor/root_guardian.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5748ed3589049523b11170f7e6a2cf70c95c30ff02797f6666c4df8d9a04929c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): playground/issue-973/main.go:143-150 | playground/issue-x/main.go:176-183 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/issue-973/main.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb9680724c24e0ae043649de4bc1c431d605a4500525f7da8c04df5282324c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): stream/flow.go:159-166 | stream/flow.go:428-435 \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":"stream/flow.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a027ad92403d51c5e31552b192e5a7ff5579bf76c3fdf457f11557e5d6bc8ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): testkit/multi_nodes.go:164-169 | testkit/multi_nodes.go:198-203 \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":"testkit/multi_nodes.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409bb65a54506085673776dc5fea8c847d557e03de2e8f88e1f07eb4c641093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): testkit/testkit.go:120-125 | testkit/testnode.go:126-131 \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":"testkit/testkit.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d480dda762918b75af234d6d052c78911e792d1378701a1f0ce2d6fef6d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): testkit/grain_probe.go:265-270 | testkit/probe.go:485-489 \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":"testkit/grain_probe.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe1057a45cb13e8e5fa5bc21925d8b9f4ae6836d1b4f7065fa3347dc9215d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): testkit/testkit.go:87-92 | testkit/testnode.go:71-75 \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":"testkit/testkit.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a722e54280a04a48b743995d6dcc5e0caf05c3dc594f9bc830ec7b94f9bb1ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/actor_system.go: actor/actor_system.go changed 24 times in last 90 days, max complexity 18. 5 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad37fc272050be0951ce82292a230032c4d48e1d0e7cbd1d8037f4745b9d6334"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/pid.go: actor/pid.go changed 14 times in last 90 days, max complexity 20. 3 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/pid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bd9ae724c4aac45eb5489b4f73bfcf66becf3688ffa1e4d8b30a5fe15d9482"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/remote_server.go: actor/remote_server.go changed 11 times in last 90 days, max complexity 23. 3 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/remote_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3ed50855f36d33c4a4131f1665f9b410a2f9f111ac9e13e0866bcb2540df4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/grain_engine.go: actor/grain_engine.go changed 8 times in last 90 days, max complexity 19. 1 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/grain_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc7dc77f2f670496534e78601f6bee052e89fcd4d798af712693bfeeb7d85e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/stage_source_ref.go: stream/stage_source_ref.go changed 2 times in last 90 days, max complexity 19."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_source_ref.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f414f352df24c7e65d1ed540b9081b27308f0331a389c5b1428ffe4725589"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/router.go: actor/router.go changed 2 times in last 90 days, max complexity 18. 1 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/router.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f8a1a73bacc72a512e8392947f5511d301145b84a2c5178352dfc1bcbcb79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/stage_partition.go: stream/stage_partition.go changed 2 times in last 90 days, max complexity 17."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_partition.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"354f7a8f74233bd6b8d61d294d4d9f070f9d29a8a5f1a579cc463b866426761d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/stage_subflow.go: stream/stage_subflow.go changed 2 times in last 90 days, max complexity 17."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_subflow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f79596676aa6fd3600d39f7c82d046b10be02e638e887a74374e6a08c9ad1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/stage_sink_ref.go: stream/stage_sink_ref.go changed 2 times in last 90 days, max complexity 15."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/stage_sink_ref.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"041a98298ccfc8c691de5e23a184b59daaf88ba0111a32d312ce8a126105cd1c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 133 significant file(s) lose their only recent owner: actor/actor_system.go, actor/pid.go, internal/remoteclient/client.go, actor/grain_engine.go, actor/spawn.go, actor/replicator.go, actor/grain_pid.go, actor/grain_context.go (\u002B125 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e622d6e19db7981517447e687a0ae381d295f91ad1bd020d27c80dad8cfdd58"}},{"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":"916fbbee1c9ed1d1b83ef1c4d9f4abd44cc4f85cf9e68680c2ea5b059d420a42"}},{"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":"c80bc014881ebe81d71f066593f4d379309091be3456624178ce070371fde197"}},{"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":"75f98b3e2560475db51e12ff2d80de4887d0062c9aab2ac5eb3edb9b048108db"}},{"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":"b03f71b8a00bce15ecbc38d34018862db93cc55c704058511a9872d44ca352aa"}},{"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":"eedaf84ad773f67753afa7b5fe0218ce839ed3cfdfecadebf1da84deb0b1718e"}},{"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":"5bd3ada5b4016c20585b6ea03e7c9e9ff5fcffcefec4f41b42788b0816645a05"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6edf2213eec35bf9b40d8e4b51f8ba39e402674f4917eca5730747f82b4dcd3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6143aec239f3f270c04455d28566dc7efe81d39aabf942a1753a776b2e65843"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: actor_system.go \u2194 defaults.go: \u0060actor/actor_system.go\u0060 and \u0060actor/defaults.go\u0060 change together 58% of the time (7 of the 12 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef41aa75f18819c15b42c2b8d9911be79335adf412727cf113b9d75af393552"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: actor_system.go \u2194 stash.go: \u0060actor/actor_system.go\u0060 and \u0060actor/stash.go\u0060 change together 53% of the time (16 of the 30 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/actor_system.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7941fda8ddd9617f3b19233ea870bd96dd2c9504a478ae8932096cd2e3c531aa"}},{"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":"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":"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-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":13,"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."]}]}