{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"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":"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"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TlsGraphStage.createLogic (cyclomatic 235): TlsGraphStage.createLogic has cyclomatic complexity 235 (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/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c3dbff7cd607a6d80ef3a63983a533f5e78b7fc051a596ef9cec58375a9a43"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkPullingProducerControllerImpl.active (cyclomatic 76): WorkPullingProducerControllerImpl.active has cyclomatic complexity 76 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb93f94f55d3e2b62974e65ba62df1dba1a44fb09934583e4056f42617f03d"}},{"ruleId":"D1","level":"warning","message":{"text":"FlattenConcat.createLogic (cyclomatic 75): FlattenConcat.createLogic has cyclomatic complexity 75 (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/src/main/scala/org/apache/pekko/stream/impl/fusing/FlattenConcat.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f80cfa26ba4e7881cbc727b057deeaf9c793e3f8b062e7f5951b75ee8621cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProducerControllerImpl.active (cyclomatic 74): ProducerControllerImpl.active has cyclomatic complexity 74 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa15259b30af9366ae4394c944253eb3f4795acb85653de59978c02b56f54775"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributedPubSubMediator.receive (cyclomatic 60): DistributedPubSubMediator.receive has cyclomatic complexity 60 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/DistributedPubSubMediator.scala"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"819e54c8dbc63869f521ce5bca613c05ab5cae80c13af0cf1f5de1da2effff95"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceRefStageImpl.createLogicAndMaterializedValue (cyclomatic 57): SourceRefStageImpl.createLogicAndMaterializedValue has cyclomatic complexity 57 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/streamref/SourceRefImpl.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2709df993a103e379d631f2e27ff8810b6b835e8205217a59b1988febbd879"}},{"ruleId":"D1","level":"warning","message":{"text":"FlattenMerge.createLogic (cyclomatic 49): FlattenMerge.createLogic has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fca7360cbd890f9a245a611f3d12973df2e22f799a6d3278e8d136e8629b4a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterReceptionist.behavior (cyclomatic 48): ClusterReceptionist.behavior has cyclomatic complexity 48 (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":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/receptionist/ClusterReceptionist.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"738d762d67de74df28fed362acc1253acd48451a8b5711ae501fd9d6e770584c"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemMessageDelivery.createLogic (cyclomatic 47): SystemMessageDelivery.createLogic has cyclomatic complexity 47 (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":"remote/src/main/scala/org/apache/pekko/remote/artery/SystemMessageDelivery.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86b025cfc5237ccf6a3af3656daa5547f5d231a922413a7e649eeb40d4b09bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardCoordinator.active (cyclomatic 44): ShardCoordinator.active has cyclomatic complexity 44 (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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1398bf5f97fd5af0442ca697ef6f87c1475d9478c274fe136816f1809229549"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupBy.createLogic (cyclomatic 44): GroupBy.createLogic has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b709c2ea6c3c6b66beb27c9b4c9f8df0317cc6b3fb3e1fafd5f6812cc92cb51"}},{"ruleId":"D1","level":"warning","message":{"text":"MapAsyncPartitioned.createLogic (cyclomatic 42): MapAsyncPartitioned.createLogic has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b870babf319ca7f1551f5e670ae740063777186bf15ea9e401c7e81bf827c141"}},{"ruleId":"D1","level":"warning","message":{"text":"Decoder.createLogicAndMaterializedValue (cyclomatic 41): Decoder.createLogicAndMaterializedValue has cyclomatic complexity 41 (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":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fd56f621a6eaf7fdd162867757c578566979e95f5dba59e9c1b3ebf18f5fb9"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardingProducerControllerImpl.active (cyclomatic 40): ShardingProducerControllerImpl.active has cyclomatic complexity 40 (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":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"73485466e0406d764ae44ed5f7d8a39ea070eb33079987b43aee81d72f751ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"CatchupOrFirehose.createLogic (cyclomatic 40): CatchupOrFirehose.createLogic has cyclomatic complexity 40 (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":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cb0739f52cbfe642c9d97ee479e07f5c25c58895fe3c2e3d596d5af598f25e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplicatorBehavior.apply (cyclomatic 39): ReplicatorBehavior.apply has cyclomatic complexity 39 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/ddata/typed/internal/ReplicatorBehavior.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaeaddbba5052d7eddae6f379c1afc7a2f94ab2328e5267b3df8410a5a37403"}},{"ruleId":"D1","level":"warning","message":{"text":"Batch.createLogic (cyclomatic 37): Batch.createLogic has cyclomatic complexity 37 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df1ab2317b2d45598954d77e74db85cb8b2d3d1b080f5d2adb2641f42748fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"EventWriter.apply (cyclomatic 36): EventWriter.apply has cyclomatic complexity 36 (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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventWriter.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b7c676e57a07e437169538c40b8efbde19f658bdce3c2fb81ee05815c1c360"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueSource.createLogicAndMaterializedValue (cyclomatic 35): QueueSource.createLogicAndMaterializedValue has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/QueueSource.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb84021f8bbb66b2cbc2b24a8e5a5dedc3c770274299a90fd6d5d7ee3d49ff80"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterCoreDaemon.receiveGossip (cyclomatic 32): ClusterCoreDaemon.receiveGossip has cyclomatic complexity 32 (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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0186be70d4d002a0fcd6e21674e352ddd146d2f3ea3e0f6edb602671f785e1ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Delay.createLogic (cyclomatic 32): Delay.createLogic has cyclomatic complexity 32 (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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"54107bc7a295829087b3b0b99d7e4f301741ad0e40465361d28415b1ca5ea6b1"}},{"ruleId":"D1","level":"warning","message":{"text":"AggregateWithBoundary.createLogic (cyclomatic 31): AggregateWithBoundary.createLogic has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/AggregateWithBoundary.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cd02d210282efbbfb91c4f676fd4494128319e30260aa842a7b345fadd08a1"}},{"ruleId":"D1","level":"warning","message":{"text":"MapAsyncUnordered.createLogic (cyclomatic 31): MapAsyncUnordered.createLogic has cyclomatic complexity 31 (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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"afba5a1396d4e76e369ada628af45fc8b7d8691212c8e4320da2f52c04edb036"}},{"ruleId":"D1","level":"warning","message":{"text":"Split.createLogic (cyclomatic 31): Split.createLogic has cyclomatic complexity 31 (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/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7f7fed68b077cf5ffc2a30e5cc2afa17762059304a972f5e8955f0f965c93"}},{"ruleId":"D1","level":"warning","message":{"text":"MapAsync.createLogic (cyclomatic 30): MapAsync.createLogic has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a56f928a968ec9f85d467c6edaa6bb1831ca2395817d4f8eb5a3d63ca9db30"}},{"ruleId":"D1","level":"warning","message":{"text":"PhasedFusingActorMaterializer.materialize (cyclomatic 29): PhasedFusingActorMaterializer.materialize has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf15e9b347971f5932d91a202d1334a6e6cfea01c054b50c8ade9323ca47e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplayFilter.receive (cyclomatic 28): ReplayFilter.receive has cyclomatic complexity 28 (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":"persistence/src/main/scala/org/apache/pekko/persistence/journal/ReplayFilter.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5d6cab74a3e57f1e4474b358b060752fe181bd9a6587de898cb3c52dac886"}},{"ruleId":"D1","level":"warning","message":{"text":"Association.send (cyclomatic 28): Association.send has cyclomatic complexity 28 (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":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3376b03e02a2cc53507085689c8cd8a229f6e0cb12f4eaefc3a6c6e91ec45f"}},{"ruleId":"D1","level":"warning","message":{"text":"UnfoldResourceSourceAsync.createLogic (cyclomatic 28): UnfoldResourceSourceAsync.createLogic has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/UnfoldResourceSourceAsync.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6389aff9974403a6c8d27476e171393939b9f5612e2419cf93727cf3e78cdc80"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupedWeightedWithin.createLogic (cyclomatic 28): GroupedWeightedWithin.createLogic has cyclomatic complexity 28 (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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d4937c8011600e2de20435f22ba237016e348f7ec33974ad88e972fca90b4"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedSourceQueueStage.createLogicAndMaterializedValue (cyclomatic 27): BoundedSourceQueueStage.createLogicAndMaterializedValue has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/BoundedSourceQueue.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4bea74a6024a553a350f9f07b4073f0fc984e7a3741e0ef9393ea1fe36e8e2"}},{"ruleId":"D1","level":"warning","message":{"text":"ActorRefSource.createLogicAndMaterializedValue (cyclomatic 26): ActorRefSource.createLogicAndMaterializedValue has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/ActorRefSource.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da5fe82175f24aef0ec1b697ef611c18d8ac0383257b0eec426696fbd9a09cd"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupedAdjacentByWeighted.createLogic (cyclomatic 26): GroupedAdjacentByWeighted.createLogic has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GroupedAdjacentByWeighted.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"208239946b4c970770cea633c7dee8bea73ae4d2e34b84b82c64774a59bed810"}},{"ruleId":"D1","level":"warning","message":{"text":"DnsClient.ready (cyclomatic 25): DnsClient.ready has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/dns/internal/DnsClient.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6840796438845bc49e90e092752262a7fd8b95921c285b329f3bd721ce947e"}},{"ruleId":"D1","level":"warning","message":{"text":"DDataShardCoordinator.waitingForUpdate (cyclomatic 25): DDataShardCoordinator.waitingForUpdate has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8310a02709a6169478ea7e305fedc6a0a2ba2cce46a060fb696e7a568a6f772"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.receive (cyclomatic 25): Controller.receive has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Conductor.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dd4b4ff312f741105289e7840cc28a91b60e5bd3cb59754cf59845e4851d63"}},{"ruleId":"D1","level":"warning","message":{"text":"SinkRefStageImpl.createLogicAndMaterializedValue (cyclomatic 25): SinkRefStageImpl.createLogicAndMaterializedValue has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/streamref/SinkRefImpl.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e719dfc1d6e4a926f62be57b85a38db2323c974cbf72a0d85477ace0c20cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"Association.attachOutboundStreamRestart (cyclomatic 24): Association.attachOutboundStreamRestart has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef72a99de40933a5edc862c89aaa68f868481629c4edffadf73ce92c56b3fb"}},{"ruleId":"D1","level":"warning","message":{"text":"OutboundHandshake.createLogic (cyclomatic 24): OutboundHandshake.createLogic has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Handshake.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"335f4299325cf876e9df9ce3e233648ef04369914a22e88b3d14d41cae77864d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterReceptionist.receive (cyclomatic 23): ClusterReceptionist.receive 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":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"9271eb3df2128114c0c6cc003868f1e834f10244f69ddf45880430576f22c8b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Expand.createLogic (cyclomatic 23): Expand.createLogic 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c79924243b2c0b51c0b4afd322d6715a9df5349210bbb190a70f5c652b36fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"Partition.createLogic (cyclomatic 23): Partition.createLogic 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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17d2b610bcc493245adb6a5800c60e5559b0e5be40627ce090821605e0126a"}},{"ruleId":"D1","level":"warning","message":{"text":"BroadcastHub.createLogicAndMaterializedValue (cyclomatic 23): BroadcastHub.createLogicAndMaterializedValue has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"5387d63a4b95a81a80a4e8019d90677f4556abb7f306d9073c88defc75582641"}},{"ruleId":"D1","level":"warning","message":{"text":"ActorCell.systemInvoke (cyclomatic 22): ActorCell.systemInvoke has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f762f7572fc4760a981c6c1c749fdfccb26ef4cd7600850c731eaa3f4fb8031b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterCoreDaemon.leaderActionsOnConvergence (cyclomatic 22): ClusterCoreDaemon.leaderActionsOnConvergence 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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b1b56f756ceef77454032fddb45b9066bc6fc78da638339ee4b9017c65b1a"}},{"ruleId":"D1","level":"warning","message":{"text":"Replicator.receiveUpdate (cyclomatic 22): Replicator.receiveUpdate has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"513adbce1f58ebf77a38bb1b6d83d3ce71fee9443372b266be179e247d5f1d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplayingEvents.onJournalResponse (cyclomatic 22): ReplayingEvents.onJournalResponse has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1376962abd4e840faa52e04143f07b708dfeb20bb53673b2873f24b797710248"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerControllerImpl.waitingForConfirmation (cyclomatic 21): ConsumerControllerImpl.waitingForConfirmation 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":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d622dda4a2a69e7be2c5c45a576bf2f3d9d4416b2b3aaeb7e5983f104237e50"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorClock.compareOnlyTo (cyclomatic 21): VectorClock.compareOnlyTo 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":"cluster/src/main/scala/org/apache/pekko/cluster/VectorClock.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db38d6e893fd2cf5759867fbfdc09b910a44bb9cb2e9ba97f1e5414ba7a4b75"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueSink.createLogicAndMaterializedValue (cyclomatic 21): QueueSink.createLogicAndMaterializedValue has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfecf7b58cba478beb5874a9aadea3c7cc2384768c43c890d2ae641f5386ef0"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapPrefix.createLogicAndMaterializedValue (cyclomatic 21): FlatMapPrefix.createLogicAndMaterializedValue has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/FlatMapPrefix.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca112f62860806cd9845368cbb2057d88e27f6fdfe9ebd513e683d03f6bac55"}},{"ruleId":"D1","level":"warning","message":{"text":"TcpStreamLogic.connected (cyclomatic 21): TcpStreamLogic.connected 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/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa65c845ee6d9f7809e5646bddccf3024dd53808318e65d68ebb949e64df65a"}},{"ruleId":"D1","level":"warning","message":{"text":"DelimiterFramingStage.createLogic (cyclomatic 21): DelimiterFramingStage.createLogic has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Framing.scala"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea604f75c50a74742a4afa723b6f2eecd3d1c9ae34e554f76adfb3cb33cecfc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerControllerImpl.active (cyclomatic 20): ConsumerControllerImpl.active 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-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"470e508fbc610463d29248b3f3370d3d654e102c4c3ba2520bc7c901405d83cb"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalReceptionist.behavior (cyclomatic 20): LocalReceptionist.behavior 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-typed/src/main/scala/org/apache/pekko/actor/typed/internal/receptionist/LocalReceptionist.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"346ab01d1cf0bcbaac887095844798e83b6cccdd5e06a847f8713eb88ccd2369"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalActorRefProvider.actorOf (cyclomatic 20): LocalActorRefProvider.actorOf 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/src/main/scala/org/apache/pekko/actor/ActorRefProvider.scala"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"92966bc7d213011e94ac40bf0c68bec122da5ad230aa3fae3eada6174ad6335d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterCoreDaemon.joining (cyclomatic 20): ClusterCoreDaemon.joining 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. This is NOT this file\u0027s highest cyclomatic complexity: ClusterCoreDaemon.initialized (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd3f87169b7cd7ab7c3fe35f2880ee61d790ad81d3bc87282457c41b4b5157c"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionVector.compareOnlyTo (cyclomatic 20): VersionVector.compareOnlyTo 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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/VersionVector.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dda799961b9e5716e01bc3bcb6b19ef7fd6433498b563f9b383c6fcf33e7b1"}},{"ruleId":"D1","level":"warning","message":{"text":"EventsByPersistenceIdStage.createLogic (cyclomatic 20): EventsByPersistenceIdStage.createLogic 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":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/journal/leveldb/EventsByPersistenceIdStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7badcca1b64c66f2f3d577c8d2d5ecb12d1fbe181a3b5559a7f4cd82e21db009"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistingEvents.onJournalResponse (cyclomatic 20): PersistingEvents.onJournalResponse 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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f22e1890e529c7f87ebee79701781457084325bca4b7550858ac03a8f24046"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionVector.compareOnlyTo (cyclomatic 20): VersionVector.compareOnlyTo 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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/VersionVector.scala"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5e92a4391a94495d271c12ad8f53ef75d97d67f576dc1c6708abac2e018cc"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonSerializer.fromBinary (cyclomatic 20): JacksonSerializer.fromBinary has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ce2ccc8d055b51df27b397a0884fd4e166d64a9c69d784b42d66ad542aa646"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonSerializer.fromBinary (cyclomatic 20): JacksonSerializer.fromBinary has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"654b6cd32d5d620ca4f38444a7a61e6691b1193eee93d263b01f066d74761bd0"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualProcessor.onNext (cyclomatic 20): VirtualProcessor.onNext 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":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc49120072cbf8a74f122d514ad5789a87b3327a7fcb4ad9e18313ed057a359"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSourceStage.createLogicAndMaterializedValue (cyclomatic 20): ConnectionSourceStage.createLogicAndMaterializedValue has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"016fd725dad0e86c8f1bda3c2184b066d1a658660a493ffbd9cf2bc15dd20e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"PekkoVersion.require (cyclomatic 19): PekkoVersion.require 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/src/main/scala/org/apache/pekko/PekkoVersion.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf84e2226d60697623cb77ab2d2b05ebe3fbf44ccc726054433fe628328ec4a"}},{"ruleId":"D1","level":"warning","message":{"text":"TcpConnection.doRead (cyclomatic 19): TcpConnection.doRead 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/src/main/scala/org/apache/pekko/io/TcpConnection.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b4807d3ff8c6338a7f618e909bfef0bd86fd24c3e578d02478b597cecd3801"}},{"ruleId":"D1","level":"warning","message":{"text":"HashCode.hashArray (cyclomatic 19): HashCode.hashArray has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/HashCode.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0c20c1a48390af20c00862599e7022d9af03f0ae67e69773cb37ed54ee5a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardCoordinator.receiveTerminated (cyclomatic 19): ShardCoordinator.receiveTerminated 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a5483fa05e60593af46d3ec5e79ec35ac72a81dd3e15e45ce962149b1cba64"}},{"ruleId":"D1","level":"warning","message":{"text":"MsgDecoder.decode0 (cyclomatic 19): MsgDecoder.decode0 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":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/DataTypes.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea875656d1e321305db48b7735a7eaa3c13fa449b14af4c4f6424f9849d8e109"}},{"ruleId":"D1","level":"warning","message":{"text":"RecoverWith.createLogic (cyclomatic 19): RecoverWith.createLogic has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b61453d12f2c1329365ffb91d3e4fd8c347983336a760f0ffc67e7eee394d"}},{"ruleId":"D1","level":"warning","message":{"text":"PartitionHub.createLogicAndMaterializedValue (cyclomatic 19): PartitionHub.createLogicAndMaterializedValue has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fbbc530be8e2de443ea3e2a382ed71cb293bf44275c3e54b016daf95762d32"}},{"ruleId":"D1","level":"warning","message":{"text":"TcpConnection.handleWriteMessages (cyclomatic 18): TcpConnection.handleWriteMessages 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/src/main/scala/org/apache/pekko/io/TcpConnection.scala"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"055bec43e066988f8b3639254fb6e5b40e1ef3bfd9ba1f6d2dc62206c8b6999d"}},{"ruleId":"D1","level":"warning","message":{"text":"WrappedEventSourcedBehavior.onMessage (cyclomatic 18): WrappedEventSourcedBehavior.onMessage has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ef2a92206160befa077dbeda23cb91df813e6b4bcbe9b3525efc22b96f4876"}},{"ruleId":"D1","level":"warning","message":{"text":"EventSourcedBehaviorImpl.apply (cyclomatic 18): EventSourcedBehaviorImpl.apply has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"448c530cca4b0e7bb14856314d0f03d0c1e8c5bd54baa25b27a241266331d816"}},{"ruleId":"D1","level":"warning","message":{"text":"ReliableDeliverySupervisor.gated (cyclomatic 18): ReliableDeliverySupervisor.gated 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":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"99177a5f2a2c3e955e2fa2dec24d688c3f8842fe9e47707a1d36e73bd5729337"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSystemDaemon.! (cyclomatic 18): RemoteSystemDaemon.! has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteDaemon.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"df942a204748367b8371a10e1837f9d00f082f1a8b18e5e41cade45ec9f96299"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualProcessor.onError (cyclomatic 18): VirtualProcessor.onError 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/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e60c18c4089056684e3c18aa657ec5a0ecfe4f18f9cd91b1b5bd536abe90c"}},{"ruleId":"D1","level":"warning","message":{"text":"FoldAsync.createLogic (cyclomatic 18): FoldAsync.createLogic 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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c50068903af1e5017cb69c42becb624885837b77c717791584ba8a59b20c2"}},{"ruleId":"D1","level":"warning","message":{"text":"MergePrioritized.createLogic (cyclomatic 18): MergePrioritized.createLogic 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/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b103ec027d611b5ce6f9086b5760c3ea67e3ace9d6f2d57a915f451d39f26f06"}},{"ruleId":"D1","level":"warning","message":{"text":"Balance.createLogic (cyclomatic 18): Balance.createLogic 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/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"225842ec783816af33d98ad2f467075778cd050dcf3c2dabcf14efc57d45d8d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerControllerImpl.resending (cyclomatic 17): ConsumerControllerImpl.resending 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-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aea6a874f744df68c11ad872641f77b797ea5672c4c9b4869011804a29cbee4"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatedShutdown.run (cyclomatic 17): CoordinatedShutdown.run 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/src/main/scala/org/apache/pekko/actor/CoordinatedShutdown.scala"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fa176ff7c90d1366afc419bcb602beecd8c163695077b905d8d57762a6ab5b"}},{"ruleId":"D1","level":"warning","message":{"text":"Version.parse (cyclomatic 17): Version.parse 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/src/main/scala/org/apache/pekko/util/Version.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10b7a1bd529018a9448aa2de390a822280e1d47c8c824340f7f9e98005d8029"}},{"ruleId":"D1","level":"warning","message":{"text":"PassivationStrategy.describe (cyclomatic 17): PassivationStrategy.describe 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ClusterShardingSettings.scala"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e84b13c310e4c2377fbb3ee566d2a8f0d600c99d69ac2d491a5b2ad33aafd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Shard.deliverMessage (cyclomatic 17): Shard.deliverMessage 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. This is NOT this file\u0027s highest cyclomatic complexity: Shard.waitingForRememberEntitiesStore (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/Shard.scala"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bf74b8d01de8e492eb403003dfe1e2d750bd993c7c3cfe4cf68efe191586b2"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentShardCoordinator.receiveRecover (cyclomatic 17): PersistentShardCoordinator.receiveRecover 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f264918f4523378802550af01e531c56e98c482ceb6e747ad8943d6964f53a51"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSingletonProxy.receive (cyclomatic 17): ClusterSingletonProxy.receive has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonProxy.scala"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"36022a0ea8161ff1192e5d2b0365756a0e5a87d81e685fdbdda89ebeaf99531e"}},{"ruleId":"D1","level":"warning","message":{"text":"Replicator.receiveDeltaPropagation (cyclomatic 17): Replicator.receiveDeltaPropagation 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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"8372e24dfaab8f77ed6ee3b7cb9856071e636d895d273c5e0355df9e5273487a"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointWriter.sendBufferedMessages (cyclomatic 17): EndpointWriter.sendBufferedMessages 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":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"41330cdb3a4b8b8f040d9b6e82f0e7b4edb8f7834215d313980be43e000ba14c"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteActorRefProvider.actorOf (cyclomatic 17): RemoteActorRefProvider.actorOf 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":"remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1282835c5dc2ccf0ac266c1aebafde313874560cd96ee8e382cd8e0f5e708227"}},{"ruleId":"D1","level":"warning","message":{"text":"Buffer.createLogic (cyclomatic 17): Buffer.createLogic 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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01254a65f6a100b2900a979b618b8746f97c627f9fcf5e07ac8050668b7b242"}},{"ruleId":"D1","level":"warning","message":{"text":"StatefulMapConcat.createLogic (cyclomatic 17): StatefulMapConcat.createLogic 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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea949e23f23368a42b1d033a794df7fd889fd1513d62dd40ff17a7bbb8670869"}},{"ruleId":"D1","level":"warning","message":{"text":"ActorPath.findInvalidPathElementCharPosition (cyclomatic 16): ActorPath.findInvalidPathElementCharPosition has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a591a4aeacffdd86b75ac3f64657bfcf4d868ce25b744bbefda7c87c1a362faa"}},{"ruleId":"D1","level":"warning","message":{"text":"ActorSelection.deliverSelection (cyclomatic 16): ActorSelection.deliverSelection 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/src/main/scala/org/apache/pekko/actor/ActorSelection.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"024164200364cb6e31a59620f152664cb7dcc9bd4931c8c146a3eb0114dd40e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardRegion.deliverMessage (cyclomatic 16): ShardRegion.deliverMessage 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99b558049951ede94e1cb633031eb3ef772fa8ff92bd3610b33d714a414f424"}},{"ruleId":"D1","level":"warning","message":{"text":"EventSourcedRememberEntitiesShardStore.receiveCommand (cyclomatic 16): EventSourcedRememberEntitiesShardStore.receiveCommand 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesShardStore.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47beed101a52517b66b91bb9ed2875f72f6ce70966a3423471287ceabcdfd2d"}},{"ruleId":"D1","level":"warning","message":{"text":"AdapterClusterImpl.subscriptionsBehavior (cyclomatic 16): AdapterClusterImpl.subscriptionsBehavior has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/AdaptedClusterImpl.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2204c8679c6e1f83c834956c37cd7ab0393b1563f0052186ba25b0360f6fb7c6"}},{"ruleId":"D1","level":"warning","message":{"text":"MsgEncoder.encode0 (cyclomatic 16): MsgEncoder.encode0 has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/DataTypes.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e604b9e9639a5e130b58bb3474f1550fe2fbd3cda51ef4f07d61fcea94df0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplayingSnapshot.createBehavior (cyclomatic 16): ReplayingSnapshot.createBehavior has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingSnapshot.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4070a5468c0e7c8df090dabdc341abe73437a43566e875f5785912e6acc5c6bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Eventsourced.recoveryStarted (cyclomatic 16): Eventsourced.recoveryStarted has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b0a80a939cb603e7db68b970ae6c07e7896eef010d3bfcb33d754d00321d09"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMessageDispatcher.dispatch (cyclomatic 16): DefaultMessageDispatcher.dispatch 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. This is NOT this file\u0027s highest cyclomatic complexity: ReliableDeliverySupervisor.receive (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"30db3c9e00a1a3693d59b8237fe899af5ed477fd92ad7343858114b05f8fc9f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Association.setupIdleTimer (cyclomatic 16): Association.setupIdleTimer 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":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"132db02cca581e2ae3b51d30fc521bd8ca4c71b3dcd2d1868f8e858c6c26dfbe"}},{"ruleId":"D1","level":"warning","message":{"text":"IterableConcat.createLogic (cyclomatic 16): IterableConcat.createLogic 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/src/main/scala/org/apache/pekko/stream/impl/IterableConcat.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5eee14f2773e48acd1241d24b37f47627917dd925ad9bacf66c317f280d79f"}},{"ruleId":"D1","level":"warning","message":{"text":"IslandTracking.wireOut (cyclomatic 16): IslandTracking.wireOut 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/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1544d015695528d4766a59dcc4eadd1fb05d63a327106e0d554ba3e54363f4"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualProcessor.onComplete (cyclomatic 16): VirtualProcessor.onComplete 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/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff1f96030b7ef92e5ac93c15b8096a8ba9169539f9308f59f762b6860c8def"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanAsync.createLogic (cyclomatic 16): ScanAsync.createLogic has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3099072a356e18e3109a59a97bbf5bf33567a0b49d5ac4b25d5fb56d5a59e1"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSource.createLogicAndMaterializedValue (cyclomatic 16): FileSource.createLogicAndMaterializedValue has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/IOSources.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57c779798d21f5851f121b80e8c1ac2fc9c858070efea183924e4316c3d812"}},{"ruleId":"D1","level":"warning","message":{"text":"TLSActor.doInbound (cyclomatic 16): TLSActor.doInbound 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/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa5db8efa731a0861b0a14e84d6dd35f0e237d0d6f364974024cecd2d563c52"}},{"ruleId":"D2","level":"warning","message":{"text":"TlsGraphStage.createLogic (cognitive 307): TlsGraphStage.createLogic has cognitive complexity 307 (threshold 15). Drivers by points: if/else 123 (176 pts), boolean chains 88, error handling 11 (25 pts), match/switch 10 (14 pts), loops 4 (nesting depth added 71). 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/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"407019745d589cac68543e2132b782520983e2e5a9868b3c8aa15279cb1e2dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerControllerImpl.active (cognitive 103): ProducerControllerImpl.active has cognitive complexity 103 (threshold 15). Drivers by points: if/else 68 (89 pts), boolean chains 13, match/switch 1 (nesting depth added 21). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ec482498d78d5160647431381e273814d0abfee01b491a80b14f8e06d2d903"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenConcat.createLogic (cognitive 96): FlattenConcat.createLogic has cognitive complexity 96 (threshold 15). Drivers by points: if/else 51 (72 pts), boolean chains 12, match/switch 7 (10 pts), loops 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/FlattenConcat.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e28646c62f2ee1b6771ece5fb4d8b2ad13da5821a1502ec66efbc4b8d37bed8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkPullingProducerControllerImpl.active (cognitive 81): WorkPullingProducerControllerImpl.active has cognitive complexity 81 (threshold 15). Drivers by points: if/else 34 (48 pts), match/switch 16 (24 pts), boolean chains 9 (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":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c113a3e78e4c7f7634e8fe1cf89f1027d3989d35b744fcfc019ad8d7466f6147"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardCoordinator.active (cognitive 80): ShardCoordinator.active has cognitive complexity 80 (threshold 15). Drivers by points: if/else 29 (58 pts), match/switch 8 (20 pts), boolean chains 2 (nesting depth added 41). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a2d802f67c0a46ad26cccd11853f04c992ed7c7fab2ac70119ec8ba9780bab"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterReceptionist.behavior (cognitive 79): ClusterReceptionist.behavior has cognitive complexity 79 (threshold 15). Drivers by points: if/else 35 (68 pts), match/switch 5 (9 pts), boolean chains 2 (nesting depth added 37). 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":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/receptionist/ClusterReceptionist.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a613a95a24428ce0e12f4d9dd5a505d7a84b1aac7259c87ca4db53367e7611"}},{"ruleId":"D2","level":"warning","message":{"text":"EventWriter.apply (cognitive 77): EventWriter.apply has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (52 pts), match/switch 10 (24 pts), boolean chains 1 (nesting depth added 42). 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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventWriter.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"59503a0f0fe3e509c3034369b801db7cd797a89fad86d90a40d62d2aa54b9d87"}},{"ruleId":"D2","level":"warning","message":{"text":"Decoder.createLogicAndMaterializedValue (cognitive 76): Decoder.createLogicAndMaterializedValue has cognitive complexity 76 (threshold 15). Drivers by points: if/else 31 (53 pts), match/switch 7 (13 pts), boolean chains 6, error handling 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":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43a41a7246e96ecbd8b1b60618699d958e3b0e2478e725bc43d50b364a91d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemMessageDelivery.createLogic (cognitive 73): SystemMessageDelivery.createLogic has cognitive complexity 73 (threshold 15). Drivers by points: if/else 37 (56 pts), boolean chains 8, match/switch 6 (8 pts), loops 1 (nesting depth added 21). 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":"remote/src/main/scala/org/apache/pekko/remote/artery/SystemMessageDelivery.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6776c9dd1ead1019b16bf75f8b14846b5f7b17393ddc8f2219bfe722fbe8a85"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceRefStageImpl.createLogicAndMaterializedValue (cognitive 72): SourceRefStageImpl.createLogicAndMaterializedValue has cognitive complexity 72 (threshold 15). Drivers by points: if/else 32 (37 pts), match/switch 18 (32 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/streamref/SourceRefImpl.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"575dfbbe7d4c68fe2940ad10e632dbe01cf46bcf030c80574232c730beb72054"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributedPubSubMediator.receive (cognitive 70): DistributedPubSubMediator.receive has cognitive complexity 70 (threshold 15). Drivers by points: if/else 21 (40 pts), match/switch 8 (15 pts), loops 3 (12 pts), boolean chains 3 (nesting depth added 35). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/DistributedPubSubMediator.scala"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fd245214a2d5b18468d63a79e490c474f7ab55c55c8f0a23ab8074f8fe61b1"}},{"ruleId":"D2","level":"warning","message":{"text":"PekkoVersion.require (cognitive 62): PekkoVersion.require has cognitive complexity 62 (threshold 15). Drivers by points: if/else 14 (48 pts), match/switch 3 (13 pts), boolean chains 1 (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/PekkoVersion.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"710a1c28fccd9eb71f83fe06f6be7989da4d01fc57fae8b5e272440c522368bb"}},{"ruleId":"D2","level":"warning","message":{"text":"CatchupOrFirehose.createLogic (cognitive 60): CatchupOrFirehose.createLogic has cognitive complexity 60 (threshold 15). Drivers by points: if/else 29 (47 pts), boolean chains 7, match/switch 5 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f629a1c83896535c7fc36d6f81cf288638f1545f57eb53dd1904216abd2112"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupBy.createLogic (cognitive 60): GroupBy.createLogic has cognitive complexity 60 (threshold 15). Drivers by points: if/else 35 (45 pts), boolean chains 8, loops 2 (3 pts), match/switch 2 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6eb5d8d6cbc222c646fc85a983e0b737667f3e8f4c816a2332fe2e4470f1fa"}},{"ruleId":"D2","level":"warning","message":{"text":"MapAsyncPartitioned.createLogic (cognitive 55): MapAsyncPartitioned.createLogic has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (29 pts), match/switch 10 (18 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fcc993f8bcb4a6046b40806d7d5108208bc13aba79ed0015e76a8d19ff481a"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenMerge.createLogic (cognitive 55): FlattenMerge.createLogic has cognitive complexity 55 (threshold 15). Drivers by points: if/else 32 (37 pts), match/switch 7 (11 pts), boolean chains 6, loops 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e19009db2a724d3b7c7412b709ca8ddc45dcb1fd35f4cb00ab24385f725c394"}},{"ruleId":"D2","level":"warning","message":{"text":"PhasedFusingActorMaterializer.materialize (cognitive 53): PhasedFusingActorMaterializer.materialize has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (46 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 33). 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/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92f8c0636cb991b0ed88b90658488e6d45b7a9bc1b9a45f68eadf238a9427be"}},{"ruleId":"D2","level":"warning","message":{"text":"Shard.deliverMessage (cognitive 52): Shard.deliverMessage has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (46 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/Shard.scala"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"30709da80d67c64384b42fe476305d938d0b684452ace6e14ff8ec6c321193a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.receiveDeltaPropagation (cognitive 51): Replicator.receiveDeltaPropagation has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (43 pts), match/switch 2 (6 pts), error handling 1 (2 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb31d1fa5655c2a132b4385fe279f878b6c4e2244676dce85197d4cb06d3db0"}},{"ruleId":"D2","level":"warning","message":{"text":"Association.send (cognitive 50): Association.send has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (35 pts), match/switch 4 (8 pts), boolean chains 5, error handling 1 (2 pts) (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":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7331865b98b40650c7d7ba79ae273ecb95d52a17db98b47abd1c2508516e32"}},{"ruleId":"D2","level":"warning","message":{"text":"Batch.createLogic (cognitive 50): Batch.createLogic has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (23 pts), match/switch 5 (15 pts), error handling 5 (10 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ff48bd8d8c7ce82b7332f49c3416a85bd808dd2c5fc13db4f3cde57dc8bb91"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupedWeightedWithin.createLogic (cognitive 50): GroupedWeightedWithin.createLogic has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (43 pts), boolean chains 4, match/switch 1 (2 pts), error handling 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/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad24e01f21e7b9ff407f0e883e77a3415de8c46477071ebe7daa77d1892e9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorClock.compareOnlyTo (cognitive 48): VectorClock.compareOnlyTo has cognitive complexity 48 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/VectorClock.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5622b1388f46c28aa9c0b7cf5b0a8a484bd8e9dc383eb176e6bb7b2ba24e523"}},{"ruleId":"D2","level":"warning","message":{"text":"DDataShardCoordinator.waitingForUpdate (cognitive 47): DDataShardCoordinator.waitingForUpdate has cognitive complexity 47 (threshold 15). Drivers by points: if/else 26 (46 pts), match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fd7b46f7d4cc120815c440469206ec22b15d7008e20b92267d2ad5ace74838"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionVector.compareOnlyTo (cognitive 47): VersionVector.compareOnlyTo has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 2 (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/VersionVector.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3979b3aab827b903b035c15a2dfb126e85dbd9194e54ab81033dad6e3aa7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionVector.compareOnlyTo (cognitive 47): VersionVector.compareOnlyTo has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 2 (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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/VersionVector.scala"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae28ef827ee6a4f98921b16277880860a7891002e8d375f2b7b0b2ae5faa19f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.receiveGossip (cognitive 46): ClusterCoreDaemon.receiveGossip has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 7, match/switch 2 (5 pts), error handling 1 (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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"590cf0b0b0995a5851d4a687b8e7e8eb7ad24dc5b6a3fbf0b294e2cac121b6b1"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedSourceQueueStage.createLogicAndMaterializedValue (cognitive 46): BoundedSourceQueueStage.createLogicAndMaterializedValue has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (40 pts), match/switch 5, loops 1 (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":"stream/src/main/scala/org/apache/pekko/stream/impl/BoundedSourceQueue.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10812b81fb94fc4bec4439ebdc76b61a4d462594181c494b6bb80b3bb75b691"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualProcessor.onNext (cognitive 46): VirtualProcessor.onNext has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), error handling 3 (9 pts), match/switch 3 (7 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adefae1e458db5d3c918e83e66717e28500c984e6c0c1b5a6e1f7f11f4b5539"}},{"ruleId":"D2","level":"warning","message":{"text":"Split.createLogic (cognitive 46): Split.createLogic has cognitive complexity 46 (threshold 15). Drivers by points: if/else 27 (37 pts), match/switch 4 (5 pts), boolean chains 3, error handling 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/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a61c4b7d5d40c69ade4863619c39fb09650c44f20a127558e8e685f3b69778"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorSelection.deliverSelection (cognitive 44): ActorSelection.deliverSelection has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (36 pts), match/switch 2 (5 pts), boolean chains 3 (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":"actor/src/main/scala/org/apache/pekko/actor/ActorSelection.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1dbececa071227f4ef322d8ad6b432d7fd809c277aedf1a42bf15036b04a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayFilter.receive (cognitive 44): ReplayFilter.receive has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 4 (13 pts), loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/ReplayFilter.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8798ce889381807cc79e8783c0e7a8eeae191417368d2d4e2cafb0bb2dee105"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardingProducerControllerImpl.active (cognitive 43): ShardingProducerControllerImpl.active has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (32 pts), match/switch 8 (9 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c1bd6d8bcab6a1785c2a684d09d8d31338abdd447b8df09a59773d192b2ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"Association.setupIdleTimer (cognitive 42): Association.setupIdleTimer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 4 (18 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ca84ec603e5d7bcfc6b3662770a0b57ca787470e9b1ebb456dfb9a98e9f2de"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriberManagement.moreRequested (cognitive 42): SubscriberManagement.moreRequested has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (29 pts), match/switch 2 (7 pts), error handling 1 (5 pts), boolean chains 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/SubscriberManagement.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cff0469947950e750b252f15977703a6bb36e946388412a1234a05d9ecdafb"}},{"ruleId":"D2","level":"warning","message":{"text":"Shard.entityTerminated (cognitive 41): Shard.entityTerminated has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (38 pts), match/switch 2 (3 pts) (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/Shard.scala"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3f45594f3d1660dfad41e2d71f52324d2f3866422518e4f86919543996183f"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorRefSource.createLogicAndMaterializedValue (cognitive 41): ActorRefSource.createLogicAndMaterializedValue has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (23 pts), match/switch 5 (13 pts), boolean chains 4, error handling 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/src/main/scala/org/apache/pekko/stream/impl/ActorRefSource.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cf40a8f025a33b579a6bd6518243220742bb9cecee803a0b63b1e3cb10ae69"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueSource.createLogicAndMaterializedValue (cognitive 41): QueueSource.createLogicAndMaterializedValue has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (27 pts), match/switch 4 (7 pts), boolean chains 4, loops 2 (3 pts) (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/src/main/scala/org/apache/pekko/stream/impl/QueueSource.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"25801406bf908ff20562fef5eb437d6415016b5f40d8a947588ea324969dc8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"RestartSupervisor.aroundSignal (cognitive 40): RestartSupervisor.aroundSignal has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (28 pts), match/switch 4 (9 pts), boolean chains 3 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/Supervision.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b217d6f6ea110a0059db793ae2594d0456a58b0704ce59f3ca081508079743f2"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalActorRefProvider.actorOf (cognitive 40): LocalActorRefProvider.actorOf has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), match/switch 4 (8 pts), error handling 2 (4 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRefProvider.scala"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1fc41e7c4f338e79431e68b2181e9533ec9310f3733ecc3cdc18e72654da72"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString.lastIndexOfSlice (cognitive 40): ByteString.lastIndexOfSlice has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9dfca10299b80ce00155be60cd3d1893734be0411979699f162cb91552124e"}},{"ruleId":"D2","level":"warning","message":{"text":"Delay.createLogic (cognitive 40): Delay.createLogic has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 8, match/switch 2 (3 pts), error handling 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20dd10767e815d6a76aefd22ef692457897e3be499f6819ad0b40f84dd7926"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandTracking.wireOut (cognitive 38): IslandTracking.wireOut has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f72122f39bf4cfb5d9c4b8d0f15eb11bdbdd6af832e702a0866915507126cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateWithBoundary.createLogic (cognitive 38): AggregateWithBoundary.createLogic has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 5 (13 pts), error handling 5 (8 pts), boolean chains 1 (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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/AggregateWithBoundary.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3366e3a2a5c9483efd15da4d735d2623c93dfa7dc0a15423a4da634fa14e8c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpConnection.doRead (cognitive 37): TcpConnection.doRead has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (29 pts), match/switch 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 21). 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/src/main/scala/org/apache/pekko/io/TcpConnection.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"55369565c3720abe5e2b6ad7c3fd03475b6fb0748eb6c35d92ac09efbc4062d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Version.parse (cognitive 37): Version.parse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (27 pts), error handling 2 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/Version.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fc3abcfc9aac2af139679c160a05be059596e5c034259f73dc20dc4c8ad56b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.joining (cognitive 37): ClusterCoreDaemon.joining has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 4 (10 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6e53d041603a1be78349d6d40cd434d17d4e4c0f6b295e34ca5ef4aa636e77"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteActorRefProvider.actorOf (cognitive 37): RemoteActorRefProvider.actorOf has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 2 (9 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a404948013284319a7cf16878beb9aff8d22ee05609f1e9a511f97d19ffe528"}},{"ruleId":"D2","level":"warning","message":{"text":"UnfoldResourceSourceAsync.createLogic (cognitive 37): UnfoldResourceSourceAsync.createLogic has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 14 (24 pts), if/else 8 (10 pts), error handling 1 (3 pts) (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/UnfoldResourceSourceAsync.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78057597eb84065dd56210966fc12f48e3d739d3545f0e482e4d3390d411844"}},{"ruleId":"D2","level":"warning","message":{"text":"MapAsyncUnordered.createLogic (cognitive 37): MapAsyncUnordered.createLogic has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 4, match/switch 4, error handling 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb09d431279a9b58c058f124943c8eaa8dcc9076ab727eb2eb6077d48b94dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"SmallestMailboxRoutingLogic.selectNext (cognitive 36): SmallestMailboxRoutingLogic.selectNext has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/routing/SmallestMailbox.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"41daac105125a64704b8b8c1779e9d03001bb2902c90a954123c9433edb66abc"}},{"ruleId":"D2","level":"warning","message":{"text":"SinkRefStageImpl.createLogicAndMaterializedValue (cognitive 35): SinkRefStageImpl.createLogicAndMaterializedValue has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (22 pts), match/switch 8 (11 pts), 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":"stream/src/main/scala/org/apache/pekko/stream/impl/streamref/SinkRefImpl.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9075c35d1b30deef676be6e4b1abea4fdad08c29015184e4fd91c2fcb1085a49"}},{"ruleId":"D2","level":"warning","message":{"text":"Association.attachOutboundStreamRestart (cognitive 34): Association.attachOutboundStreamRestart has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 8, match/switch 3 (6 pts) (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":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15bc5ddd8ed484d6e0869ce82dad12013f5bf25c9948f07e06e37c4c9b796e"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapPrefix.createLogicAndMaterializedValue (cognitive 34): FlatMapPrefix.createLogicAndMaterializedValue has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (25 pts), match/switch 6, error handling 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/FlatMapPrefix.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e57fc42510fd0aafd083e1d12a968babce32a3aad1709c5b1d90e133b8ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupedAdjacentByWeighted.createLogic (cognitive 34): GroupedAdjacentByWeighted.createLogic has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (23 pts), match/switch 6, boolean chains 3, error handling 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GroupedAdjacentByWeighted.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1964231e45bd707c90a245fbb5aa339400f3cb02d621669adec9cef8733707f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Expand.createLogic (cognitive 34): Expand.createLogic has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (24 pts), error handling 4, boolean chains 3, match/switch 2 (3 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1cbc72fb879f0e389a91cf579d4a8c9dd4cc734326613d4126a1c781756a0"}},{"ruleId":"D2","level":"warning","message":{"text":"MapAsync.createLogic (cognitive 34): MapAsync.createLogic has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (17 pts), match/switch 8 (13 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2619e0f71b8630e792a44ff93c74ea388fd5f3fd49c04918a52b5d071af60c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DelimiterFramingStage.createLogic (cognitive 34): DelimiterFramingStage.createLogic has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 3, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Framing.scala"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d643cbac750e1bf7418474842f563f28e86fccca3816f0c105494334246ecd53"}},{"ruleId":"D2","level":"warning","message":{"text":"Partition.createLogic (cognitive 34): Partition.createLogic has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 2, match/switch 1 (2 pts), error handling 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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"90caed768192be7c2936b04e8643cafac2bef5c0899347e9647b96aeefa74d47"}},{"ruleId":"D2","level":"warning","message":{"text":"Serialization.serializerFor (cognitive 33): Serialization.serializerFor has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 4 (9 pts), boolean chains 2 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ee4397c59050f232e1c556b36dcc2a7d989982ef3d6f02c02a5f8b4bd3c84d"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.receive (cognitive 33): Controller.receive has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (8 pts), match/switch 4 (7 pts) (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Conductor.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c9c6988d3bdf5e2fb69507b9a7c00979b5717f6502b26ed7bbc21ecc3b9e45"}},{"ruleId":"D2","level":"warning","message":{"text":"Balance.createLogic (cognitive 33): Balance.createLogic has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (31 pts), 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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cc5966979e278f0ccb1d63c4273954e4fbb1ccddf513eb796e522c6c66fd86"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatedShutdown.run (cognitive 32): CoordinatedShutdown.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 3 (7 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/CoordinatedShutdown.scala"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0412697f08a6175ce16cf41083c2e0c69d8b66034122b7d0c0e73abfcf9529"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpConnection.handleWriteMessages (cognitive 32): TcpConnection.handleWriteMessages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 1, match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/TcpConnection.scala"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef42b61af835655aa45458d6b621613509b8dac670ee2fa3a6576b4af97d697"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistingEvents.onJournalResponse (cognitive 32): PersistingEvents.onJournalResponse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 3, 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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"081c34ebd29bdbee01c6534bb4e396fc3cf51181200196c078347e0c4ee9d6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"OutboundHandshake.createLogic (cognitive 32): OutboundHandshake.createLogic has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 5 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Handshake.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c428a5da864f547e6f6e6575ce1bd0caae06f5291f99a9eaa75ce63eb422dc"}},{"ruleId":"D2","level":"warning","message":{"text":"DnsClient.ready (cognitive 31): DnsClient.ready has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 7 (16 pts), if/else 8 (15 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/dns/internal/DnsClient.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6977736dcdde5905002dfd605960f246f45b4b69986dfee5f7d6a8580660b3c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.leaderActionsOnConvergence (cognitive 31): ClusterCoreDaemon.leaderActionsOnConvergence has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 9, loops 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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be3925db791813b51787d03327edadef0e36218f8e1e1731929ea5c7b11c7bb"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearTraversalBuilder.append (cognitive 31): LinearTraversalBuilder.append has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 3 (10 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"9865488ee69f3f2acd99289e4483ef947b526a00c30161a06a76aa42a679ee81"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString.indexOfSlice (cognitive 30): ByteString.indexOfSlice has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 1 (2 pts), boolean chains 1, 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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0265ab80a147d1c6a49cb422aae5b795cb66d83b1062215a9a36a4a3facc7c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"LeastShardAllocationStrategy.rebalance (cognitive 30): LeastShardAllocationStrategy.rebalance has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (26 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/LeastShardAllocationStrategy.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b2a6f0b10e60228f079d9ad7993e1c33859725d04369495e59be02a8d61e87"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldAsync.createLogic (cognitive 30): FoldAsync.createLogic has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 5 (9 pts), boolean chains 2, error handling 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c1ad13da5b8d4b592fb547e5e2dc9b53f1e163b0824c0337cb1569e954719b"}},{"ruleId":"D2","level":"warning","message":{"text":"MergePrioritized.createLogic (cognitive 30): MergePrioritized.createLogic has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 5, loops 2 (3 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69089c9ee33284819c1ea6c7bd3ef74033f00f9dcfc1025dd840d8821bece8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardCoordinator.receiveTerminated (cognitive 29): ShardCoordinator.receiveTerminated has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb47e9e7d261bd48b5e0d97938a8886200f60f285a4b7456671fd9e2cf2ec9a"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitBrainResolverBase.tick (cognitive 29): SplitBrainResolverBase.tick has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/sbr/SplitBrainResolver.scala"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7df1d9c370531cf81199691c51c3214693ec5b3cd7c0cbeb0dd0efdfb9bec4"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.receiveUpdate (cognitive 29): Replicator.receiveUpdate has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 8 (13 pts), boolean chains 1 (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ee617a27ca75495588b8c4b71f1714becf840d5407642c83da4fefc51bd321"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointManager.handleInboundAssociation (cognitive 29): EndpointManager.handleInboundAssociation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (10 pts) (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Remoting.scala"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"110e591603ba8ce04e7275bd4c7364f3efc8d8c811d87101a7d48e35635b5c43"}},{"ruleId":"D2","level":"warning","message":{"text":"ArteryTransport.attachControlMessageObserver (cognitive 29): ArteryTransport.attachControlMessageObserver has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (9 pts), error handling 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":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bf1707a0b0fc7041f09bcfdd20f50427491f71f9469afc4bd26a4415f9a17d"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonMsgCreateSerializer.fromBinary (cognitive 29): DaemonMsgCreateSerializer.fromBinary has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (27 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/DaemonMsgCreateSerializer.scala"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ec41ce8dee17f7c89b8134f6f21fb96ae716ff6fbf5ac08eb3ef38fb38376d"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSActor.doInbound (cognitive 29): TLSActor.doInbound has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 3 (7 pts), boolean chains 4 (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":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658ff677fd8e1e968da98b5d2cc841d57eecfb847b9c7c1c56faa7e7ac61f82"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalReceptionist.behavior (cognitive 28): LocalReceptionist.behavior has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 5 (8 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/receptionist/LocalReceptionist.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ea35f010da9f6885d686d7a7ddcfa8c28e7c06cb9c8302a5ad59c5d152f54a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.initJoin (cognitive 28): ClusterCoreDaemon.initJoin has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 1 (2 pts) (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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"706a2f1f7e6182ee53058994f4bc704406a6e48f1e13dcb37503827b55436b15"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyTransport.associate (cognitive 28): NettyTransport.associate has cognitive complexity 28 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 7 (12 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/transport/netty/NettyTransport.scala"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7cc2112489a6da147ea3bbe257934fdced8439a8ce50952ae33f9ae62c9c10"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulMapConcat.createLogic (cognitive 28): StatefulMapConcat.createLogic has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (25 pts), match/switch 2 (3 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23bfae993cddb8e60594002fd0cb59c84e99bd8dfb43d9b54d919a7d6735b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Merge.createLogic (cognitive 28): Merge.createLogic has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 3 (5 pts), boolean chains 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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d661b9a473082b5834e8071e4c8b19c263c77c49434df7958300b4b7e4a5ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerControllerImpl.active (cognitive 27): ConsumerControllerImpl.active has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 2, boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5946d8986e11284ad8f1c8967b1732954074a80e108982c7a6b0afe331fb0dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerControllerImpl.waitingForConfirmation (cognitive 27): ConsumerControllerImpl.waitingForConfirmation has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, match/switch 2 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437cbb26c48864b5a5d70b0ba7227eea4533a8a8b5a9c4d1fd8d9032005bd41"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardRegion.deliverMessage (cognitive 27): ShardRegion.deliverMessage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9721215a9baf6fc74f2166f2365222aadd3ea0c7c5146183ea8c81af258def8"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualProcessor.onSubscribe (cognitive 27): VirtualProcessor.onSubscribe has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 3 (6 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaa6297ee791a156b7d128b96fe66c02692a6de326e8d12e64c73804e0bdade"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsingLogic.doParseInner (cognitive 27): ParsingLogic.doParseInner has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (23 pts), error handling 2 (4 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/io/ByteStringParser.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49a6203fdcd6e8ed83f1d7157f28a604aa329db3bd7f427c3ed16f7aeaadc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteStrings.lastIndexOf (cognitive 26): ByteStrings.lastIndexOf has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (ByteStrings.lastIndexOf) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"220da519589e706923bedb6c1a55a5efe4354733becf0274b994c957ed9cfbd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteStrings.lastIndexOf (cognitive 26): ByteStrings.lastIndexOf has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (ByteStrings.lastIndexOf) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2228441ba702f78a06d399d522420f2cf78bd73f7b306dcece5323d1ea4f71"}},{"ruleId":"D2","level":"warning","message":{"text":"Version.compareTo (cognitive 26): Version.compareTo has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/Version.scala"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b246fa999123ba84fbe2d8093e92ec9ce5c0b84fb8f8ebbca3be6bbff2388a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardRegion.receiveCoordinatorMessage (cognitive 26): ShardRegion.receiveCoordinatorMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c056c260e6e022fb16fd25905f8ac000f260dafb7446d0ccb344fd5e380fd"}},{"ruleId":"D2","level":"warning","message":{"text":"DeltaPropagationSelector.collectPropagations (cognitive 26): DeltaPropagationSelector.collectPropagations has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 3 (11 pts) (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/DeltaPropagationSelector.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5826c232446c32a58f718e4eb11fd707949d25c213a9723436bdefd863aac81"}},{"ruleId":"D2","level":"warning","message":{"text":"ORSet.mergeCommonKeys (cognitive 26): ORSet.mergeCommonKeys has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02b2469c34f4da9c10bf1959fb04d58fc8e6ae6ba3ea7f64b4f993f6f8166c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ORSet.mergeCommonKeys (cognitive 26): ORSet.mergeCommonKeys has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb713b9376940fd3680370f0bd9186c42869ac0085db2b7abc0635f445f8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualProcessor.onError (cognitive 26): VirtualProcessor.onError has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), match/switch 2 (3 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b651f74d3ab0fe78147b1fdbe863ef468765afccf0b611b3a4d25de98f23b7"}},{"ruleId":"D2","level":"warning","message":{"text":"TraversalBuilder.getValuePresentedSource (cognitive 26): TraversalBuilder.getValuePresentedSource has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 9 (12 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0318a81399f8af1f1ac61f69ec1502970084f468de5c1753143aecaf3d9e9f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphInterpreter.execute (cognitive 26): GraphInterpreter.execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (8 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"976c19840c13fb0d246e26c09d269c5fa7148e555751fb5172b51c29f934fc20"}},{"ruleId":"D2","level":"warning","message":{"text":"CallingThreadDispatcher.runQueue (cognitive 26): CallingThreadDispatcher.runQueue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/main/scala/org/apache/pekko/testkit/CallingThreadDispatcher.scala"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecb3ecb1432b8804437fc69f2a345585922639e938fe720fa678d58f253b035"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardRegion.register (cognitive 25): ShardRegion.register has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece837071c469c6be5f1b4b0a5d2cf654e63d87996ba325e4e231c7bff641e67"}},{"ruleId":"D2","level":"warning","message":{"text":"ORMap.dryMergeDelta (cognitive 25): ORMap.dryMergeDelta has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 6 (11 pts) (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMap.scala"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a744d936e06479210a8a438d4b194d78f8d768fc8a458cbb8c680f3d4fafed9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Encoder.createLogicAndMaterializedValue (cognitive 25): Encoder.createLogicAndMaterializedValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 6 (9 pts), boolean chains 1, error handling 1 (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":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c2ac1e4861678b23b895d87cd86f00ffa1f8ac4a6eb7932bb631f45a6c2ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSource.createLogicAndMaterializedValue (cognitive 25): FileSource.createLogicAndMaterializedValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, error handling 2 (3 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/IOSources.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6af994404c7ae0d572433ec2bbb730ca7d5c272bf030b42242fedb4bf614f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSourceStage.createLogicAndMaterializedValue (cognitive 25): ConnectionSourceStage.createLogicAndMaterializedValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c66328e843c197491d91bd963854b0be3d6fb05c9e080db7428d5438cb631"}},{"ruleId":"D2","level":"warning","message":{"text":"PassivationStrategy.describe (cognitive 24): PassivationStrategy.describe has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 4 (8 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ClusterShardingSettings.scala"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c47823394800a08c60c9939589d44c2a1a18ff842d5106a49098130a7e799"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityPassivationStrategy.apply (cognitive 24): EntityPassivationStrategy.apply has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EntityPassivationStrategy.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5cdd7c2808239d006e819d1af90a235154d01cedd5d9ad82e80ce532bebec3"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterReceptionist.receive (cognitive 24): ClusterReceptionist.receive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e37c816101cf896f4d5c9b862a75128872e77f852e7f0b6260be59502698e41"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.initRemovedNodePruning (cognitive 24): Replicator.initRemovedNodePruning has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 3 (12 pts), if/else 4 (7 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cae7e3427757f38cac39db8df50eff846517e47a27c4b7fa1378523750cce5c"}},{"ruleId":"D2","level":"warning","message":{"text":"MsgDecoder.decode0 (cognitive 24): MsgDecoder.decode0 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 3 (7 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/DataTypes.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a90b13cee69edd601f5a5009317e3ca14c2b20801a161495fb8ef11b7204721"}},{"ruleId":"D2","level":"warning","message":{"text":"EventSourcedProducerQueue.onCommand (cognitive 24): EventSourcedProducerQueue.onCommand has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 2 (5 pts) (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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/delivery/EventSourcedProducerQueue.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2733be0417fd13454781393adc80744ab18cf59799dbcf4221f4f17476633a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayingEvents.onJournalResponse (cognitive 24): ReplayingEvents.onJournalResponse has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 6 (12 pts), if/else 6 (8 pts), error handling 3 (4 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d282c49517123763059c93a19d70aac4721c80dd7b95380b1689b2841bcde50"}},{"ruleId":"D2","level":"warning","message":{"text":"TopHeavyHitters.fixHeap (cognitive 24): TopHeavyHitters.fixHeap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (24 pts) (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":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/TopHeavyHitters.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"69557c2c526c1bdcf92e87d86081992e186295dbad6e13702a397100f71d453e"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandTracking.wireIn (cognitive 24): IslandTracking.wireIn has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e020552a00bd6b5924962e91e5e59442bdba773ad629e09a757f8447b160806f"}},{"ruleId":"D2","level":"warning","message":{"text":"TraversalBuilder.getSingleSource (cognitive 24): TraversalBuilder.getSingleSource has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 8 (11 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c0956eb45c19ddb8b19021cf8a97e5324e52e2228e4d5116c1e39d92c92132"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastHub.createLogicAndMaterializedValue (cognitive 24): BroadcastHub.createLogicAndMaterializedValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 4 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b9c0311ae839a51ca6346a4833fa068b38dde9170057b8030178e22157d36"}},{"ruleId":"D2","level":"warning","message":{"text":"StashBufferImpl.interpretUnstashedMessages (cognitive 23): StashBufferImpl.interpretUnstashedMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/StashBufferImpl.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b39240a33f0280c60501683b06e691170c0f47e4fc3a96a3a00ea0bc176840a"}},{"ruleId":"D2","level":"warning","message":{"text":"Mailboxes.lookupConfigurator (cognitive 23): Mailboxes.lookupConfigurator has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 7 (11 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/Mailboxes.scala"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c656970f09c09726ec49e89b7bd08a0b9e8bdb181003b58af0acb9810e8bae6"}},{"ruleId":"D2","level":"warning","message":{"text":"LineNumbers.readMethod (cognitive 23): LineNumbers.readMethod has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (9 pts), 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/src/main/scala/org/apache/pekko/util/LineNumbers.scala"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b7b7600f0037301348f7b796a3b46b2fd9d10e06e70181237617fe77ff0fec"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsByPersistenceIdStage.createLogic (cognitive 23): EventsByPersistenceIdStage.createLogic has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/journal/leveldb/EventsByPersistenceIdStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f38c0145a8546eb6aff22ee4656c0545fe4852cb1526a69fe9dd2051e70cc8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Firehose.detectSlowConsumers (cognitive 23): Firehose.detectSlowConsumers has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 pts), 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":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ee3c7a44a9785e7a9eb012e87657fedbdc82cd6f29e32f818d2410a1ab847c"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointWriter.sendBufferedMessages (cognitive 23): EndpointWriter.sendBufferedMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d384dfa3df00b8e5fcf2bdf66b86ffaa906fcc01e0c2812027fd519857e228d"}},{"ruleId":"D2","level":"warning","message":{"text":"Slf4jLogger.receive (cognitive 23): Slf4jLogger.receive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 3 (5 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slf4j/src/main/scala/org/apache/pekko/event/slf4j/Slf4jLogger.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"873fcd6dbe9644eff710110e1d82a715ebe9e81bc6480668cdbb34f6cf94123a"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSActor.doOutbound (cognitive 23): TLSActor.doOutbound has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, error handling 1 (2 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa47a51b4914566d6f70a3130054b1a36f4fa21bad78a5bd55f6c3ef3b467652"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicImpl.onMessage (cognitive 22): TopicImpl.onMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/pubsub/TopicImpl.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c954de3ddc603e61d05922c1e31e4705e761d2a91630b3fbdfc7fed82d80ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorPath.findInvalidPathElementCharPosition (cognitive 22): ActorPath.findInvalidPathElementCharPosition has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), match/switch 1 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d9defa0edca8b4985e64a24abe819eccee04bb46fe576eae331d10424db4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicatorBehavior.apply (cognitive 22): ReplicatorBehavior.apply has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 11 (18 pts), if/else 4 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/ddata/typed/internal/ReplicatorBehavior.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dfa0ce2af06233545bc526173cbfd0ab6c524dc9243a04fb1c57fb68183d07"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.leaderActions (cognitive 22): ClusterCoreDaemon.leaderActions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f097f0bd4d9a147bfd7f0d1662ae4b48867c5d9e8e319a9c3a4d28c1e1b7630c"}},{"ruleId":"D2","level":"warning","message":{"text":"GossipTargetSelector.randomNodesForFullGossip (cognitive 22): GossipTargetSelector.randomNodesForFullGossip has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/MembershipState.scala"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece665e8dacfe9ddc1423abdaac7544beba860abfddb91a2371f3d1b0e8f5e40"}},{"ruleId":"D2","level":"warning","message":{"text":"StoringSnapshot.onSaveSnapshotResponse (cognitive 22): StoringSnapshot.onSaveSnapshotResponse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (5 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f1240b042dd556b6fd310381e855052d7f1b4f155c6e2a136dc19e06d1da29"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageDispatcher.dispatch (cognitive 22): DefaultMessageDispatcher.dispatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, match/switch 2 (3 pts) (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":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4507622954d8cd412ae551e429a89bf5844428215d0fc052fd65521f7638298"}},{"ruleId":"D2","level":"warning","message":{"text":"Association.quarantine (cognitive 22): Association.quarantine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 2 (3 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b641f5e6f7769b1296b9077f81951c671e09184d22c3f87ab5ea524ce8ff74d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueSink.createLogicAndMaterializedValue (cognitive 22): QueueSink.createLogicAndMaterializedValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 5, match/switch 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9046f753cbde740a9ac7e6474d7e97f4f71a1e67fbfa37db1ad2081454d3df70"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeSequence.createLogic (cognitive 22): MergeSequence.createLogic has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6 (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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829e25615abdcf8dd4a9fe2a55f8e4026ddd7379dbcd3f28d8e23b58e7ad62f"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastSinkLogic.onEvent (cognitive 22): BroadcastSinkLogic.onEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 2 (3 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1208975cbbe0109df3ef84ed94e532b006fe755986f7be4d7b588eaf6590af"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualPathContainer.! (cognitive 21): VirtualPathContainer.! has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (6 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRef.scala"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f40f9a21df72ae5d91ff8ba1a32503e7454c71963d86f8fbb97713d0650a5fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorSystemImpl.printTree (cognitive 21): ActorSystemImpl.printTree has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 4 (7 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorSystem.scala"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef6be3d0801ed985f7148baa6075455d42c89bb9973d7938432af83bdf1597e"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageDispatcher.printActors (cognitive 21): MessageDispatcher.printActors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (8 pts), loops 2 (5 pts) (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/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96a9283d3a8f0aa904157dd927e59cb907908eb0cfabbdc73682869edb750c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsistentHashingRoutingLogic.select (cognitive 21): ConsistentHashingRoutingLogic.select has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (5 pts), error handling 1 (2 pts) (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/src/main/scala/org/apache/pekko/routing/ConsistentHashing.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44e67f426fecbfa9a7a43b141d7d965b746395239ecdc644417dfa92b3d952c"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString.lastIndexOfSlice (cognitive 21): ByteString.lastIndexOfSlice has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 1 (2 pts) (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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00a39f910864e4ca002a42ef3dacc5b68a0292ab8c76aa9f6c5af9f46309b13"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterShardingHealthCheck.apply (cognitive 21): ClusterShardingHealthCheck.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ClusterShardingHealthCheck.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d59c863755cdf908b4b67e83824059f290589d4b4b3a2cf465c779d09370af"}},{"ruleId":"D2","level":"warning","message":{"text":"GossipTargetSelector.multiDcGossipTargets (cognitive 21): GossipTargetSelector.multiDcGossipTargets has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (7 pts) (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":"cluster/src/main/scala/org/apache/pekko/cluster/MembershipState.scala"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48f7aae046936612c6c9cdd9208a34babfb41ebd336012978abc629a44e6a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.receiveFlushChanges (cognitive 21): Replicator.receiveFlushChanges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (2 pts) (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fd3f05d078fb960d2eda4dcacd4759ec2e868f3b6bcebacdfcc843ab55f39f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSystemDaemon.! (cognitive 21): RemoteSystemDaemon.! has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 5 (10 pts), error handling 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":"remote/src/main/scala/org/apache/pekko/remote/RemoteDaemon.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b83feef9f729a4ca2ce2f7e53c0feb22e339c085b2f870713fd03903d814ff9"}},{"ruleId":"D2","level":"warning","message":{"text":"InboundQuarantineCheck.createLogic (cognitive 21): InboundQuarantineCheck.createLogic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/InboundQuarantineCheck.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"060be677d7f986d271637a0131b7fd30eef8f56fe561197a280d271f5cec127b"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemMessageAcker.createLogic (cognitive 21): SystemMessageAcker.createLogic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 3 (4 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/SystemMessageDelivery.scala"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"851009afe6624d86367f99215f5e3d916da7bcacf68d5b995afa66970445f4a2"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualProcessor.onComplete (cognitive 21): VirtualProcessor.onComplete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbfe4a2ef68d418272448ca27655843df6e958c20ca99e515fb4ad39dbc362e"}},{"ruleId":"D2","level":"warning","message":{"text":"Buffer.createLogic (cognitive 21): Buffer.createLogic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"150893d1ce7ddf6b23a03aa4aa81e6cc1ca83b42264b089a01e0bfff63279718"}},{"ruleId":"D2","level":"warning","message":{"text":"RecoverWith.createLogic (cognitive 21): RecoverWith.createLogic has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 6, boolean chains 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d62cd8119d39f3b9f65db55606632f4f62a6760d3c75139f3e0b77ca301c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"Interleave.createLogic (cognitive 21): Interleave.createLogic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (20 pts), 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/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"312124eef9816599c31358056dd8d9e914398e9242fba959f2feb20a8de4f3f9"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncDnsResolver.receive (cognitive 20): AsyncDnsResolver.receive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 4 (9 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/dns/internal/AsyncDnsResolver.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"45841375da3b1a3cd3e9e87ac7e49d00b77b9e706ebc52da6a2a1ce069533bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"HashCode.hashArray (cognitive 20): HashCode.hashArray has cognitive complexity 20 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/HashCode.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339e22638329ffbad859ec0d58739e5362ce7e7391d0baebc6b054d708642ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Reachability.change (cognitive 20): Reachability.change has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/Reachability.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92f901b07de251234179705cb5fa9c970cd9e6d6276982c0af017e5ff5bd00"}},{"ruleId":"D2","level":"warning","message":{"text":"TypedEventsByPersistenceIdStage.createLogic (cognitive 20): TypedEventsByPersistenceIdStage.createLogic has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (9 pts) (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":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/TypedEventsByPersistenceIdStage.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9dc33f3d1a9162f6cdfe8879de63ed12e84f7705d8e86e9059b6bc66f5b26f"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlingCommands.onPublishedEvent (cognitive 20): HandlingCommands.onPublishedEvent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), 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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a650a77b0b479c3febd3a5058bce32ef5443d22e25bb38c7fc40d42121f5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"LeveldbRecovery.replayMessages (cognitive 20): LeveldbRecovery.replayMessages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), 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":"persistence/src/main/scala/org/apache/pekko/persistence/journal/leveldb/LeveldbRecovery.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6248c09a7968464bf8cc6d13bedcb0cb0403fa271828fa152ced0cfde6ad038"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonSerializer.fromBinary (cognitive 20): JacksonSerializer.fromBinary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 5 (9 pts), boolean chains 1 (nesting depth added 5). 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":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8965b6e8050d231f3b8415558ac8ecf44c52550f276eb9509fd0ecdce0a1de"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonSerializer.fromBinary (cognitive 20): JacksonSerializer.fromBinary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 5 (9 pts), boolean chains 1 (nesting depth added 5). 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":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"65175d4bff5680fcc34ef31e66bfe5ac5ae52edebed276260eebf0e6e0897717"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualProcessor.subscribe (cognitive 20): VirtualProcessor.subscribe has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), 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/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63a30426be9af42092eb57f5631ec67be8bc9f5d82a46a5f69eab593155d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpStreamLogic.connected (cognitive 20): TcpStreamLogic.connected has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1174bf123e9ffaaf545c8b404cb2ab00e3f29f4b44ca498ba82122e1b24d9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"EmptyLocalActorRef.specialHandle (cognitive 19): EmptyLocalActorRef.specialHandle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRef.scala"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b9f4bb1c8d71d155d7ea55fbe1fb795d14ee23b020f249602f21a04564865e"}},{"ruleId":"D2","level":"warning","message":{"text":"State.callThrough (cognitive 19): State.callThrough has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (4 pts), error handling 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/src/main/scala/org/apache/pekko/pattern/CircuitBreaker.scala"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fc3695419b2196a9f846be3b2e59ac56c9e27fe45fdba2704ce2b97f4aecf"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString2.indexOf (cognitive 19): ByteString2.indexOf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 pts) (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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"983d950072db27d71659980f41b65b32fc654761a77045ad78cc3a6bd90c76bd"}},{"ruleId":"D2","level":"warning","message":{"text":"FrequencySketchUtil.debugString (cognitive 19): FrequencySketchUtil.debugString has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts) (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/src/main/scala/org/apache/pekko/util/FrequencySketch.scala"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dabb28b41f04212dd9df744953aec28e09caf313bcea356a416e20b51f66bed"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardRegion.receiveCommand (cognitive 19): ShardRegion.receiveCommand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"748266fbc5af6fdd7da4b411423697ebd061423e09becad1e832a29dc7ca9af3"}},{"ruleId":"D2","level":"warning","message":{"text":"EventSourcedRememberEntitiesShardStore.receiveCommand (cognitive 19): EventSourcedRememberEntitiesShardStore.receiveCommand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesShardStore.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b3dc6066906c9f8fd081a4c1abc447b7a2f173f851fa53bd7e9603c39fc1e2"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedMediaDriverSupport.startMediaDriver (cognitive 19): SharedMediaDriverSupport.startMediaDriver has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (5 pts), 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":"cluster/src/multi-jvm/scala/org/apache/pekko/cluster/SharedMediaDriverSupport.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1bd9192eccc47840166206a5dcc3bea862a27013f85c83debca646ac10414d"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsByTagStage.createLogic (cognitive 19): EventsByTagStage.createLogic has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/journal/leveldb/EventsByTagStage.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"319ee6508326ed9a61f6ad678906773ddacfaa8b30bdd87340a8af4bc74568f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Firehose.logUpdateConsumerTracking (cognitive 19): Firehose.logUpdateConsumerTracking has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), 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":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc04ec68f584ed18b6477906d260823c28877af8b96841f2be2508fe5dbf604"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedLeveldbStore.receive (cognitive 19): SharedLeveldbStore.receive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/leveldb/SharedLeveldbStore.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c3d2c2665ca29fa32bbb32c1705c754d9bedc310a19d89658ceb54e79ceab4"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointWriter.writeSend (cognitive 19): EndpointWriter.writeSend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 5, match/switch 2 (4 pts), 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":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d945a7c4ce3ad9290515cb082bbb9efd0b66d87b7faa67ed94c70c0ee0a76e4"}},{"ruleId":"D2","level":"warning","message":{"text":"IterableConcat.createLogic (cognitive 19): IterableConcat.createLogic has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 2 (3 pts), 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":"stream/src/main/scala/org/apache/pekko/stream/impl/IterableConcat.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f46bd23bd5e4b421bb21800d7872582300ae28d5318a94cba669f19b30eb9d"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastSinkLogic.postStop (cognitive 19): BroadcastSinkLogic.postStop has cognitive complexity 19 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 4 (6 pts), loops 2 (4 pts), match/switch 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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76ef923f86da2fe86879a1817250292de5297de547370de21e25751a8fc33b5"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatedShutdownTerminationWatcher.receive (cognitive 18): CoordinatedShutdownTerminationWatcher.receive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (5 pts), match/switch 2 (4 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/CoordinatedShutdown.scala"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcfe4f06ca63634cdeefea35a83b8beb96499be53d7a2489f53090cf38a49be"}},{"ruleId":"D2","level":"warning","message":{"text":"Children.makeChild (cognitive 18): Children.makeChild has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (6 pts), loops 1 (3 pts), boolean chains 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/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb3a7c49a8fb644482aee99e1ed92d643868daf90a09adccc0ad3317ae37ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString2.indexOf (cognitive 18): ByteString2.indexOf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (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. This shape REPEATS in the file: one other method here (ByteString2.indexOf) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab3a2803f1857006e99c769f77e98b75c5b4ab367336db8e190a2cd68253b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString2.indexOf (cognitive 18): ByteString2.indexOf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (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. This shape REPEATS in the file: one other method here (ByteString2.indexOf) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e6be76ae371cc23e435fde7f3dd639d3d0cf0e4bb32e0264ae6f5fb289615"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardRegion.receiveTerminated (cognitive 18): ShardRegion.receiveTerminated has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), 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":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"09164a7f9b4c19f7cab17e4badf4de1f5c59af3ff45e336adffab3bec04ee86a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterCoreDaemon.reapUnreachableMembers (cognitive 18): ClusterCoreDaemon.reapUnreachableMembers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1817a58455557b1037cd86906a89e6e8d186a8f50904b26dde7a2a36052a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"LmdbDurableStore.init (cognitive 18): LmdbDurableStore.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/DurableStore.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b75d9ee53795ef59785b1520cd67a45172a1a642bbc35b3ea81bc710ed4d2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReliableDeliverySupervisor.gated (cognitive 18): ReliableDeliverySupervisor.gated has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72345863b73079757f819b5aded2e52316db9e0c6fcac87b55f80449cbcaca"}},{"ruleId":"D2","level":"warning","message":{"text":"LruBoundedCache.getOrCompute (cognitive 18): LruBoundedCache.getOrCompute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), 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":"remote/src/main/scala/org/apache/pekko/remote/artery/LruBoundedCache.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa39f871d68cf5af01d7f3c080ff2c11229e27902f3a93c0fd01a1ef4718ced"}},{"ruleId":"D2","level":"warning","message":{"text":"EagerFutureSink.createLogicAndMaterializedValue (cognitive 18): EagerFutureSink.createLogicAndMaterializedValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3, error handling 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd400cb7716d885d264762330157d2a2c198ebb97f781cb1fb61bee388264e"}},{"ruleId":"D2","level":"warning","message":{"text":"Switch.createLogic (cognitive 18): Switch.createLogic has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 3, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Switch.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f029703031674b61976e1bdc5064d2840f2511bda7f49772be62b3169300bd7e"}},{"ruleId":"D2","level":"warning","message":{"text":"LengthFieldFramingStage.createLogic (cognitive 18): LengthFieldFramingStage.createLogic has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, match/switch 1 (2 pts) (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":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Framing.scala"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f070200d88e51c795eaec9046c17db9c54c16fae302082d49e22f5a6aa368c53"}},{"ruleId":"D2","level":"warning","message":{"text":"PartitionHub.createLogicAndMaterializedValue (cognitive 18): PartitionHub.createLogicAndMaterializedValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 4 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d137e54e9c1fdc28eb7343cbfde39a85827a7855b47c91a7e54fc39222a12182"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressFromURIString.unapply (cognitive 17): AddressFromURIString.unapply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/Address.scala"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7592a74779fdcc9a20b189e897d40f7223d0b2afb1a8a44e35a6828717b86f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Mailbox.processAllSystemMessages (cognitive 17): Mailbox.processAllSystemMessages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7072e083b469fc9c17a0d702feefffd4e386344ec01f4dd24831cb002d33b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"WithUdpSend.sendHandlers (cognitive 17): WithUdpSend.sendHandlers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 1 (4 pts), match/switch 2 (4 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/WithUdpSend.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"219b04b915050f256a60db6dc416ae955e7b20b3484697f4c525a64a8e96ccc2"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultOptimalSizeExploringResizer.updatedStats (cognitive 17): DefaultOptimalSizeExploringResizer.updatedStats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/routing/OptimalSizeExploringResizer.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758a58a404f4013a031a201230b3a79270be9fad18f8aad57de51b79771f491"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterDeployer.parseConfig (cognitive 17): ClusterDeployer.parseConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 pts), 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":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterActorRefProvider.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afdfac9ecb51d74ad92edf06ee9aaabfb82e9b78534fcbd39b549a4e1281b04"}},{"ruleId":"D2","level":"warning","message":{"text":"Reachability.merge (cognitive 17): Reachability.merge has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 5 (8 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/Reachability.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfc7de87166132a6bb1655a278a7ceb2c348841fb5b2717df19bca99a633503"}},{"ruleId":"D2","level":"warning","message":{"text":"Eventsourced.recoveryStarted (cognitive 17): Eventsourced.recoveryStarted has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 4 (6 pts), match/switch 3, boolean chains 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":"persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0bd8b142b6ec6296342b2845f3c760ac38c4aa87ccd99e1a24313148eea588"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteInstruments.deserializeRaw (cognitive 17): RemoteInstruments.deserializeRaw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (5 pts), loops 1 (2 pts), 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":"remote/src/main/scala/org/apache/pekko/remote/artery/RemoteInstrument.scala"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f05f7a8d0c9a6dedf1db12b2531d7575c5ede23877b196754699e5ea19075"}},{"ruleId":"D2","level":"warning","message":{"text":"InboundCompression.runNextTableAdvertisement (cognitive 17): InboundCompression.runNextTableAdvertisement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (6 pts), 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":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcc6e63755a6d5fea68dccdb9f7a8f7ba931df506554da6ad01297dfbd447be"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorRefBackpressureSinkStage.createLogic (cognitive 17): ActorRefBackpressureSinkStage.createLogic has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/ActorRefBackpressureSinkStage.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d08f262b2f62b1dd5d345608f6c5e8bbc1c81f16267887a8ca97b13e4adb7d3"}},{"ruleId":"D2","level":"warning","message":{"text":"LazySink.createLogicAndMaterializedValue (cognitive 17): LazySink.createLogicAndMaterializedValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b8453650c180abc4100c99cdd6c6a0c9c109dafcb40bad73a17d743cb0fa4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Flow.viaMat (cognitive 17): Flow.viaMat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (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/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08e76024a2eb3d5fee24c4cd13b1a61c82a201aa71578152d88e7c5941a5881"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyDispatch.drain (cognitive 17): LazyDispatch.drain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"942771cb4781a2dccdfd6f8114db170f51ac7cd00c25e319136cc80c1671678e"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteArrayIterator.\u002B\u002B (cognitive 16): ByteArrayIterator.\u002B\u002B has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"324f272d6ac3ec79ceef382564ae3534853f0862043bcc5f243068089528a69d"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProps.checkCreatorClosingOver (cognitive 16): AbstractProps.checkCreatorClosingOver has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/AbstractProps.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"418fd2e2fdbd13a529647f0b0ba1de424d5d0c50f07032c779a33d47b4260a20"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDefinition.apply (cognitive 16): TaskDefinition.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), match/switch 5 (6 pts), error handling 2 (4 pts) (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/CoordinatedShutdown.scala"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a409a814c62cbb49e13c09bf3c92997fc4e91bc6c7706d3651be20cae83282eb"}},{"ruleId":"D2","level":"warning","message":{"text":"FaultHandling.faultRecreate (cognitive 16): FaultHandling.faultRecreate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (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/src/main/scala/org/apache/pekko/actor/dungeon/FaultHandling.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb48f2c85edf7b49b3793062b823bded3c429f7608921aec2b369bb8d45d52d"}},{"ruleId":"D2","level":"warning","message":{"text":"CachingConfig.getPathEntry (cognitive 16): CachingConfig.getPathEntry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 4 (8 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/CachingConfig.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c780bb5b4eb7ccf5f5e508cb3cb5bdfe7e5fd392b987f0cc6bf78a560a228e"}},{"ruleId":"D2","level":"warning","message":{"text":"DomainName.parse (cognitive 16): DomainName.parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), 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":"actor/src/main/scala/org/apache/pekko/io/dns/internal/DomainName.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c240b5763a31cdb88346bf70ff833d67ac691cf51b9ee007ce3f245945167de1"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteString.indexOfSlice (cognitive 16): ByteString.indexOfSlice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eca6c60a6aa7ea616ec9f85442ca13a34b39ffbddcd7d087916a3f0524d3ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"LineNumbers.readAttributes (cognitive 16): LineNumbers.readAttributes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts) (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/src/main/scala/org/apache/pekko/util/LineNumbers.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a378e14beb6c34c72c8a239f82f04b5ed6033129afd1c331561f080030e915e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Reflect.findMarker (cognitive 16): Reflect.findMarker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (4 pts), 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/src/main/scala/org/apache/pekko/util/Reflect.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d154a7f360fd3223480fc7ae03e9fc53c9f5ac29920f885cafe2265579c10"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentShardCoordinator.receiveRecover (cognitive 16): PersistentShardCoordinator.receiveRecover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"408c343109ec45390d7092ec698e7e76c57f0b8ffb11d762ccc4c574839282be"}},{"ruleId":"D2","level":"warning","message":{"text":"PayloadSizeAggregator.updatePayloadSize (cognitive 16): PayloadSizeAggregator.updatePayloadSize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts) (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/PayloadSizeAggregator.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"137fe1c79d281ebaf82c4edd3d64307700bc461676ea501599d4d41d7ac000ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.receiveDelete (cognitive 16): Replicator.receiveDelete has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05f13464109a2819820e7b48e5bc975aa3b3b2b4a9b87942e7902b58edc3c43"}},{"ruleId":"D2","level":"warning","message":{"text":"Replicator.receiveGossip (cognitive 16): Replicator.receiveGossip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7424364ec04b7c5357738e11dec5edbedf68125ef643fd7ef01c1609ae3eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ManyVersionVector.merge (cognitive 16): ManyVersionVector.merge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (3 pts), match/switch 1 (2 pts) (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":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/VersionVector.scala"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fd38bf87f8cfdb7157471275139635d166c52751e9b3f779356db96645ea4a"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsByPersistenceIdStage.createLogic (cognitive 16): EventsByPersistenceIdStage.createLogic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (6 pts) (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":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/EventsByPersistenceIdStage.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9303766ea4ae77e27e9b351046fee91c0c1b72b7bf431a7550d621ca352be25"}},{"ruleId":"D2","level":"warning","message":{"text":"Running.startReplicationStream (cognitive 16): Running.startReplicationStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts) (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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad311910652dbe53f82a264b111b81962aa7683d7a7249ee9245b766e54dcdc"}},{"ruleId":"D2","level":"warning","message":{"text":"ManyVersionVector.merge (cognitive 16): ManyVersionVector.merge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (3 pts), match/switch 1 (2 pts) (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":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/VersionVector.scala"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1725cacdc27da230f07b22a2b796a3fa0b688e8325ca017723da432ebb289b52"}},{"ruleId":"D2","level":"warning","message":{"text":"ArteryAeronUdpTransport.startAeron (cognitive 16): ArteryAeronUdpTransport.startAeron has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), 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":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a2734d677f7efa253bdb43127091cc68fc8a56b706ea4e58e6ede7590f8c44"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappedSubscription.request (cognitive 16): WrappedSubscription.request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (2 pts) (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/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6709b88391fc21d93ec7665a4014965744a6486443ccf1dd0611f752d30f6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureFlow.createLogicAndMaterializedValue (cognitive 16): FutureFlow.createLogicAndMaterializedValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/FutureFlow.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f53e327908980db2cbcd9fd64bfff05f7b17094432433505aa2ec4eb4d3940"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphInterpreter.processEvent (cognitive 16): GraphInterpreter.processEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (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/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"a653c819bc355480d1929954e5d4e3f84e25fe47c4a383700990c45912ee0cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"IteratorSource.createLogic (cognitive 16): IteratorSource.createLogic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/IteratorSource.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f157352cb2f6decee3720b2f65c0792b50a7d91008bcc20e4f0ebbff471296"}},{"ruleId":"D2","level":"warning","message":{"text":"MapConcat.createLogic (cognitive 16): MapConcat.createLogic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (3 pts), 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":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/MapConcat.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5298688b8d792deac40be85ec427d919d4e61a254bd0d869ff8c0d21f7bbfbf4"}},{"ruleId":"D2","level":"warning","message":{"text":"InputStreamAdapter.read (cognitive 16): InputStreamAdapter.read has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (7 pts), if/else 4 (5 pts), error handling 1 (4 pts) (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/src/main/scala/org/apache/pekko/stream/impl/io/InputStreamSinkStage.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"360b3e0070e654d5ce71861bfaefeca466be772e181131ed017c937b0ad28864"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeHub.createLogicAndMaterializedValue (cognitive 16): MergeHub.createLogicAndMaterializedValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"33280dfa8751e2d517ca2faa16aba59075337379a1412571efd22aaaebd55e70"}},{"ruleId":"D2","level":"warning","message":{"text":"RestartWithBackoffLogic.logIt (cognitive 16): RestartWithBackoffLogic.logIt has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 5 (7 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/RestartFlow.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3089217d5a982d6f59d9bd0fe5148154893fc1c554e5981adc56aa39f2c6e1e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TlsGraphStage.initialAttributes: MethodTooLong \u2014 initialAttributes runs 758 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 658 over it, 7.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52582dc33497ca1efd13a43ba5827a8a0b3b1769d19b4e5ed23ce28ba230741"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TlsGraphStage.createLogic: MethodTooLong \u2014 createLogic runs 757 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 657 over it, 7.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e4d568f81471054cc137fdfef88aab46eef23735ff0c55cef0ff1dd372b222"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Source: TooManyMethods \u2014 188 methods. The bar is 30 methods; this is 158 over it, 6.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f71829dea395508d1f6109fb0350d76703c1995810bb219b02966b74dd3fca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Flow: TooManyMethods \u2014 183 methods. The bar is 30 methods; this is 153 over it, 6.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"28559f183b9e33489f7532526e6520c20166c4298483f4379eeadc829e5d5dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlowOps: TooManyMethods \u2014 145 methods. The bar is 30 methods; this is 115 over it, 4.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623e22c7db593f66c4f7fb179aae489a525ce87577e43062b86c3cfa2116592"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubFlow: TooManyMethods \u2014 137 methods. The bar is 30 methods; this is 107 over it, 4.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7a13ad478f93929beddf1cc1360416156747009df3f16411f4639cd5e1ef59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubSource: TooManyMethods \u2014 137 methods. The bar is 30 methods; this is 107 over it, 4.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3896b8e5822935a2153af49c612736b592ca1c1ecc51cf909d4d675811606d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/ByteString.scala: FileTooLong \u2014 1972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1472 over it, 3.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420d422ade5da6f83c79a0424c5afd08f37c8d937fc1b7dba59360a29de275ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ddata/Replicator.scala: FileTooLong \u2014 1732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1232 over it, 3.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccaaa545e7c530a5e839d895da0be64ebe4b1ee50f9ae186ed602ddd8bd2077"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fusing/Ops.scala: FileTooLong \u2014 1658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1158 over it, 3.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6d9f79dd5dd7c8c4ca350f7e2f043fce94cad9d0e6509a73a9606d4ef9c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphStageLogic: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c05e10fa31f90558bc5bce27d64d293335b4b3c40265119dc738f8aa1df98b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sharding/ShardCoordinator.scala: FileTooLong \u2014 1227 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 727 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"771797ffb7f94b96b194563ed641c4afe0447695a50d95eb937a8513163278f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cluster/ClusterDaemon.scala: FileTooLong \u2014 1160 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 660 over it, 2.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"318dcdc74494ba4bc5bf75fa2289a10358a431fd8be41b348df211955bb57b4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClusterReceptionist.behavior: MethodTooLong \u2014 behavior runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/receptionist/ClusterReceptionist.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b974fe6a09839d76d383e5d9f3e600fed2cf2b2a3f85302fbb7fa6c7ed246b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Replicator: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9760a22ada64e4fd0c5f60305b314793822ef75e3c88b5a0a671ab5820ce66"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MiscMessageSerializer: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/MiscMessageSerializer.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7ef0f36c69500f4e469c06e4bbc172e730043e979be08be5cec5d5584fb661"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventWriter.apply: MethodTooLong \u2014 apply runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventWriter.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"698cb402e83c8ce64d41502ed8de1b2ec62365d1426350d52abeea88ad7517f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scaladsl/Graph.scala: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 521 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df90c8259c6078e158e7c3f6f0a8297c41a79fcad6084b95757adb756f2ba251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/Endpoint.scala: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 511 over it, 2.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39e84b944be88dec0914726adf8bc167fcf27376e1a74fb1d7733c148fc9e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stage/GraphStage.scala: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: GraphStageLogic (550-1881). The bar is 500 significant lines; this is 442 over it, 1.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34243194225f8104cde3746cb55d265ccf01a8ffcf89d59468fe30de94508c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReplicatedDataSerializer: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2221aef8a884012aea00a6f100a185aedfba91700acd374441167a2fcef1fe80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterCoreDaemon: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterDaemon.scala"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"109a92658eacf2e63a711dc4fd085fb58badd234a81edc34f3cdd14a6bdf32c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event/Logging.scala: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 403 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/event/Logging.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bd4ba3e0330816256b903284d2a4abd23b589fbc0fd2454f0eccf55e18042d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CachingConfig: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/CachingConfig.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7897b9cfb2b763b9f6aaf9e3fa0c274b0075a3d2b23900e4a66cc5d506776b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scaladsl/Flow.scala: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69569a895d5264f0dd51b41946c1faba473bba77050cc0945f2d6926dd8f1be4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javadsl/Source.scala: FileTooLong \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 369 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9904bf49e0321833d8620cfff2e805d6fc634cee618fdfa92cf70d64b37355"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterShardingMessageSerializer: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/protobuf/ClusterShardingMessageSerializer.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef8531913a7d659d4c6ad30aefb389765d1918d37ddfaa629ec58e3da7f9d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: artery/Association.scala: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: transport (142-1147). The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e123ee23ff5c65b14a5779d1cda78d04d66e12326efbd86abc56574d46fd83"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CircuitBreaker: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/CircuitBreaker.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c622c1bca53cb8fdfa36e4149ca9bfef79ed4f5a9430ef51e89b9e69a24699"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterMessageSerializer: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef677e93fb8390b82a5149c1a4618e9e349292f018e648ab3ea9fb712cc4e188"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SourceWithContext: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SourceWithContext.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ebebf961bb0cb9ec6a59cefbf34ab54d129693d3a0405cba29caf065649c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: io/TlsGraphStage.scala: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c3d6788fa3ce0112cba24fadaabb8d0ec54529addbf6df52d9232c499b8d43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sharding/Shard.scala: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/Shard.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb3679ed52127e3a8045f712cf3eda8959af6e2a383107e366c79cd89250ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protobuf/ReplicatedDataSerializer.scala: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: ReplicatedDataSerializer (269-990). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ae168fc1ccf37b229cf79c57ed61cccdcae920967ce5855906d4ed5c191df7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Source: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Source.scala"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95a04565c1fed17cc9317d0fef31bcee053120e513e2ad5f6a03b617c693927"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/Running.scala: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8020a32de126459d70580d3dbafbbdceeb6c4e031fb6cd9d63d9d3689fbfecec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sharding/ShardRegion.scala: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b48c17e4b0b6e0637a1f79b1db657a7905d595f22d50a62b3befea59aa905d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Source: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f6816ffef99d3ec97865773acb9121c8c4653f2218fa6899f2397eb9e406e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/Remoting.scala: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 273 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Remoting.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb36854987c62903e5bbdbbcd1c91f208fea9caa6f065e15f506626d2f2731"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: singleton/ClusterSingletonManager.scala: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: ClusterSingletonManager (498-1248). The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b693631cb22a3e3b76f5298c14841e83e5dd88038cc5a8f9dee645207fa4e21c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlowWithContext: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/FlowWithContext.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6e725f8d716dddd4f255979885ec08d2884b2771797825dd896026731a9db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javadsl/Flow.scala: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f7f4343fef1b71162c04f452e03a5bcb144b1e431eae167aa3f05e4337bc7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scaladsl/Hub.scala: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 254 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336e83cf3acea8d995eb77131ed79ec9b90061e34bd77408dd5d1a5bbd972d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Association: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7865363bf098d8d66d6e1ffedb941d3a6d5dcb509925a515fe6bd2718830ac6d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphInterpreter: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb773e113c6032eace38a9b0c92ab1edcfe67e60386bd0ef35f8afda81964f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: artery/ArteryTransport.scala: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 221 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76351f5212e11c9d0fe6ee558b6fabc42f9f0ac540faa84c4d9bbce82f15ed88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fusing/ActorGraphInterpreter.scala: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/ActorGraphInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc0bf04f9bc00f5607fb911660cef45d07daa5b0e22f4817f06190097b1ac8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoggingAdapter: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/event/Logging.scala"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd61ffacf5f6eebddd717ac7c00855075d3f1976e41a1306d1c912d2b81ce37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteString: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae89e03b5d8562b9dcb9af28cb6d8f2d0cc043c6dc5fcca8563a6317cc31ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Sink: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Sink.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5746835f03535fddfaccf4dd459ab5b8c935f238f3d368e13b942527fc85d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sharding/ClusterShardingSettings.scala: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ClusterShardingSettings.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64eb394c1b30159131cecc6f187d51dc8fef5821136f836d7f1439e2c504ef4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/PhasedFusingActorMaterializer.scala: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cd10cbb4683d0e75092f588fa144920c8fbea0016ccf0bcbaf005332d33568"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/TraversalBuilder.scala: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"007b877ffae578e7eb7ffb29f51ffcc1e6bc7e8b2107528d883696378aad893d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DowningStrategy: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/sbr/DowningStrategy.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"813147a95566c9fa1de0499612becdc72821aa5be0a78ab28073e1129c504b4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fusing/StreamOfStreams.scala: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 137 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996a7551197abfdbe1aef04545bc5a1aa7a3e499a8c6f61b92c471064339944d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: typed/ClusterShardingSettings.scala: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/ClusterShardingSettings.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17194126654a6ed095fdb3e82cd7b8e3c975b1b92687332854edb0f69b137ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SplitBrainResolverBase: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/sbr/SplitBrainResolver.scala"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fe4482d898f202f394426ba261286febeb338378a0901a4e0dda0934cff06b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Sink: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Sink.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"94505838dcfce568366e07a50f340a23ea76ef8e232d842fe1b1e51c3da39d41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/ProducerControllerImpl.scala: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d34079adbe7cd51fba96154bc20e66386de4a62e0580877e631dbe2bf575c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PersistentFSMBase: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd40fbcf3ddc517f9132faddc63b2eb9e725178ff38aab651985de3bdcf964db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiscMessageSerializer: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/MiscMessageSerializer.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b83f78be5a3cfe498e8d92cf80689122d33e9b7cc890b286e1a635498d3e152"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actor/ActorSystem.scala: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorSystem.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e808b2a9f1f0de12c6a5a21ef1a5fc802eae974042aa17acedae6426ef7ec068"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/ClusterClient.scala: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842f694273af55b5ff7cbfb65afe9c8de3e21f9064d372633dabeb1b98a6d3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Children: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b94a7bcbd575e485ab1ce75d27941a16a8362d313ad8466bfb124f992d290d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteStringBuilder: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce8549e17edf37cbfe72d6bf72e52378c38cd6791730675bbbb936eab021082"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shard: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/Shard.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ca7d0dbf3f2503390de312946d3845039552f74c4047bbe8afa20033a0c80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Eventsourced: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c442789f655e551107f032b39d702597dd7fa636a0a7395335fb956f99fd7db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArteryTransport: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d7b1b9ee13f0224170751d51acc5d7eb8f39acad52998cd88795239a461008"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlowWithContextOps: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/FlowWithContextOps.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bf028bbdbc38a7c8f6ac914947b35f916293a6fd568f8a27c26a1db042e5bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/EventsBySliceFirehose.scala: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a047938d801a48e8a765db983c2e4d451279079c234629d7d1b467a4c1a24d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractFSM: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/AbstractFSM.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a62e4cddf138d81bcca84aac22c6a17a63db51755bb13bf14a6385af91ff9f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FSM: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e668d0a53d9e3447d8ef043e5e44be65d2d660c04a6c849d7d802ac5c84cdd8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Patterns: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/Patterns.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f079d94eeb0c0e771c3cc875ab3183cfd1e5485253b6054f82d5f94d793e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReplicatorMessageSerializer: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatorMessageSerializer.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c44fc944f3ee2b9d14e34f0b834569228cc68c96c76dedcffe8f43257f99bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: persistence/Eventsourced.scala: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df3c5193d7464dbc978b0e14c36b41e66452144b2c329d068fe37712bb026c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPersistentFSMBase: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"657551f29360426cb9829be9dff6849c7c9a86692b96f00d8c59f450f9931644"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InputBunch: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/FanIn.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91a286580d0cf5164551b82d1d4676a3935776b2770abc01684c7019269dce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: artery/Codecs.scala: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5c8cd45c4f1e2d309b5e1b5a7fe5a528544a42357c46c8e0bf1c1a81f11554"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TuningParameters: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/ClusterShardingSettings.scala"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"918c0d85972da16e41d30d5499a6a87b5e55c714087bfc832eba1023333f806b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShardRegion: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60eb72227b0b5665100d9c193d42992ed655c94d97fae34065299e5c10138ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transport/PekkoProtocolTransport.scala: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/transport/PekkoProtocolTransport.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55d98d6a6faee62663bb56304490de6f99d1987d9636e57bcbce9cc35a2858"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkerLoggingAdapter: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/event/Logging.scala"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b63176ad546e7ed93344e32d85c12ccf07a21e9015bf4ad122614a57c6223ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FrequencyList: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/FrequencyList.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de4e17e9657eaad7637a5f3d9582a32c20276f2d1b08310f283cd2c43a6359"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/RemoteActorRefProvider.scala: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: systemName (163-701). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d91b24a9e64289ab39ed8aad660602ecf8701371af1d395d125b55b4af4a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Split.initialAttributes: MethodTooLong \u2014 initialAttributes runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d635b20743b23839a12826b2561f77ae88905655bff5be0bee100796063416b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pubsub/DistributedPubSubMediator.scala: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/DistributedPubSubMediator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"663819d09b5af520ceb07b48b841b090b830f72e6e7809ea35cbd1a47667b623"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dispatch/Mailbox.scala: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d8e95b8dc89a20036f8cc84367a51ee9b18399fdd7a0e519203dac18e34594"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Split.createLogic: MethodTooLong \u2014 createLogic runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500bd481de70cf4a5bffc2165065108ff168982d5f2fe42041ffa8d41f70a67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteIterator: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bafc6afbb81376647f183e32dec2331cec5f96e0eeb3e7402d34ab3fc091900"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteIterator: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0cd0d295a9be6c4f94ce09e9701690946b99dfab0ae542dd3bb29b43784ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActorCell: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc37baeb28354c71fa23b9f686b73d6ff7a7efcd89146ab70b6dacfd23b0b413"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteActorRefProvider: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"802bdd5f89659590f453caa1a13a86405258700549345fcf4a423718978f51a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serialization/MiscMessageSerializer.scala: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MiscMessageSerializer (43-673). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/MiscMessageSerializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec1573bb3ac4a3eb019a8e047b8878c6077ff7c8131c1145aeff14ed523bc52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/ConsumerControllerImpl.scala: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: ConsumerControllerImpl (270-743). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ConsumerControllerImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"decdd411140aacb8208d14872874871f96c6838c937882501f7fbfe8ba647884"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/WorkPullingProducerControllerImpl.scala: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: WorkPullingProducerControllerImpl (277-704). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a13a5f222076f2b894ee6c65a6ce3736c6ab007edde6e909a7bb989b5ee43a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fusing/GraphInterpreter.scala: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba40e07b7e28026eb7ab7c7868fba7b07aedd0022d391052f3602e18e65d72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (26 shared lines): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:880-992 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1493-1574 \u2014 These two members are variants of one another: 26 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a73785893d8ffe851d8ae20f6c3fc08d840dbde157e8d9e4e40cba6ace88634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:370-385 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:784-799 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d2032c953a691180fb317b59816322df55958232449950af47f119da300cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:359-368 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:804-813 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7406562f0d3bff59f3c6d8162487a270db22a66055f102f438043e0398151"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:150-163 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:160-173 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/EventHandler.scala:151-164 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:153-166 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:161-174 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c15acbdf8ab71ccce034a38d714dd1037a82823ad5d70d08fae595a4ad63dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:263-286 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:288-312 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:688-711 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:713-738 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"df522f8566f06ac97abf6d0c4ef6c650858c6c7c85890e7998045b8629544663"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:387-399 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:401-413 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:815-827 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:829-841 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11154677eb711f43bb636125191a2f18c796709440ffb3e9c8300d5c504f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:207-215 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:219-227 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:208-216 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:218-226 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ec6efd02cc4547c539eb76587d4cd56f83f69466d3a04b38b4e875d47313f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:4611-4619 | stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala:5095-5103 | stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala:3187-3195 | stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala:3154-3162 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":4611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c21f1b8deb4344b8477792b75d87273391b2f7911928399894005c4b3a8aaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:333-413 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:334-414 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad08223d941f3c035e85c85175a77b82ed0ce0b13dfce02533ba31c5d271ea3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1672-1722 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1793-1843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1672\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88bb18c77a978393314f294bf9ea71d80b8e228ce0b8ac636a06f20709790d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): bench-jmh/src/main/scala/org/apache/pekko/actor/AffinityPoolComparativeBenchmark.scala:52-99 | bench-jmh/src/main/scala/org/apache/pekko/actor/AffinityPoolRequestResponseBenchmark.scala:56-103 \u2014 before extracting anything, compare \u0060bench-jmh/src/main/scala/org/apache/pekko/actor/AffinityPoolComparativeBenchmark.scala\u0060 and \u0060bench-jmh/src/main/scala/org/apache/pekko/actor/AffinityPoolRequestResponseBenchmark.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/actor/AffinityPoolComparativeBenchmark.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"680ced9c5aa1e667f525318bc82d6d16405696412e39baa2ca52b2dfa11ea8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:304-347 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:139-182 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:304\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5369486f35a28cda1db12bf3dcaabb2632792abe0cdafa938ea4144c7e9a3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): cluster/src/main/scala/org/apache/pekko/cluster/VectorClock.scala:132-169 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/VersionVector.scala:201-238 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/VersionVector.scala:156-193 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cluster/src/main/scala/org/apache/pekko/cluster/VectorClock.scala:132\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060nt1\u0060 to \u0060(Node, Long)\u0060 in one and \u0060(UniqueAddress, Long)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/VectorClock.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad60bde5929a479c79eb7cd9ad04b04e19290abb7ba59139a7e3adcd31e52af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:224-261 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:191-228 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:224\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"589f137e50cf7a43a899eeb0928302c9a3f4d4144b71311ef2e87e85abc715c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:345-375 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:424-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdc916504192604f5a46d0477ada61a079b7fcf61d81a9a7643f40c4a7444ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1931-1957 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1960-1986 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d29ef28eba0124c3a3dd9f7713a750b22c160a2bbdf6289c89b5bfc274eb3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:163-189 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:130-156 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:163\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fcb939fbf374c431e00af01fc47a6912bce498f428f6974665bbf007279c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala:396-421 | remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ArteryTcpTransport.scala:434-459 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea888e0d0ff0f3b1020c01dbc7cf0f1da8293a945da45b81a7ba2aac459af38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:485-509 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:466-490 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"81711b059c7aec63b0bde28a73f67d03f9a77c97e22039cea6baf814c520dcb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/EventsByPersistenceIdStage.scala:38-62 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/TypedEventsByPersistenceIdStage.scala:46-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/EventsByPersistenceIdStage.scala:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/internal/EventsByPersistenceIdStage.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c4372f69bad7c70b85241092e38971896f8db09356849b02ad66bbe0c96107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:766-790 | remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:832-856 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:766\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f53c4c8f16dd6108cd006036549bb82182b0a7fbdc57b08fcc275a734e98621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:211-234 | cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala:216-239 \u2014 before extracting anything, compare \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala\u0060 and \u0060cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d628bebf40c0a8bdad9b240657a45b4b1acc3b4e0079c5aebcc9c8a0735bf04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1853-1876 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1879-1902 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2bcf76381c16af265fe644d4e7e6de34ad7df146dffad251b8fc2878648e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala:115-137 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1377-1399 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1529-1551 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c58d1ff14b9e94d5f0855829d383775adf05095562fa2312ebe5546d3e93124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:987-1009 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:690-712 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"185ae4d43a2f224193ecb9a3540d6d386954d8c26f99d643b1b0394389cec6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:566-588 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:567-589 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"da466aad7aac9c248702ad835d6c719c656c0e0801834747e4614b1aae7f2e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala:500-521 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcingSerializer.scala:260-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala:500\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c6b95bcb85212eb06a07e52dc1405b4e2e512fd009cd18b80c7caf8ff8a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:224-245 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:253-274 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c80c45da2a6c5a37f6deb44dcf2848a5958a238fb26bbf7a8e2c38833b246c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:202-221 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:169-188 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"895ba68bd681f383d7026d06a1b3d4586ff2d7a161e28582049463e7c5b5c651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala:994-1013 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcingSerializer.scala:48-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61e4036dab74f9d16dfc309856263298bbe48ab5ff95fe597c5dbc460f82380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/RequestingRecoveryPermit.scala:60-79 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/RequestingRecoveryPermit.scala:59-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/RequestingRecoveryPermit.scala:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/RequestingRecoveryPermit.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d75b6e29f587394b2ab0ce5138fbddc8a79bea2bed6c6449026ecdc35157407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:511-530 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:512-531 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"20da2e9322e490962aa404d05533aba5011d6e1d75a4933ef20a1246685ccfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala:456-475 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala:507-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala:456\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56a9bcff0ffd206908da9b1055b46492694ff2b82dfa2d924288855301254eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala:441-456 | stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala:459-478 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala:441\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TLSActor.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03fc14a1c638c0ddc805fd9704d4ce6b4dc9e7ff3a36988925660679d3cbe5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:109-127 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:181-199 \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":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1439659a9e0389d6b5692a9ee5bcad2383d1f8d204a03585fbd1d75b9d1162af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:818-835 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:519-536 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala:818\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c36833bdc27fd054998fd0d92e5d6b03552dad28648c8c295c45e691e0a590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sharding/MultiNodeClusterShardingConfig.scala:35-52 | testkit/src/main/scala/org/apache/pekko/testkit/TestKitUtils.scala:37-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sharding/MultiNodeClusterShardingConfig.scala:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060testkit/src/main/scala/org/apache/pekko/testkit/TestKitUtils.scala:55\u0060 calls \u0060matches\u0060 and \u0060cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sharding/MultiNodeClusterShardingConfig.scala:53\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sharding/MultiNodeClusterShardingConfig.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"33265eddc73d70cc8ca4222a1616d27468958f79ef608f390176379d14b8327d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:200-217 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:289-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:200\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d431a5675cc541bd2525d37d0a25489d4804ec29dc16dc4a259698f3557196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala:55-72 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala:55-72 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f25f8678765b437f57df85c4319b68bfb00273c6b15bdf323570165bd180d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala:372-389 | stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala:416-433 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala:372\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b978d9e5d02974794e1e6e94009fb740995d88186fbf84c8debc5cf3586b761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:662-678 | cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala:571-587 \u2014 before extracting anything, compare \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala\u0060 and \u0060cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:662\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Start\u0060 names \u0060ShardingProducerController.Start\u0060 in one and \u0060WorkPullingProducerController.Start\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e0435b0b1161ec5d55faee0c26bdee93d8dcca6f62ab929efaf89b844f0008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesCoordinatorStore.scala:111-126 | cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesShardStore.scala:146-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesCoordinatorStore.scala:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EventSourcedRememberEntitiesCoordinatorStore.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a19bd442f96f6348087bdcde7bf1302b3d8be4cdae05f979c6e783be6d60ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:146-159 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala:103-119 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ebd23e2c06d9d1cf006c385237114bda928f3c4a23b4ac53704061b0210a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:284-300 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:285-301 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b572500a4d3ff9b0546d493a102223c687967bcbe6fe97b687278419738fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:314-330 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:315-331 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ac4036096cda919261570bda279243f55bcabf2d1420dd70d8797a3509342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:420-436 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:421-437 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7101d1286cc76d128a36f3e3acc115ef30102950b338920982e3efc7a860e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:547-563 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:548-564 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe572db0f09f3ef78f0365cee176285fa0f38a4c797eaaf0597a9484d032bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:818-834 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1451-1467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:818\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"12363866ee5d294e2ff8f0af6c4e14b867f256dea1327845230ba4692d5d7208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/BehaviorSetup.scala:171-186 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/BehaviorSetup.scala:104-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/BehaviorSetup.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d952ce37c70ec0165e0f383bd4b3c83642baed44463230b81290ea80b601084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:737-752 | remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:805-820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala:737\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"254f0e53a9f2ca3165f5f9fdeeafee3338535fbf00ceebefc43455315c5c3ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala:61-76 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectWhile.scala:59-74 \u2014 before extracting anything, compare \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectWhile.scala\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"615aaeb15f0903c38498c53dc86b032f4d4426c5c2c326778b9e4f65b84ebbc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:842-856 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:543-557 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala:842\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c05f8519d972b1d4f5f9398f8a0e6d0336806e0adcacfc90ef31939bc68b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1244-1258 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1261-1275 \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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dcc2bea775b61a45c64d4a90f275e3139e2484be45d26570cff5bcf233c530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala:297-311 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Recovering.scala:179-193 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060RecoveryCompleted\u0060 names \u0060pekko.persistence.typed.RecoveryCompleted\u0060 in one and \u0060pekko.persistence.typed.state.RecoveryCompleted\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f904bcf09e65c8ae951c0758272872f2bb3996e642c987a6b99956a75773134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:1011-1025 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:376-390 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b717be338ad988901dc9257a55a7b96399c441209ca08c5649ea47326455deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:593-607 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:594-608 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"8861c104ffcdcb8e1f369330f3c2891c84fe3886d89cfd98ef80d2e1dca5cf1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala:593-607 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala:626-640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala:593\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfaee56fc6e36fe09c69fe9163f002ec14f8cfcb01a0ffdfb0067aec85cbef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2426-2439 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2490-2503 \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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbadc0750ca7f0dfeb4fff0c590784d800e98df8cfc5d7ac2b71f95df684ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala:126-139 | actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala:142-155 \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/src/main/scala/org/apache/pekko/util/LineNumbers.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f3ce8f7c8c06da1d367d14f5cbaa6fd72d2c185225aea1b96b9f7b7fcd4263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:444-457 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:428-441 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3242c6d6c8a103cdd9a87350ef6a1bb57cb19b195649993d0ee92fda853f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala:158-171 | remote/src/main/scala/org/apache/pekko/remote/transport/netty/SSLEngineProvider.scala:168-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala:158\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc1f9276760db39e79028e2f213a34e1ec587b75866472514ffc586abd71d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:451-464 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:452-465 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa12cceb7e507d75bbe6c1ca2c904e4c9c230becfe5164d3194b42897e532538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/IterableConcat.scala:78-89 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/IteratorSource.scala:52-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/IterableConcat.scala:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/IterableConcat.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e77f7a3919e7e5c98c2ef6685d904a237e1490951c7cc5442c928290329e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala:208-220 | stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala:257-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Sinks.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a6a255ecd5336d41c55f60bf3ec09c080cfaef2730e6da9cd32000b1439d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:791-803 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:492-504 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0473c4ba76b7a59dd5cc2c7169811f1301ffb6ebb3bfdb296adf86a2a7ade91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:700-711 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:726-738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:700\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe8bf0920e14e96064f58c992206f672679cc688b799a5a745d23a668f8d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2332-2344 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2382-2394 \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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"38147571eb2c7352da25ff269ed746d6a63aa1c0c24a6675e3af4ae190bc562a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedSettings.scala:55-67 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateSettings.scala:58-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedSettings.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03106591d5760e6c67d46b3f23582dbe3ca78fe125912861ba87dd0291d48c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:392-404 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:404-416 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:392\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c11be5cb138ac0183c4c3f4a797aed42d1fc0269b3c4695623c6866bf133e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:393-405 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:404-416 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:393\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e61cde163ee92aad9bdbc4d4b32e61802a7aa0c520c0154138357e79777965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:73-85 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:74-86 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae504f87a07f17fbc836844806389248a63888c254851d37012629f5b6a6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala:43-55 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectWhile.scala:43-55 \u2014 before extracting anything, compare \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectWhile.scala\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/CollectFirst.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c84b663252ca5d0c79c81d4e0f3fecfc15ab071f174f463216d759df0b075b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala:469-480 | stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala:502-514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala:469\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc43fe5bbfab22e17b192d3d8b6c1d7e61ee7463ec3d39e5d3f8aecde0d4d9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:152-163 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:162-173 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/EventHandler.scala:153-164 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:155-166 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:163-174 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f4d7e3c4dc848870cc99784db98666fd819292ecb1a9d4c44b715fb0c98ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1854-1865 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1880-1891 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1906-1917 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1854\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"7816fbbe9bd9234309d895dc31c0bf09077ef53be7507fb1099bdcf87357a47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:206-217 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:202-213 \u2014 before extracting anything, compare \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:206\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"54136b45344badab01f63ff223eedc5adf4d9fa7f0506e67935b561d03f9626d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:275-286 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:301-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:275\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb502037f2a2884599411eb070b7a2fd3e29a680addab3ded13ce83943c0bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_append_Benchmark.scala:122-133 | bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_append_Benchmark.scala:138-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_append_Benchmark.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aee7a6b3a52b64c2142d11811879dbdd3e005efd5e49d92f4ef67869d30fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala:299-310 | cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ClusterSharding.scala:676-687 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ShardAllocationStrategy\u0060 names \u0060ShardCoordinator.ShardAllocationStrategy\u0060 in one and \u0060pekko.cluster.sharding.ShardCoordinator.ShardAllocationStrategy\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5791080974b8d6953e5c37ec0e1c6426ec465db4cdc2c8ec56fdae7bc36daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala:72-83 | cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/ClusterSingleton.scala:238-249 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55574e03701cde471f73d44caf6aad3692bcdb81dfa6296cab073809407f61f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:227-238 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala:153-164 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:225\u0060 calls \u0060JournalResponse\u0060, \u0060SnapshotterResponse\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala:152\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d91bf6feb06efb78ece6151a2b24dc3ede6cfa950fd4b56b67806df006ca2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:96-107 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:89-100 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65d92f582d0dec393c1eb3be8cec922c53d861ab1f2e3ad1bde477d0689c916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:533-544 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:534-545 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691a0b9178683e4cb6624c4f7586d6419bf4786abbe195c02e8e118347040df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:425-435 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:862-872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:425\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7d9a3addb817b03161b224a44ed05e0bdddbbfc3671b2bd7a44b8d22be096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2000-2010 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2026-2036 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2000\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcddbc0719feada03ec7cf9bf6f3f678a01c6d39872fa808ee62dc3a93ddde9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2442-2452 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2504-2514 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2440\u0060 calls \u0060slice\u0060 and \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:2503\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":2442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d33d699be6dfc8cd75c1e376cceec535549d51c401b6e10a8bdfa6f96f7c0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala:531-541 | cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonProxy.scala:331-341 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1368fd0a0c3ae5ef8b774baaf9109028fdd3f0c630cd135ab7411ca8b5335f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala:236-246 | persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala:348-358 \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":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehose.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9823bc5aad90c67b213bdcc5d5badffb9b71f745d089b068d9f789a5982920c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:181-191 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:275-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:181\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b38f518074aa603d0a20f1a5180c0e17f5e6e6258dab5013e8115c249eab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingSnapshot.scala:116-126 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Recovering.scala:130-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingSnapshot.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ec7f4118b31b5b1dfb03ad67e40a166262059e0fa0ea7c0a2e1f12eb5af075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:691-701 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:254-264 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:691\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7eff407d26be62359a71f13081ca549b44ebf19671d2e6f3e5650e8ee666da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:410-420 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:526-536 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:410\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab728e4065e587e8a988247b34a027e372c6800bc3cbbdca4bba3a051054479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:713-723 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1434-1444 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd972a9543a064d30fdd9d1630b965d5a1fc496a2903e3fae1929d51a5b143fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:923-940 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1527-1537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:923\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fdbc69984035d4331c1f2bf375833f355169ccd90365154ed9be22ae1e8d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:149-157 | actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:183-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6a5daf079a2689e0edd1c75ffb6bc5e896d6f3d98a34e811ccbc982fc1d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:411-420 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:406-415 \u2014 before extracting anything, compare \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:411\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4128276278ce21816b33904257771bce941dc7c9da23f6e85c79667f835953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:142-151 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSM.scala:351-360 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12ebed8b5e201b1520252dfd7e42410a4f28ca1a3f87dea55ed895bf60d6b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/pattern/BackoffOptions.scala:381-390 | actor/src/main/scala/org/apache/pekko/pattern/BackoffOptions.scala:428-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/pattern/BackoffOptions.scala:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/BackoffOptions.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3142f9a2eb5746c21edd137dd8c88c2d7e909c84fa1750e39f2f4c424b034d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:269-278 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:107-116 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:265\u0060 calls \u0060alreadySeen\u0060, \u0060getOrElse\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:105\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c10f0dfc2097952bbff4aaea1fbcf4e4804e50c51d786c23c37621c2b46e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:391-399 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:405-413 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:819-827 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:833-841 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:391\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37c60b5af50411d04a53218d1b93b617d09f602006b4c21dc9c72c1e5617b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:227-235 | actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:260-268 | cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala:265-273 \u2014 before extracting anything, compare \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala\u0060 and \u0060cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:227\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfeed7a8b9f45e6e6602508591d24c06f80983b860da9d85424bb4c15e8e912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:409-417 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:525-533 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:548-556 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e4875c808db0d5b7e4fa038b3ae246911407a279440eef90f0a45cf78219e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:597-605 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:294-302 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7a57b842200394cc302105f56b517cd55ebd84eff7e0d5a10f99ade51895d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:887-895 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:588-596 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala:887\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb2ada0b187d15b45ced7691f3f8f9c5fee23aafde2a28bbb55969c50f57557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1297-1305 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:1308-1316 \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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced1180ba22842ca2d2ec66087cf20509b9ebe19080e7998685bd0e0261b53e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala:267-275 | cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala:288-296 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadb528e254d8809b67e45e4acb7ab38e2700bbc9e7dc67c98b2f4c6c02b165b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/protobuf/DistributedPubSubMessageSerializer.scala:227-235 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/SerializationSupport.scala:141-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/protobuf/DistributedPubSubMessageSerializer.scala:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/protobuf/DistributedPubSubMessageSerializer.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94f74bae48c36063a363c0c69eaa7b03eb4df3071f9e81615154ff27417274a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:913-921 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1517-1525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e19bf8911a1ff0410131aaabd25fe88eb69f1d2125d08c1afd80d171e897e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:453-460 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:448-455 \u2014 before extracting anything, compare \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"091019cecc2a59d263bf24e9a43456ebb0b6c524e7fdb6f6e311e0245d035b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala:596-603 | actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala:644-651 \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/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"be12f7df7be9a5757fd51c18011cb4f18964870e1144b18d91536249fe3a51d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala:417-424 | actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala:496-503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala:417\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99f8599c759c0e0f65261d6f34c1c96017800b6674be12903fe99ea7c6939ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/routing/Resizer.scala:369-376 | actor/src/main/scala/org/apache/pekko/routing/RoutedActorCell.scala:209-216 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/routing/Resizer.scala:369\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/routing/Resizer.scala"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbb5bd98aa3294890bf8f977ccd6a6c8f27bad0a878de111a0ce09d59e785a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:315-322 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:741-748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:315\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6de282e148fcad62cf1e2f69f25d1eeb03723f5665b401ba5831766f32836b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/delivery/ReliableDeliverySerializer.scala:98-105 | cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/delivery/ReliableDeliverySerializer.scala:156-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/delivery/ReliableDeliverySerializer.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d56d1388f5a41287e70ed42ad22d959d489ea7ca3795a17679d17592382cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:217-224 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala:145-152 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:217\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala:225\u0060 calls \u0060JournalResponse\u0060, \u0060SnapshotterResponse\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateBehaviorImpl.scala:153\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/EventSourcedBehaviorImpl.scala"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba59c6df8027bb50bb74a92bb05875c0e2f44a70b8ca519527e2544205323d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala:418-425 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/LazyFutureSource.scala:51-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala:418\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f78f12ed6f9e0e5e8abbedc15d9da25cb30b5a9a3eda98d7aa22080e5edb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/Supervision.scala:194-200 | actor/src/main/scala/org/apache/pekko/pattern/RetrySupport.scala:409-415 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/Supervision.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb56a5150c8f51944f0b625d1c5d06d7366daa2446043b09809af846e9ecdb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala:514-520 | persistence/src/main/scala/org/apache/pekko/persistence/journal/EventAdapters.scala:166-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala:514\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6901095aad763419c44ab73dcdbb9554a4b34ce02a238165a25e30bb72d5c473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:272-278 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:697-703 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b83daaaf8270ba1b18167b16623433770c2bac06f345abf5500309b47266b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:289-295 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:714-720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb8bc9cfefcb3d16654cf2c4f5aa6a84d92752dc7299c3fea0f15cdbfe0ac4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:298-304 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:723-729 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a98fb7d509ca6815cfa495e29e046d1d95ce63cf49837d864f66d199d850bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bench-jmh/src/main/scala/org/apache/pekko/stream/io/TlsBenchmark.scala:157-163 | bench-jmh/src/main/scala/org/apache/pekko/stream/io/TlsBenchmark.scala:181-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bench-jmh/src/main/scala/org/apache/pekko/stream/io/TlsBenchmark.scala:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/stream/io/TlsBenchmark.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea82f5fef167a571f940436d30ac6c28f46255639445af27a52f4fe333a814a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMultiMap.scala:93-99 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMultiMap.scala:293-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMultiMap.scala:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMultiMap.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15336a484564ab82922002280e3a3964dab192175d205e77bb8a5e836bbde3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala:382-387 | remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ArteryTcpTransport.scala:416-422 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e678549187aa9cdee382f88f8d98b95b645a2da4a607acf0151e1bd0860913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/Timers.scala:120-126 | stream/src/main/scala/org/apache/pekko/stream/impl/Timers.scala:186-192 \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/src/main/scala/org/apache/pekko/stream/impl/Timers.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c23b7cf5e68db071949a5fdbfc9e6f6f53a9d6c0e0bb7eae4ca1069bada5e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala:215-220 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Switch.scala:98-104 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala:220\u0060 calls \u0060pull\u0060, \u0060enqueue\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Switch.scala:104\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a6d9c1b78d502e7b2242ba8caa77b19a18476b7f98915f0d2ab0e5b5463913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): actor/src/main/scala/org/apache/pekko/actor/FaultHandling.scala:294-299 | actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala:514-519 | persistence/src/main/scala/org/apache/pekko/persistence/journal/EventAdapters.scala:166-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/actor/FaultHandling.scala:294\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FaultHandling.scala"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1540cd81a906821c8b6f51add5c35462ae5d5a5a1184c700190018f20a1fc7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:96-101 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:89-94 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:162-167 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:102\u0060 calls \u0060maxTokenCount\u0060, \u0060getLongOrUnlimited\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:168\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d039f76ac4f6e709aa331fbaf9cf7f7854e1e805b9ac4383bc06c04ff9c426c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:1019-1024 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:722-727 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala:1019\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"620b5fd11c3184910335521b955923cae3eb298c8147b2f8d6b65c15cb1145cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:380-385 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:794-799 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:380\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9476d6070fed854ed4e64d957d1fa36f87d4bef1dc7097c26b0b267d53f5532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/SWARUtil.scala:385-390 | actor/src/main/scala/org/apache/pekko/util/SWARUtil.scala:403-408 \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/src/main/scala/org/apache/pekko/util/SWARUtil.scala"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba3e62751196235234e1f6822aa913aab523c8c392adac4ca50ae9cb8991802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:208-213 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:220-225 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:208\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060CommandHandlerCase\u0060 names \u0060CommandHandlerBuilderByState.CommandHandlerCase\u0060 in one and \u0060CommandHandlerWithReplyBuilderByState.CommandHandlerCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e4d13cb6d42effda7dfe380b28fd7f632256a0b48b13c14f69190aad1e614a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:209-214 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:219-224 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060CommandHandlerCase\u0060 names \u0060CommandHandlerBuilderByState.CommandHandlerCase\u0060 in one and \u0060CommandHandlerWithReplyBuilderByState.CommandHandlerCase\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"276972167f614966188f2ea23dfdaf9596300aa837e77de5454da384dc434b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:885-890 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:1498-1503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala:885\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ba04e45f313c55389fceb631a50180fb6e0e33e8a1275e6fe93e813609b7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/scaladsl/StatefulMapConcatAccumulator.scala:77-82 | stream/src/main/scala/org/apache/pekko/stream/scaladsl/StatefulMapConcatAccumulator.scala:95-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/StatefulMapConcatAccumulator.scala:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/StatefulMapConcatAccumulator.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7957bc57499716b8ee52a476d03500ee3ef3890b4be7968dbd52b9fbe0d439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:209-213 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:221-225 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:210-214 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:220-224 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b913fb8d2bd2d3a872efb635bf7bc2ef85d3a9d8dd97170606d591aef277a610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:4615-4619 | stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala:5099-5103 | stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala:3191-3195 | stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala:3158-3162 \u2014 before extracting anything, compare \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:4615\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":4615}}}],"partialFingerprints":{"codehealthFindingId/v1":"307a26d1a9be2f6e91df842ead52678aeb27220b01f20b4c6e2e256e5a9d27ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:624-627 | actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:634-638 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:620-623 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:630-634 \u2014 before extracting anything, compare \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:624\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f72ac6fcae48bead34a0e4f10e5dc1cb1a496b7aabf4aebc75c90b0df5b629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:364-368 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:809-813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:364\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9b1d8d4fbb5aeb98fddbe354ca24d9a20eac9a41e721104687d3342dde66bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:639-643 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:650-654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/util/ByteString.scala:639\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ba7b8ff12895f8bd10e5ec80f619d1f2b9fab5f071a1969cf29fa4150a425f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:331-335 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala:409-413 \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":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/PersistenceProbeImpl.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9685fbf53233a421c5d4b96c14f055a97ee7075bed8a40bcaab318c706ae1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala:163-167 | remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala:195-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"05589c8229095eeb5d758dcb0439eb5ea4e88a36d9dbd46a8f8f83ed52401bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala:550-567 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcingSerializer.scala:329-346 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d049f7bb58707e41e828022c8c92e075c97ee85ab29ae79507f347a6555bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (171 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/SystemMessage.scala:31-201 | actor/src/main/scala/org/apache/pekko/dispatch/sysmsg/SystemMessage.scala:35-209 \u2014 before extracting anything, compare \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/SystemMessage.scala\u0060 and \u0060actor/src/main/scala/org/apache/pekko/dispatch/sysmsg/SystemMessage.scala\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/SystemMessage.scala:31\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/SystemMessage.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"54501b98cd329c5b68e67a78170d0fc2321b403f7aa2ca4a74fcc3e95dda6a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (157 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/javadsl/TimerScheduler.scala:89-245 | actor-typed/src/main/scala/org/apache/pekko/actor/typed/scaladsl/TimerScheduler.scala:89-245 \u2014 \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/javadsl/TimerScheduler.scala\u0060 and \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/scaladsl/TimerScheduler.scala\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 157 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/javadsl/TimerScheduler.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc1a066d47384e1940db4fab2dbcce476ffb601bcd8a768480e185ef505795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/SignalHandler.scala:26-81 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/SignalHandler.scala:26-81 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/SignalHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/SignalHandler.scala\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/SignalHandler.scala:26\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/SignalHandler.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a618d2f68da45f3b639c510ee0ba1037d2451608346f7f1d17eccaf73fd01cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/FiniteDurationModule.scala:53-73 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/FiniteDurationModule.scala:53-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/FiniteDurationModule.scala:53\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060DeserializationContext\u0060 names \u0060com.fasterxml.jackson.databind.DeserializationContext\u0060 in one and \u0060tools.jackson.databind.DeserializationContext\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/FiniteDurationModule.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ecf3d9f522633b297c5b862ee432fa7512ec3656a1ec04fe9b80a51a483a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/serialization/Serializer.scala:86-476 | testkit/src/main/scala/org/apache/pekko/testkit/TestJavaSerializer.scala:36-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor/src/main/scala/org/apache/pekko/serialization/Serializer.scala:86\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/serialization/Serializer.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b18b50910631ac9d613e582997aa79a486a95b749dd4c3cc8664c36da0526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/ManualTime.scala:45-57 | actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/scaladsl/ManualTime.scala:45-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/ManualTime.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"916bcbb5b5c23031689520c1e27a2b2b03c2863c0897caac75c0bb2bfe7dfc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:211-219 | actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala:244-252 | cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala:249-257 \u2014 before extracting anything, compare \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala\u0060 and \u0060cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/internal/ShardingProducerControllerImpl.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala:211\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060Command\u0060 names \u0060ProducerController.Command\u0060 in one and \u0060ShardingProducerController.Command\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2753e2b36f4a7a07dc569aa463294360ec48848ac964b4fc223421eff49275d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/ActorRefImpl.scala:36-40 | actor/src/main/scala/org/apache/pekko/actor/ActorRef.scala:127-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/ActorRefImpl.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"603657fdce3058dc5228c438e7ffbe881720b5926562b492e29c692c4ead658e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:122-127 | actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:118-123 \u2014 before extracting anything, compare \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala:118\u0060 calls \u0060nowarn\u0060 and \u0060actor/src/main/scala-3/org/apache/pekko/util/ByteIterator.scala:113\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala-2.13/org/apache/pekko/util/ByteIterator.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17605481315b8693df849f829712f717151a1dd68a43ca0ef59232b8d9163fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:611-618 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:308-315 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94caf50423545356bce114ab5fed7e6883195c4339b6eec8190b0eae7355081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:755-763 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:456-464 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"704394fe30f4e840a6423ad546af604b1e7c57f6b9595569e873f4ebd198286c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:805-810 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:506-511 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"124b358b770ad7684998b356f6be2f93ef43e021196f14e4c3b632846ad74470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:863-872 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:564-573 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e45a1c406ea06adeb1eb50ebdfe315034d92fad3be7c39b2ac092e8c8fc8f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:874-884 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:575-585 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b16d45b429950e8b83428e7bd7f81d596019e0efd74f34a48e41204fbd41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/actor/FSM.scala:952-956 | persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:654-658 \u2014 before extracting anything, compare \u0060actor/src/main/scala/org/apache/pekko/actor/FSM.scala\u0060 and \u0060persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b717b3a1d65e8cd7793f9553aca22382a9632b965655d5b52b185c0ad1f45255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala:433-439 | actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala:467-473 | bench-jmh/src/main/scala/org/apache/pekko/actor/JCToolsMailbox.scala:61-67 | bench-jmh/src/main/scala/org/apache/pekko/actor/ManyToOneArrayMailbox.scala:75-81 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/Mailbox.scala"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0a61b60b027b61877deae1e37f08c49238492cb5df33b66f7d5f53bd9446e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/io/UdpConnection.scala:170-176 | actor/src/main/scala/org/apache/pekko/io/UdpSender.scala:83-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/UdpConnection.scala"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba776c380d5c6d35895a93d0fdb0c5fb179fa553a49bfb91590a1ed01afd163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/FrequencyList.scala:181-185 | actor/src/main/scala/org/apache/pekko/util/SegmentedRecencyList.scala:121-125 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/FrequencyList.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffad4a925e9b6958b9eb580678035cf4f75951ea8aecffb502c44bba7f32fb90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bench-jmh/src/main/scala/org/apache/pekko/stream/AskBenchmark.scala:99-104 | bench-jmh/src/main/scala/org/apache/pekko/stream/BroadcastHubBenchmark.scala:135-140 | bench-jmh/src/main/scala/org/apache/pekko/stream/MapAsyncBenchmark.scala:101-106 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/stream/AskBenchmark.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83691cb4b33adee1e25483e011dd02224c93db5fdc88dca49b33cd6402dff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala:62-69 | bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_toArray_Benchmark.scala:63-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4b895c797ab6acff4ef6ddf657920f5d137bbee3528b33816831b9aeefbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala:78-84 | cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/protobuf/ClusterShardingMessageSerializer.scala:635-641 | cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/protobuf/DistributedPubSubMessageSerializer.scala:90-96 | cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala:129-135 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/SerializationSupport.scala:67-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fbebaa2a92a26f908930a82ceecccf715679b743d2ff2d94f9d4e7678e6a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/protobuf/ClusterShardingMessageSerializer.scala:332-337 | cluster-tools/src/main/scala/org/apache/pekko/cluster/client/protobuf/ClusterClientMessageSerializer.scala:81-86 | cluster-tools/src/main/scala/org/apache/pekko/cluster/pubsub/protobuf/DistributedPubSubMessageSerializer.scala:83-88 | cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/protobuf/ClusterSingletonMessageSerializer.scala:76-81 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala:411-416 | distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatorMessageSerializer.scala:266-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/protobuf/ClusterShardingMessageSerializer.scala"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"22808b83ae7e87ceb437d890b55f237bb2e1010c22851acf10dff5b0e7edbd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala:365-372 | cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonProxy.scala:257-264 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c9709f95e7415dd73d6f07326248119a885a9822aa46e57040a0ffac894fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala:374-379 | cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonProxy.scala:270-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf00060fafd146cb57673f050fa7e709e088566bead66a7c0a2650283ca5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:278-290 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:245-257 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:278\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23db889e676b5579bf2d69869b560516233ce638c24f7cbfeb5d1b7863fd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala:99-105 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala:73-79 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"eace0f1d1a5addfd0915a99b905e32a7d0d1692cd8a38a84ded22f44c458d083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/javadsl/EventsBySliceFirehoseQuery.scala:81-87 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/javadsl/PersistenceTestKitReadJournal.scala:100-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/main/scala/org/apache/pekko/persistence/query/typed/javadsl/EventsBySliceFirehoseQuery.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"886eaa149ffa55ef8f587fd98fbe72ed1cd666f985f3aa3c6c4cc32220337978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala:152-159 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateStoreInteractions.scala:98-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85968b2a418d655c167394539b8088b7018928463009c179fc6aa8f3c47c87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala:162-168 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateStoreInteractions.scala:108-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f100d2ddccc8f4b16eb7aaee438745b897d1dd165dfa4c51b2e03a9f6aeb1266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala:228-237 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:759-767 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:909-917 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:312-320 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b89cbb391277907c66611c596a198cddb31c7b97a57caee008eb05ba912641f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:1030-1043 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:395-408 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"20430efa42e995d455be8ceb13a029d19024a9e4d4c88e522a9114785b8960a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:288-295 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:123-130 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5d5d1fda3b691a1b0cdadcacac54c77fc2d62efff3480fdf43bd7e16f22255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala:883-891 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala:358-366 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c41f0c4a734fa15a7895370bbabff91a6298f2973ed3f559df87a23f05f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala:77-90 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala:77-90 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d492e6132c7d2ed2bdfeb7f52f327d227df59d955be87502fb272516157d1fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala:110-116 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala:110-116 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc0276a78eedb7fbd1c1790aa17150bc81c181ae63d9dc4478b9a2d230f460b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala:118-124 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala:118-124 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a2e770a75997a247c116d8db0fa8bca1e313913469f310754f5594ceb6e529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala:126-132 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala:126-132 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/StashManagement.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/StashManagement.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f61429f2fabff663da8100ea44ecf3c36614839b6a6ed938f9f4181c14d248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:243-247 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala:253-258 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandler.scala:244-248 | persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/CommandHandlerWithReply.scala:254-258 \u2014 before extracting anything, compare \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala\u0060 and \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandlerWithReply.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala:243\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/CommandHandler.scala"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80dbcc42f409ef6a666d3e26e14059b552fb7698dc32c995c3c95868fdba46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala:702-707 | remote/src/main/scala/org/apache/pekko/remote/artery/Association.scala:1093-1098 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0f6e30d5e2636f524ba6485ec31ca15924365922fabced3ba8cd7440fc9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala:114-120 | remote/src/main/scala/org/apache/pekko/remote/transport/netty/SSLEngineProvider.scala:115-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"523215702c403150528d8534982919ee8c5f3912c6925664e0e345a29c0ad33a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala:125-129 | remote/src/main/scala/org/apache/pekko/remote/transport/netty/SSLEngineProvider.scala:126-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ConfigSSLEngineProvider.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87eac1e598e89b604ae9050a4903a708eb0bba69a77a7ff22b6523682d25a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/ActorSystemAccess.scala:25-32 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/ActorSystemAccess.scala:25-32 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/ActorSystemAccess.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/ActorSystemAccess.scala\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/ActorSystemAccess.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85d108438f1f11f1173f5f23b5feaf0982950c22159f025f1f45274dce23f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonModule.scala:99-104 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonModule.scala:103-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonModule.scala:99\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonModule.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"189643b4591d2cc0a3719df3fb78cd1b91f6ca8b4e47e0fff78eb0edc5367c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala:76-83 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala:69-76 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240461e6577fde253e422eb5d30294c526f0dfdfb0c53e917854e397c0ef134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:91-95 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:92-96 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2599d326e13ef100dbcb21fd8e3fae9c81b932728debc287e3857904856c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:56-63 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:57-64 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b844ef504f122bb038e1be2703226f98beb1d9139d46eff283c214f55a16cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:105-110 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:106-111 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed94619394a9743f7c05a6b29e373208363f2bbb93462c88cb14648cc5b35161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:121-130 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:122-131 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"358748d9560a660f0c0db29659190a509fe7ad9481014ab492b3b0bf663200e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:302-311 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:303-312 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d84ce04778788bddf770185a69d2c13fa370842cdda1dec8391ff16be2f401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:441-448 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:442-449 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a4a5d2c655edd333be9e29d6ec2c2fdd08e33f3ceb6b0610f5be44aba28e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala:488-498 | serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala:489-499 \u2014 before extracting anything, compare \u0060serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060 and \u0060serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 304 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc2bda73786b290c83738e3e3aaf7d406d0e41de5f8a042501861576a81e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala:46-54 | stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:1330-1338 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/MapAsyncPartitioned.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd9370daadd92bc654e9d921904ce8ab7f3a6348aab79af32655915ce87ff32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/ByteString.scala:371-377 | actor/src/main/scala/org/apache/pekko/util/ByteString.scala:785-791 \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/src/main/scala/org/apache/pekko/util/ByteString.scala"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"52af8a508d117e78cab69c7631319f15d4958746fcca2b7fc7296ee47ce5e4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): actor/src/main/scala/org/apache/pekko/util/Reflect.scala:223-228 | remote/src/main/scala/org/apache/pekko/remote/serialization/ProtobufSerializer.scala:65-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/Reflect.scala"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e034994c4b272d1dcce22b37ecee54d5c7e77bfeeedfc644fa8967bd4b566e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala:102-106 | cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala:167-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae7735e9c58b07aef531a54987005228286514da9f4998d5998f430c02446c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): distributed-data/src/main/scala-2/org/apache/pekko/cluster/ddata/GSet.scala:74-79 | distributed-data/src/main/scala-3/org/apache/pekko/cluster/ddata/GSet.scala:74-79 \u2014 before extracting anything, compare \u0060distributed-data/src/main/scala-2/org/apache/pekko/cluster/ddata/GSet.scala\u0060 and \u0060distributed-data/src/main/scala-3/org/apache/pekko/cluster/ddata/GSet.scala\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala-2/org/apache/pekko/cluster/ddata/GSet.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5726fb3d7ad56fe39572b28f312d1c13452376154bc21adfe7b9127be234a11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:3806-3810 | stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:3879-3883 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala:3806\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4ae6ef414a8157fdc678dac9ee43cce25a1eb362816002594eb259ae845494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestProbeImpl.scala:378-400 | testkit/src/main/scala/org/apache/pekko/testkit/TestKit.scala:334-356 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestProbeImpl.scala"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5882b34e5a3e0160515273a2a15801e411bbf15de71cbb33344b8de46e5401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sbr/SbrTestLeaseActor.scala:52-63 | cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sbr/SbrTestLeaseActor.scala:66-77 \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":"cluster-sharding/src/multi-jvm/scala/org/apache/pekko/cluster/sbr/SbrTestLeaseActor.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1736ad6f40a62d37cbc413c383f49e4bc2ebfff8f83ba310cdbba29a7195e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/state/scaladsl/PersistenceTestKitDurableStateStore.scala:123-132 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/state/scaladsl/PersistenceTestKitDurableStateStore.scala:185-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/state/scaladsl/PersistenceTestKitDurableStateStore.scala:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/state/scaladsl/PersistenceTestKitDurableStateStore.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1649b1bc6dc7159a60670cbba5d86cc24dc4ad4fcfbcb5510729025a478085dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5TestKitBuilder.scala:36-56 | actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/JUnitJupiterTestKitBuilder.scala:35-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5TestKitBuilder.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1590ae9daadd2c00ee4d65272eed302f354be9d85b24aa160b69df4053f49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/BehaviorTestKit.scala:43-47 | actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/scaladsl/BehaviorTestKit.scala:36-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/BehaviorTestKit.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f5cc78dde0b85e98fd11f8e460bc3c4ebb34e8712fb597f64180e60ce46557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/DurableStateBehaviorTestKitImpl.scala:173-184 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/EventSourcedBehaviorTestKitImpl.scala:203-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/DurableStateBehaviorTestKitImpl.scala"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0a5989ee7081b97a60701d095411f1fc849f2b48412cce44c8ea350b0da71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/DurableStateBehaviorTestKitImpl.scala:196-203 | persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/EventSourcedBehaviorTestKitImpl.scala:250-257 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/internal/DurableStateBehaviorTestKitImpl.scala"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1559b2369a62cb39439ea4b87ce7fa0c4b56ff795eace58a92ed928d44100d06"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClusterShardingMessageSerializer (LCOM4 14): ClusterShardingMessageSerializer\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/protobuf/ClusterShardingMessageSerializer.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea448f55e604f0804820fe1cb0386eadf1101c3577263d313052bcbcbae51e99"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReplicatorMessageSerializer (LCOM4 12): ReplicatorMessageSerializer\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatorMessageSerializer.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d21f53b4e751437869896b126d244bdb553fb528b5cfede0041d12b54a25c81"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActorContextAdapter (LCOM4 10): ActorContextAdapter\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/adapter/ActorContextAdapter.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b208bfaf3fe076e3c958360d6acea6d1e949261812637e84d02d399d0febeb03"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClusterSingletonManagerSpec (LCOM4 9): ClusterSingletonManagerSpec\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/multi-jvm/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManagerSpec.scala"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78c4b8857affe0084116d5294d4f0eafc84612449ac2d9037cad0fc2a1e04ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MultiNodeClusterSpec (LCOM4 9): MultiNodeClusterSpec\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/multi-jvm/scala/org/apache/pekko/cluster/MultiNodeClusterSpec.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d25e0c324a89bbcf68a864ed5d2ac0f5c0472c33f47cad782e1d43aebf03bd0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MiscMessageSerializer (LCOM4 7): MiscMessageSerializer\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/MiscMessageSerializer.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"551c0d44743b3adaeb0dfdeb0dc0a2529b3f884a3d234e561a78f62b2175486d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActorAdapter (LCOM4 6): ActorAdapter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/adapter/ActorAdapter.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"727fd391c10d89bc9aab7244efe5575aaafd2dc95590146b9f156b13fa7aecd5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StubbedActorContext (LCOM4 5): StubbedActorContext\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/StubbedActorContext.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9de2828ba830202c56ea93f6add6378f4eead4c0daec79b203f383eb4a094a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractSupervisor (LCOM4 4): AbstractSupervisor\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/Supervision.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7333348d61f0ed01dd5b68cb54b02c7929fb7b1abf2ac25668ba785c21f3497"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChildActorPath (LCOM4 4): ChildActorPath\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"789da0946dfebce7597fdeade0c885c13b0570fe7d7947a39185b948b47de58e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DistributedPubSubMediatorSpec (LCOM4 4): DistributedPubSubMediatorSpec\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/multi-jvm/scala/org/apache/pekko/cluster/pubsub/DistributedPubSubMediatorSpec.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4775b89ae867136336c053eef16407044008521f9f519d33873795693318243c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReplicatedDataSerializer (LCOM4 4): ReplicatedDataSerializer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"286cc2f7aab4e936dd015be24ccfa74114e2b03c521784207e5de6266a78304a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BehaviorSetup (LCOM4 4): BehaviorSetup\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/BehaviorSetup.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8479f66a6eb4c4bcc3b658c132eed87a5e64fed70298fc27a39c0424f31e8c09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AssociationState (LCOM4 4): AssociationState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fe6beb0fe16e251b4372bf5a1776b61d7caedc131e2d1df3b113ba1dcb9562"}},{"ruleId":"D13","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":"4d2debb574b6a19d301d1488b3a45f32314be40143d133662ed9438fd7096a92"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala: stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala changed 3 times in last 90 days, max cyclomatic complexity 235 in TlsGraphStage.createLogic at line 64. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d100bd42c68937958edba0438fc0e452dcbbdf02fda1d1867c63f79e2220dfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala: stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala changed 4 times in last 90 days, max cyclomatic complexity 23 in BroadcastHub.createLogicAndMaterializedValue at line 879. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9368d86fcb8a421003f6ab15e48dad2a53d4c5c8d33003527fd596392d9fa95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala: cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala changed 2 times in last 90 days, max cyclomatic complexity 44 in ShardCoordinator.active at line 739. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardCoordinator.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae673e5b5b619052dd5d19e6056d9783bad23fe6f3ec79337a05ac49a7733aac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala: actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala changed 3 times in last 90 days, max cyclomatic complexity 22 in ActorCell.systemInvoke at line 489. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1c2b016add32ae6d7048f589378ffb7fc049a5daa1fb5655b0ba4bc9c6f6fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala: persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala changed 4 times in last 90 days, max cyclomatic complexity 16 in Eventsourced.recoveryStarted at line 636. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Eventsourced.scala"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70342241990a34ffbc4135b9839f7480cb4f0fe2bc6a911c21ed01882bd551d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala: cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala changed 4 times in last 90 days, max cyclomatic complexity 15 in ClusterMessageSerializer.manifest at line 75. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/protobuf/ClusterMessageSerializer.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b6b260e61895db9d11d37509e3636aa630da3b1e418975cb5658c3982b8bf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala: serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala changed 3 times in last 90 days, max cyclomatic complexity 20 in JacksonSerializer.fromBinary at line 332. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3772d68a6f0d0b324866d98f09e3c9d180bc058e2fd8308a58d81a3ff236b6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala: serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala changed 3 times in last 90 days, max cyclomatic complexity 20 in JacksonSerializer.fromBinary at line 333. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1e431c5d2655811cea7b5fe788f838030ff5370c3768db46cc1e4ac6d8355d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/src/main/scala/org/apache/pekko/io/TcpConnection.scala: actor/src/main/scala/org/apache/pekko/io/TcpConnection.scala changed 3 times in last 90 days, max cyclomatic complexity 19 in TcpConnection.doRead at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- actor/src/main/scala/org/apache/pekko/io/TcpConnection.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/TcpConnection.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"126a326ca1ba187ab90cb768d4430c77dee65ba5db7aa4f5c136197912ddcbf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala: actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala changed 3 times in last 90 days, max cyclomatic complexity 18 in Constants.readOne at line 121. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"007ecf7a08990f5d1d9f4c2196652206272f8e990d6e57034cb4544d032569ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala: remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala changed 3 times in last 90 days, max cyclomatic complexity 18 in ReliableDeliverySupervisor.gated at line 418. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59aa68c2345c0dd0d3155f7a497e967bae00519ec811c701932f3613af42e4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/src/main/scala/org/apache/pekko/actor/ActorSelection.scala: actor/src/main/scala/org/apache/pekko/actor/ActorSelection.scala changed 3 times in last 90 days, max cyclomatic complexity 16 in ActorSelection.deliverSelection at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- actor/src/main/scala/org/apache/pekko/actor/ActorSelection.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorSelection.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ab79fedd2304e61b7eb45bc72caedf5d9e01fa53bc52c891a1c6f17c5a1ff0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala: cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala changed 2 times in last 90 days, max cyclomatic complexity 23 in ClusterReceptionist.receive at line 1032. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"25804116bb30c150945146b89723cd92266ba83fc1b3914c56ffb11da342f1ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala: stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala changed 2 times in last 90 days, max cyclomatic complexity 23 in Partition.createLogic at line 880. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5179c8709ac478cce43a0cfd7b08ead538141d4d205b4c63f414a2b95c12735"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala: persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala changed 2 times in last 90 days, max cyclomatic complexity 22 in ReplayingEvents.onJournalResponse at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ReplayingEvents.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fe5315c1f88e175613419b9620e2f84749280a7660239edb1d6ad1a8cafee2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala: distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala changed 2 times in last 90 days, max cyclomatic complexity 22 in Replicator.receiveUpdate at line 1677. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"390d9b22fa8eb48768c9b1a113c0c6fe4be1a2cfcf9a2fcbffaa68552f6defc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala: stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala changed 2 times in last 90 days, max cyclomatic complexity 21 in TcpStreamLogic.connected at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d07fb012fdcb2d61c4662e6ea3070d8c9ec4c6a0b939e50042fbed322c4d70b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cluster/src/main/scala/org/apache/pekko/cluster/Member.scala: cluster/src/main/scala/org/apache/pekko/cluster/Member.scala changed 2 times in last 90 days, max cyclomatic complexity 20 in Member.highestPriorityOf at line 205. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- cluster/src/main/scala/org/apache/pekko/cluster/Member.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/Member.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0b0a4df10e08edf3905dfb1e3e981b42f73ce25cea112471c23d6d67b203b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: remote/src/main/scala/org/apache/pekko/remote/serialization/ArteryMessageSerializer.scala: remote/src/main/scala/org/apache/pekko/remote/serialization/ArteryMessageSerializer.scala changed 2 times in last 90 days, max cyclomatic complexity 17 in ArteryMessageSerializer.manifest at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- remote/src/main/scala/org/apache/pekko/remote/serialization/ArteryMessageSerializer.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/serialization/ArteryMessageSerializer.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e60d5495073714f56bd587404b18c9b9e11cf008647feda77f24b8a878c6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala: actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala changed 2 times in last 90 days, max cyclomatic complexity 16 in ActorPath.findInvalidPathElementCharPosition at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae1988df6a8c57637bb2a86308794491a24b0979664d01d103ca729266be227"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: persistence/src/main/scala/org/apache/pekko/persistence/journal/PersistencePluginProxy.scala: persistence/src/main/scala/org/apache/pekko/persistence/journal/PersistencePluginProxy.scala changed 2 times in last 90 days, max cyclomatic complexity 15 in PersistencePluginProxy.initTimedOut at line 198. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- persistence/src/main/scala/org/apache/pekko/persistence/journal/PersistencePluginProxy.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/PersistencePluginProxy.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15831166707405d630d7d085ac7d6d33970d5dc6eb50e1362b0ad11e4f371c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala: stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is GraphInterpreter.execute at line 491), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve StageActor demand across fused streams (#3461)\u201D; \u201Cfix(stream): replace O(n) finalization scan with O(1) counter in afterStageHasRun (#3373)\u201D; \u201Cfix: release completed graph interpreter references (#3030)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"2781287ae0e4887a0771e5ee7aa7ff6d6b14dec832108cbec78838eda43c2a37"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala: cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is MessageSerializer.metricsGossipEnvelopeToProto at line 177), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: bound the size a compressed payload may expand to (#3502)\u201D; \u201Cfix: support java.math.BigInteger/BigDecimal in MetricNumericConverter (#3382)\u201D; \u201Cfix: fix scaladoc warnings (#3285)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 18:02:03 \u002B02:00\u0027 --until=\u00272026-09-27 18:02:03 \u002B02:00\u0027 --full-history --no-merges -- cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/protobuf/MessageSerializer.scala"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbdd50bca4495f8981cd60bd45c37854db78892795524f99ebeacd4f2b04ccd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 105 significant file(s) lose their only recent owner: stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala, stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala, stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala, stream/src/main/scala/org/apache/pekko/stream/scaladsl/Hub.scala, cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala, stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala, stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala, stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala (\u002B97 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1abcffced7fa3aeb73be9a270da69bf062e37fca6b1f8484a687a182c350d2ea"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 18 significant file(s) lose their only recent owner: remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala, remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ArteryTcpTransport.scala, remote/src/main/scala/org/apache/pekko/remote/serialization/ArteryMessageSerializer.scala, remote/src/main/scala/org/apache/pekko/remote/serialization/DaemonMsgCreateSerializer.scala, stream/src/main/scala/org/apache/pekko/stream/impl/io/ByteStringParser.scala, persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/javadsl/Effect.scala, remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ssl/RotatingKeysSSLEngineProvider.scala, actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/adapter/ActorContextAdapter.scala (\u002B10 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"59bf660c3695efb2fa0a129184209137b5f24725a70d80b2e18cf66055325c80"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: cluster/src/main/scala/org/apache/pekko/cluster/ClusterHeartbeat.scala, actor/src/main/scala/org/apache/pekko/util/Version.scala, coordination/src/main/scala/org/apache/pekko/coordination/lease/LeaseHealthCheck.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a79a461f2b9080a12d826a702750b254d1fc24a322d4bf168c69be32b6273c6"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (127 single-owned of 909 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 909 of the 1311 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO allow overriding of this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/StubbedActorContext.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7874bf1162e168b35f7177657d2ea559b13e0f860017936d5434948de138908f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO why canonicalize here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/BehaviorTestKitImpl.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2267e50c425b43305d265853f891391d04a90f96cfb3e85527aa8ac223e7e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: might be better NOT to pass any class loader and let typesafeConfig rely on the contextClassLoader \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/ActorSystemStub.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"879ccf0f07b118cbab0f357e305079106ae93dfed7040ce9ec212afa4d1b49b6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME awaitAssert(Procedure): Unit would be nice for java people to not have to return null \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/TestProbe.scala"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bf22fa7d1cd4ef914b7bc83c8eaf1b26015744bc551b54ff56a85f7cbd3130"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expectNoMsg etc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/TestInbox.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f2071f47eb28bed328964d0d9892ecab1df38b36c2af916f4d6d283c1a6b36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expectNoMsg etc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/scaladsl/TestInbox.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e67e4e9e9cc0c753f565bfdeaa12e8df33e1ff636fd308ba8003bdc4c8cd50"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME it is weird that this is public but it is used in BehaviorSpec, could we avoid that? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/scaladsl/BehaviorTestKit.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3054974424b42ea330de36449c27c9edaef91849d1b49bf05c38bbd296608a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME needed for Pekko internal tests but, users shouldn\u0027t spawn system actors? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/scaladsl/ActorTestKit.scala"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b76ff9d076455c6a2572b3a91eade5707f3e9bcbcc5006c80aef34c2924bd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: does this really make sense? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/actor/Ticket669Spec.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eec6a241b9d0462d45c758a3135e3370492b2968060fabd4f7a24a19d6d874b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check why throughput=1 here? (came from old test) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/actor/dispatch/ActorModelSpec.scala"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3597a795fb6cc58fe9230390795afcdb908c393edf977d5c0470d3f3bbb418"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO issue #31117: starvation with JDK 17 FJP"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/dispatch/ForkJoinPoolStarvationSpec.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c545d835f0e9db1631d85d401c357953616b1bb179671358a508661607a2f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test that the old protocol is converted correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/io/SimpleDnsCacheSpec.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9ba90e4e698ae602d8706168fc2710ae5f2c6453e54874ec56b52ca3f2052"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO after is unfortunately shadowed by ScalaTest, fix as part of #3759"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/pattern/PatternSpec.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0508c6cde7c23e1cacf64562c64569e2e96b97cb53ded3f49f77e673efddcb9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO after is unfortunately shadowed by ScalaTest, fix as part of #3759"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/pattern/PatternSpec.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"314821e805ffd9d80f0bc849e41afd372964909cb928634ec9a96cebf66ae001"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME flaky, https://github.com/akka/akka/issues/30860"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-tests/src/test/scala/org/apache/pekko/routing/BalancingSpec.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f3afe250ea80b91b5b20fcb6c496cb0d84bbaee38ce01c98c3196a50fd38db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Restart will not really restart the behavior \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed-tests/src/test/java/org/apache/pekko/actor/typed/javadsl/AdapterTest.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d564173d70005074bd74ce4e1498b60187090026b90dc87c9fc39a4b2d8ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Restart will not really restart the behavior \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/scaladsl/adapter/AdapterSpec.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3e3a7c0a8be47f85a4713abb8440f6e07e002e65fda85fa110c302084beea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28723 add a random test for work pulling"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/delivery/WorkPullingSpec.scala"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ed9af2f2bd5cfbaf44a45e9f736639f98bff8214038a9e4c1223984b080e1f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME inference doesn\u0027t work with partial function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/receptionist/ReceptionistApiSpec.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"268caa9d8951d13980092c433753f00e78b335317a54b13193827bdf2fefcbde"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME there\u0027s a warning with null logged from the classic empty child here, where does that come from? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/scaladsl/adapter/AdapterSpec.scala"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf6afe5551704a4e5c5b6543fc2020b71e98d44ea761a9e81501fd7f4f2c8d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28719 when removing ApiMayChange consider removing \u0060case class\u0060 for some of the messages"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/WorkPullingProducerController.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"810aa2ceeb51958be92382007c671bb91245dd99ec4b45b4ce63a852d8ddd534"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28719 when removing ApiMayChange consider removing \u0060case class\u0060 for some of the messages"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/ProducerController.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"064f282e825f66ac17c31b72f3459eed4f155fb54da526a3256be37d661c47e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28719 when removing ApiMayChange consider removing \u0060case class\u0060 for some of the messages"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/DurableProducerQueue.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"017428384476074ccc62bc91641cfa81d6809059a8499a0bdd819208725c5c3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28719 when removing ApiMayChange consider removing \u0060case class\u0060 for some of the messages"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/ConsumerController.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ac2e0fa6b4328ebee229d8b564bc678845c7eca8ef39cd80789392cc62e8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28719 when removing ApiMayChange consider removing \u0060case class\u0060 for some of the messages"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/ShardingProducerController.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2932c604c629684aab1cc8124d53d3bd0db0808539f9cd6d5121f6a639b8b9da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28722 we could also track unreachable workers and avoid them when selecting worker"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c025b9d8ed8017ec1c6ac13f76849db6033d5eb1659cb3111adc51c0f5e441d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28721 to reduce number of writes, consider to only StoreMessageConfirmed for the Request messages and not for each Ack"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/ProducerControllerImpl.scala"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a51df5c28c166d8ca8ed622ad6e8194d0f8fe4201a391c3f72157058e0ed95d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can potentially guard for ClassNotFoundException, but seems unlikely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/LoggerClass.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6eabe3852d8f9730df3967d17d63c1c929edac3db1a2ae81538a9c908bc367"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO performance optimization could maybe to avoid isAssignableFrom if interceptMessageClass is Class[Object]? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/InterceptorImpl.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a635aa3c3ab18130f25b621b50e61f8ee0cd46e6c01a6b03153a2a763899808"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME exhaustiveness check fails on receptionist listing match \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/pubsub/TopicImpl.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b536345ab2a74203ace00c9b140fc7a378e9c52482c6aa9d1a702e04119f4b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Possible TODO \u2014 impl. could be switched to addNode(new Node(value)) if we want to allocate even if full already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/java/org/apache/pekko/dispatch/AbstractBoundedNodeQueue.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d239534c4cd136d35becfe40bbbb3cf0a9a6f8b2cf07a9be8318fdc4ffeb456"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME why no new Receive(statements)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/java/org/apache/pekko/japi/pf/ReceiveBuilder.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"208f7b106b0b33552ad2ee20578f4940ed14e8a66e39038d0174cd687778ba80"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME How about making ChildRestartStats immutable and then move these methods into the actual supervisor strategies? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FaultHandling.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5c1bab2e64733b433b18691dd0439fef2362cd0923b8f9407a95885cf1de85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimization to drop child here already? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FaultHandling.scala"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"d636587212f13e24d2fe54a4b9ed6b7b78c75988fc6d184f2b4cf85a81580aca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can be removed once we can break State#timeout signature to \u0060Option[Duration]\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/FSM.scala"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca6be7c3bffc3bdf2b4f964ba0b8bc4b71eaea2cef01a5eb6b8e838f0131ae4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO register child in some map to keep track of it and enable shutdown after all dead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRefProvider.scala"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"002d014f8732e0437f6b672e7ef4553d4c235acde39eca5ef8548c625dbf41bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement as Protobuf for performance? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRef.scala"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"468959b97bcee73cea7d40ce276b824d73a5726495f83bdaac0c06cbf8351e51"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME make this cheaper by comparing address and name in isolation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d559cb6b1c337d6986f67cb89de442718b127df973a6976a402597b83f54d067"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO RK investigate Phil\u2019s hash from scala.collection.mutable.HashTable.improve \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorPath.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730dda4624fe3913de13c318f28eaff023d5732f4e9106d8abd9c679b6874c5"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to allow programmatic set of capacity through props in pekko-typed but still share \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/Mailboxes.scala"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77a652813d212faa1e9bc7f00d77231e3c5c0fcb465b1333e1b04d3fe152ea7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO what if this submission fails? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/BatchingExecutor.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"21881ed2a7cefae7a7e1bd73506221abd87c1770a7d08ab2a3a2c065857f2042"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check whether this should not actually be a property of the mailbox \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee46914345c3d5363c35d9db298ac4d8c432aeb495bb3978af67ac0118729f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO config fairness? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09fa99d25e9c73ca01148eed2a714e2c3eef2291ee12ac6c21986d2fa843959"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO when breaking binary compatibility, these marker methods should become baked into LoggingAdapter itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/event/Logging.scala"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8441e6f61c7fbdb83b61bffc5a51901c9c607708ee1d0fed29c71f4eea2a266"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME binary incompatible, but I think it is safe to filter out this problem, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/event/EventBus.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"289be580e3b38ec936ef97b568e2ef591d43680f44004d886edabdc78f5f7531"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Add possibility to signal failure of task to someone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/SelectionHandler.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c01b7c879336e37e08ad41a130b54170b3567d3b59e379c230eb088d87f06d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO other type than ByteStringBuilder? (was used in pekko-dns) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/io/dns/internal/RecordTypeSerializer.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19ef0c79a0daf8cfc2a945d04f6fd00334c211c623c61622d4bbea8c5acb972"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO could be optimised based on type of Seq \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/japi/JavaAPI.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9530f73f04c86543b8a8e954c8e7744088b4125760a148889a579fcda89486"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo add scaladoc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9338b15f98cb19a0586116aa89416bf7852333cddf2569d760e03994376f7ea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME switch to AQS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/LockUtil.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7d22a38f5a31b07f67d1d7f60a9f8de840764f6aec2f09541d594b6076ec8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this needs memoization with an LRU cache \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/util/LineNumbers.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae1fa031ee5634af10aa856d840ea3f4ef1b2a62105669fc6b9f69229d53b42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo rethink what is the most lightweight way to await for a streams completion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/stream/SourceRefBenchmark.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"253c2a4025bca03cbf6ac613d673d0143dffeb7d1754cf2ccf2d31c0bf57da91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo rethink what is the most lightweight way to await for a streams completion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/stream/FlowMapBenchmark.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"be995f1b2b649aa7b860f495784620bbd0256b1d9b083e678cfc65673435d7ca"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This should not be here, this is pure setup overhead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench-jmh/src/main/scala/org/apache/pekko/stream/InterpreterBenchmark.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ecd163b3b0c2871c1aff608d392ecf3ad04ac5016872bf9b32a8210769a3c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO read factor from reference.conf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/ClusterMetricsRouting.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91efff5616374657873e2334f47b9230dca4380c8080bfd63d1af4e6983e54d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ensure same contract \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/multi-jvm/scala/org/apache/pekko/cluster/metrics/ClusterMetricsExtensionSpec.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"57285cccf25330fe4eb6cb1c11b9f095d0b9cddfd5ecbc2768c0f04b854b2d51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ensure same contract \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/multi-jvm/scala/org/apache/pekko/cluster/metrics/ClusterMetricsExtensionSpec.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f71b02ec0b63b854fa2ecfc939eff4421e2f8ec10d5ba046454e17a7dafd7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ensure same contract \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/multi-jvm/scala/org/apache/pekko/cluster/metrics/ClusterMetricsExtensionSpec.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b63e0000ee1d9faa552599afb0468cedd62711a2546b78591a55157fd26a21a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ensure same contract \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/multi-jvm/scala/org/apache/pekko/cluster/metrics/ClusterMetricsExtensionSpec.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"884f5934f6a0b5dbc39deecbcde9464fa326c6c7868fa19d2d89e200441caa8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO read from reference.conf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/test/scala/org/apache/pekko/cluster/metrics/ClusterMetricsRoutingSpec.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a0199e98b0d20b413eebf2b2614475dc4409edf5feccfa74a1db050522e5c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO extract it a bit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/ClusterShardingSettings.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9addfd0aca01cad73cc9c24c85c8e9b2968a76533ee8813e62dbc3e525dc1a10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO extract it a bit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/ClusterShardingSettings.scala"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"e930f2c0950fbc8aa412fbaefc48fd80dc6b136d8c61204b3d3218f9abd435a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe there is a need for variant taking message extractor instead of ShardingEnvelope \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/delivery/ShardingProducerController.scala"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e055489bbc63426372a1dc7e5da54b9bf00e03ae4260082cb905a82e1ac28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is it possible to avoid the double evaluation of entityId \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/main/scala/org/apache/pekko/cluster/sharding/typed/internal/ClusterShardingImpl.scala"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d439673d8d30771d24c8e25bcfe3e42e994294f124b9f8013eb7b1f04f45d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME test removing one cluster node and verify all are alive (how do we do that?) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/multi-jvm/scala/org/apache/pekko/cluster/sharding/typed/ShardedDaemonProcessSpec.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0755a6efd93c46a7b9946a94ea4d89f0c52995eb3dba76968de918faf2d18c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/java/jdocs/delivery/WorkPullingDocExample.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f28be712a106ed8bfd3b4be3f92c9673be377e489b6f94348309ea42c7b4a18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/java/jdocs/delivery/WorkPullingDocExample.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea0c61b641045b29d4d06570e4150b33f23f64c37de1577c65d86662ad62a5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/docs/delivery/WorkPullingDocExample.scala"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efb4e257a03aabaa1f6bf09a3395d679e908a32bbe62f62ddc558ea594e60fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/docs/delivery/WorkPullingDocExample.scala"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"862bb2a78fa14e2d5fe1f76c717cf2f5faa467ff00b2e3f933f0d53ddc8f283c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/docs/delivery/WorkPullingDocExample.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a66a17156cc67a13d03b7d51a16cc24ba02f655a773dccac6338ad0246b7ef0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retrieve the stored result and reply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/docs/delivery/WorkPullingDocExample.scala"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7157d5e68ab91b8ee679cb08a359dae132a3c4fa6752aef4e492b7547b9bee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO #28723 add a random test for sharding"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/org/apache/pekko/cluster/sharding/typed/delivery/ReliableDeliveryShardingSpec.scala"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c43eb23cdf74604e8c1862337ac16ff413c905eeeb8a7ed5a02301fcec9a6f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME #26514: doesn\u0027t compile with Scala 2.13.0-M5"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/org/apache/pekko/cluster/sharding/typed/scaladsl/ClusterShardingSpec.scala"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e23ee2c3e1518252101a5ce3bb3343c180b1d35952139de513c29c28ce6a401"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME #24466: rewrite this with Typed API when region queries are supported"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding-typed/src/test/scala/org/apache/pekko/cluster/sharding/typed/scaladsl/ClusterShardingPersistenceSpec.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5164287121e2edb243f37164a4383cfafcb4429986ba5e8cb0f2dfbb16fb8161"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME #29589, we currently only look at same dc but proxies in other dcs may delay complete as well right now"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/ClusterShardAllocationMixin.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb670fb684bca8fd58c81ca3c1403cc58d7848850c4b457dac69fb04a90e73a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this looks like it is the same test as ClusterShardingLeaseSpec is there any difference? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/test/scala/org/apache/pekko/cluster/sharding/ShardWithLeaseSpec.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ff560bab508ce2106ff4cb5eb399404e4a85f376a4a532f6a3a6eed639222"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME restart without passivating is not saved and re-started again without storing the stop so this isn\u0027t testing anything \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/test/scala/org/apache/pekko/cluster/sharding/RememberEntitiesFailureSpec.scala"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0793826fd7aaf3c81cd5d59f7ca671fc72bc5ed53918124c979413affa4af8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ADDRESS FOR v.2.5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/client/ClusterClient.scala"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca50e735d81023f24f94d10f90ab44c80655e6e1f836c92d4a537f3216c0100d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could retry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-tools/src/main/scala/org/apache/pekko/cluster/singleton/ClusterSingletonManager.scala"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb02c219fe3910039995e75d2b2f44ef8302ef9872d6067b7b87e106cf3c1a07"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME perhaps add supervisor for restarting, see PR https://github.com/akka/akka/pull/25988"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/ddata/typed/internal/ReplicatorBehavior.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"491a9cfc34233e492229ea31a56001188a3ad1d37dc95de4699dca13f6cba222"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO introduce a config namespace for typed singleton and read that? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/ClusterSingleton.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32b1af8fd1eec93c411fd6d330a56cea4db40d23860b4eb8460ae26a5bb6897"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for typed to multi node test kit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/multi-jvm/scala/org/apache/pekko/cluster/typed/MultiNodeTypedClusterSpec.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e80f1066fabcd021d7f5923b35ae2e64de5c7eac4ce06ae9e22cd0462930f7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use awaitAssert to await cluster forming like in BasicClusterExampleSpec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/test/java/jdocs/org/apache/pekko/cluster/typed/BasicClusterExampleTest.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"65909c71a336606467353858e8af745505a739c77feda44f37ce784e0343e16e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO wait for/verify cluster to form \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/test/java/jdocs/org/apache/pekko/cluster/typed/BasicClusterExampleTest.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8078c0ed7d09518adcf89240a50d64992ffab742ab55606b6f0b8029d6b93ec3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO wait for/verify node 2 leaving \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/test/java/jdocs/org/apache/pekko/cluster/typed/BasicClusterExampleTest.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2b70ac75712851d0b9af3827e31a52433162e52064d08f8ee3d05c2f09ca3b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // Fixme concurrent registration and unregistration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/test/scala/org/apache/pekko/cluster/typed/internal/receptionist/ClusterReceptionistSpec.scala"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa353f13d45615a2df88a91b5d9b221af9ccf274c25f3dda3e3f4589c912646"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: how should we have gotten into this state? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/Reachability.scala"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead110179b3c3d1d145b0ef64ad055a5097a64f37d1dfe2d004642f4c45ae4ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO unduplicate this with the logic in MembershipState.ageSortedTopOldestMembersPerDc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/CrossDcClusterHeartbeat.scala"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb5bb1c305fc122616197358cdaa43aaf3ca5965bd7b3c832fb7bd27e40543"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME issue #21483"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/multi-jvm/scala/org/apache/pekko/cluster/NodeChurnSpec.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8c874b1fd886cf6a4829220ede01e0981418dec39346a079a0a5a29b0099e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME This is already part of the cluster, is this intended? Joined on line 107 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/multi-jvm/scala/org/apache/pekko/cluster/MultiDcClusterSpec.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a6258b9f1e085adec4cec2a6efa22467514805cdc171d7ab4664683016ad5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test coverage for when leaderOf returns None - I have not been able to figure it out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/test/scala/org/apache/pekko/cluster/GossipSpec.scala"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d28311f311856013db88480b9db820e1b5450ccbc92f6e7a20153a234c368c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME #26566: we can change from Option to UniqueAddress after supporting mixed rolling updates for some versions"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"07991558b5a9d63feb0e2e9a2ce785e494824aefa902ecd844f8169948222fbf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME #26566: we can change from Option to Long after supporting mixed rolling updates for some versions"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0ec70fbde911b7fd7d9243721147da0483d069e14ddce878936eb499971812"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME we can change from Option to UniqueAddress after supporting mixed rolling updates for some versions, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"1749b5ab18420c5b13117291d35a414d605a6640cc933ce05d6ed4ec9d8b499f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO split it to several DeltaPropagation if too many entries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/Replicator.scala"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"a255a63aae3ee77dd077d388e774c21b28ca753ff1d6c0facfbf5109122c64ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO can we get rid of these (safe) casts? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORMap.scala"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09984aa4eda6a7298567334fe4c27d5b37fe48795ab0c2c76eff2b7bbb1fe9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO perhaps also remove oldest when deltaCounter is too far ahead (e.g. 10 cycles) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/DeltaPropagationSelector.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d019f1fb5619dd49ea8c179a00ba7e3a754a9803c4ef96002f3ebd8f901911b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ownerAddress is only needed for PruningInitialized, but kept here for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatorMessageSerializer.scala"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c500b4c3080038744b78cb88ec37a723c1d5424de2e082a04c557d4d8ced6122"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/multi-jvm/scala/org/apache/pekko/cluster/ddata/DurableDataSpec.scala"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8ed232d11639d99f853a8281bffa18e58b24f77fa8ebfdd059ce1660e78a21"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME we need to look into this for Scala 2.13.5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/test/scala/org/apache/pekko/cluster/ddata/ORSetSpec.scala"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa5696e3d4d470a82586c5265d5b136987e989ce77d8151fbdee002a6be4394"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/test/java/jdocs/persistence/testkit/PersistenceTestKitSampleTest.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffa7d9c9b1cb62d4b4fdab0c9d33ba1c5eaeceaa1eae13b8e797dbd579261eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: convert docs to PekkoSpec(Map(...)) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/test/scala/docs/actor/ActorDocSpec.scala"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d81064ea65b25fdc92b0f691a3b3b0a0122563216de1f6e045b01cc389f5dc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This recipe does only work with buffer size of 0, which is only available if graph fusing is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/test/scala/docs/stream/cookbook/RecipeCollectingMetrics.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abfeb7f987e0e58b4cc83a750552e1a62845a81ddb40d3d2b8abeae2e60c64f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is this the right EC for the future below? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Player.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5c700c5d6156a6f710ce025f981383a2167428b84b2635f43bd2ae63b7964"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Initial capacity should be carefully chosen \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Player.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7437b58ffb027edef305cf8e9021714a88dc823509f66e317faaba478e9b0a1a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Currently ignoring, needs support from Remoting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Player.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ed2289162fe3d26344cabc6c3bc02d13eea3470b1222ab1c54157d7d6bdd0a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME what should happen? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Player.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"827e09f0f2e3fa540c8d4a6549ec14684989d258dcd906eb70820f09d1cfe60e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME what should happen? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Conductor.scala"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56cdd29c3a085298e2be98bf92b9477c02d369033344c41814d0fc95432666f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO what happens with the other waiting players in case of a test failure? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Conductor.scala"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aeef1246ffd59411b0701b1cc2528c4209d42710b4993e7ea97c86fcbaba97"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is there a way to know that it has been added to the hub? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5def2e961358271d1286d8a2cbb505444662af2164b3350976d9dacd012350"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is there a way to know that it has been added to the hub? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b71138460e78051d5c440b485285c2839516039fd2691fae078b5b8b581609"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is there a way to know that it has been added to the hub? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb98c1c78af552bb2eadfc7bd14e862ed288df9e0cd3a98d11a91f53617c8c38"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is there a way to know that it has been added to the hub? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0268de17954df737bce002d2d50d708cc6a181e0b5e76b0a2273de2b29bdb316"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is there a way to know that it has been added to the hub? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"185b0a1eb6cfcbd296743859741c56d97653fb57a3deadd56f3ebb3fd317a2af"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME add another (more integration test) that verifies similar that consumers can be added to the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-query/src/test/scala/org/apache/pekko/persistence/query/typed/internal/EventsBySliceFirehoseSpec.scala"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8c5e2235a979ae5f57a3ebc5e1d67d8efaa61a3f7e52a7b3ccfda0cd996a65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo needs to be thread safe (atomic read-increment-write) for parallel tests. Do we need parallel tests support? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/scaladsl/TestOps.scala"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a2a5055f3d4b2cebe672dd4d51943e42fa224f8cef3f668ae424c929722403"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME mutable - state I don\u0027t remember if we support or not so defensive copy for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed-tests/src/test/java/org/apache/pekko/persistence/typed/ReplicatedEventSourcingTest.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b992d3477523e5dc8e039b2643832b2fd1503b1384da7eaaf973b9ba187cf0a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is not as described \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed-tests/src/test/scala/docs/org/apache/pekko/persistence/typed/ReplicatedAuctionExampleSpec.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8a15b56bd4d51a3147abbc0bd0ac40a71f5be0963a12537f20555645a67f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO send email (before or after persisting) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed-tests/src/test/scala/docs/org/apache/pekko/persistence/typed/ReplicatedAuctionExampleSpec.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cc98b86d31eda4dc68e4f914ab313d9db652d613bb196f94dc00e0129d84d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could add more specialized/optimized implementations for 2 and 3 entries, because \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/VersionVector.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d024571270c5310328d2947c68e6268c5958c3524c9708c436ec84b05f0cd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support from journal to fast forward https://github.com/akka/akka/issues/29311"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee777794952fe3380f4600ed5205c5757061109dbb4b9754dcf550d8c84eb9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO can we avoid the cast? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"113a7bab5173f4a04ca63a154b670e8aebaf5576b0f0b5a27681fda75403ecf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO can we avoid the cast? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7be275c425cdd22284580ddfe54f793080db5ebba14d8916b7f568fc7947bbe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME validate this is the correct sequence nr from that replica https://github.com/akka/akka/issues/29259"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/Running.scala"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ffed44374c1d59a99d1ecd7b17fd8beaba2bff56ec068cb47734a6280a3dd9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME check cinnamon is okay with this being null \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/internal/ExternalInteractions.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae0dad8330a6766720f61fb958d125662d1033c0351ba50bfd0c0071b0df41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Might need to call hook method for Telemetry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"160dd2b4e58008644d877093cc98f38965b91bd2151380fbd0facc1c2015414e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Might need to call hook method for Telemetry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/Running.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"416421c8ee06daae5b9d0acabbffa18a29458b727600c87fe39e8475ffed37c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Might need to call hook method for Telemetry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateStoreInteractions.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"155d81465ce0b01f762b67a7aee3cddfe5474f0e45bca4c9c2b247df425f2829"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use CircuitBreaker here, that can also replace the RecoveryTimeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateStoreInteractions.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa3b3b0de7d0c157ff4d69b1b36982750124729081d2d8b9d2d49f1acf3637"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO These hook methods are for Telemetry. What more parameters are needed? persistenceId? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/internal/DurableStateStoreInteractions.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3af37645fbae5c0c092cd2c9a4b4af4094478bcb9f0ef9baf215e2b10180de"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME DeltaGroup? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/test/scala/org/apache/pekko/persistence/typed/ReplicatedEventSourcingSerializationSpec.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc9db363bdf61e381c2ebe0215b23150a9e2b853e295739f41ac8c5e86ce1e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should we try harder to deduplicate first? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/test/scala/org/apache/pekko/persistence/typed/delivery/WorkPullingWithEventSourcedProducerQueueSpec.scala"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"553db62b6bcd8ed7afb66ee1c6ec34242f26f252e300322ba5928c7ff770c1a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should we try harder to deduplicate first? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/test/scala/org/apache/pekko/persistence/typed/delivery/ReliableDeliveryWithEventSourcedProducerQueueSpec.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaaa25c69b51954c96354a94dd6a789154501d3ff07a6e55849dc7c1256b961"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME deprecate, issue #27278"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Persistent.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"252d1d7a53d95fbb03dedf0fcb452911dbd07b889aba80ffc880caae889dd979"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME deprecate, issue #27278"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/Persistent.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9416ed52ea8359b96f9dd7b8c229aa65eb4172c36c78c6060b5abfddd097d670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO could we could make EventSeq flatMappable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/EventAdapters.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"76460cc0e5d4274ecf4a9eeb030c6c3c659c2c3d03d2a88d94319577a32f3cea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO try to make it a value class, would save allocations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/EventAdapter.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac04bea3826bb8ffabacd8073eb5f0f8defc7a4cf89d8d50ba9bbbf411716120"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be nice to DRY this with AsyncWriteJournal, but this is using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/leveldb/SharedLeveldbStore.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"458eab2d62835f9f2b799ca8e39c189c2115eab1873cba9e746f73c90a46175c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be nice to DRY this with AsyncWriteJournal, but this is using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/journal/leveldb/SharedLeveldbStore.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1c7ce65cb7b34286cf3521fe7e08188f785c7c2e12dbb952baebe12986f12e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME generic Class could be problematic in Java \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/state/DurableStateStoreRegistry.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0cdd3bb3c9b59c38e1dc5d0e46d12bbbc0b40a8e0f7a15a35709f96f446de9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME generic Class could be problematic in Java \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/main/scala/org/apache/pekko/persistence/state/DurableStateStoreRegistry.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde30035b5002029aaf1a5eac614e139bb5ded7f492e306ed01b94383eb7bbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do we call it \u0022snapshot store\u0022 or \u0022snapshot plugin\u0022, small inconsistency here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/test/scala/org/apache/pekko/persistence/SnapshotFailureRobustnessSpec.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8252918e925f7e9f4cd8bb043134a9a9b24adaca638f9945095af62b4358f58"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME move to inmem \u002B proxy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/src/test/scala/org/apache/pekko/persistence/EndToEndEventAdapterSpec.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"563b40b3b3fdc26929a29537a5201121d1ff45e3295b63b0909c31b7d8f31547"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo this should probably be supplied properly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/ValidatePullRequest.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67df17051d920b5b9627e6af083714ddf1ad6060bd2dbce01101e6daa6688a7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME document these methods as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/StreamOperatorsIndexGenerator.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdad155a404c67d8dd44f597eec55ed03ca4cb7f2caea099a37c583f041ac904"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mini images here too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/StreamOperatorsIndexGenerator.scala"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29d968e2436e4f85c589de76dc833dedd66726f82954c5d520528f8e3f05118"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove Sigar form test:test* classpath, it is provided by Sigar agent. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SigarLoader.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4efa60a44ca54b64e665a0540e6599ee06b7fa0daa4c2cfb149bbe230fb5bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: shouldn\u0027t that be regular \u0060javaOptions\u0060? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SbtMultiJvmPlugin.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6391174a3770f7f4e9d024404f8f290480be676b1f9a6c08df85bcf1f116bab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fugly workaround for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SbtMultiJvmPlugin.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a66cb378491eb250c52d87cc19473011e12f293cd5b1cf9f2bd661ad68e98a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO try to make sure that this is only generated on a need to have basis \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SbtMultiJvmPlugin.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9970261c5824eaf3a495220ef82ad3f9a40a4a56eb53ef656972eb0ba2a53e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO there must be a way get at keys in the tasks that I just don\u0027t get \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SbtMultiJvmPlugin.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e789ae0df316b6dce9f06328e87cbfc39c16caa822fcb3911dae3e63071eaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move this out, maybe to the hosts string as well? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/SbtMultiJvmPlugin.scala"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58399cacea00c52828a6b19305d4181d40d4305dbeb259f912fa21d5a08882"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable this once we\u0027re sure it does not break things \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/PekkoBuild.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc4ccb00941da6f27784cc31ef66a314805c76b1cb9d1a0af37a10116c86b67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO page not linked to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/Paradox.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6590d75ed72d0b681d829c6c0a611acb859cdbaf03314bf2c7b96c18f87006"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/lightbend/paradox/issues/350"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/Paradox.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"846d2b4851112a6ae724e351f158af462b5ce0cf52dabb28735f53898cd5112d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack because \u0027provided\u0027 dependencies by default are not picked up by the multi-jvm plugin: \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/MultiNode.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e34692d1c8a52f5f40585cbd1f8c37f305dacc45f4540392f17ef9c22479f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove from \u0022test\u0022 config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/Dependencies.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744488cb5172b67aecc2775b2b5eaced5049843a9ecb64bda2cb1b0ab44cb5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check if \u0060l \u002B\u002B=\u0060 everywhere expensive? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/Dependencies.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d6f2a627c8cd622f14d13aa5923dd21e6b562fb602721ac74259931da6e59"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this is failing with Artery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote-tests/src/multi-jvm/scala/org/apache/pekko/remote/RemoteNodeRestartDeathWatchSpec.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc91a0fa3a70b023f54c4df348bdd2a1d073d99d7a7c47910f70af910e786fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME to avoid using new RemoteActorRef each time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote-tests/src/multi-jvm/scala/org/apache/pekko/remote/artery/LatencySpec.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e126c17299f49531f38060271edd2a88b6b4223e67c70655287bbf57a5fffb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add more tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote-tests/src/multi-jvm/scala/org/apache/pekko/remote/artery/LatencySpec.scala"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36339758938a1b26c82b42e8e65ea4f943662e32165429354736f2811c8afd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO, should artery support this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote-tests/src/multi-jvm/scala/org/apache/pekko/remote/classic/RemoteNodeShutdownAndComesBackSpec.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"631d213ec78c3ac24028e3c245695a486b97e452c431c4b7e5c282a81f86652c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO possibly scary optimisation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6326b6f41bbf7568c930be9a993da809e71151f7847b8f522090a60bd20f23e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it should be thought over if this preciseness (just a random number, and not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/java/org/apache/pekko/remote/artery/compress/CountMinSketch.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d54fbf49ffaf195a107f951482a64bf9ba72e9de0447368e9e55f9d7ef8d7f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add security marker? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteDaemon.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"66140ae611a67f3087c8eb5355e497336dcf93f31fb6ffe93a7810518183277a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO RK currently the extracted \u201Caddress\u201D is just ignored, is that okay? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteDaemon.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3f90b83d4b204109a9594a0aa68539f20fbec7584c5e89225eb0f525eda431"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO RK canonicalize path so as not to duplicate it always #1446"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteDaemon.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2bade586989903844ed48a2885bd733f994241d5ba0f7c0faf1252c89500d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: state timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemoteActorRefProvider.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd81892cb233a83007ef401e7ce56070e4ef0d17be5fd4a00c4f23308cd255b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME remove these counters when tuning/testing is completed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeaaa7206ee015885f708179b24320857a8ac14f238d6566cc34ce5063f8d9a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME remove this when testing/tuning is completed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/Endpoint.scala"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b3ccfd3c1014ffda975059366f7184e5eb7f21ba8bb450d08fc2b0af0d30c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we might need have to prune old unused entries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/SystemMessageDelivery.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c75804b0bb4d4cc7b3ac39b05aa9c52a0d0473450d515181ee6897a3ef4660c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimise these operations, otherwise they stall the hotpath \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7139fa64b5cd16a07b4b65e4ce300570dc27aa61f7b0f3ac6616ed0ba07650aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimise these operations, otherwise they stall the hotpath \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6aafc804bedf502de59fcd14ff3072dcccef7a610425e7d710f9617ec31e6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we can also add scrubbing stage that would collapse sys msg acks/nacks and remove duplicate Quarantine messages \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/ArteryTransport.scala"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b4bcbd4bb83080481521a0df3760bac45ec17502157579fffdafc6db546b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add FR events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef09dd3f5b0c1b3df6ee49957c9038a4ae4ddb993b05057b443c10fbebb78904"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add FR Events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8400644e09c1b09bdd1806535f13e9411a309bdad36e6b26d74e76246c5feabc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Note that the AssociationState.controlStreamIdleKillSwitch in control stream is not used for the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/ArteryAeronUdpTransport.scala"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"905fe2e8ea3e54b5877bcb358208f7f844128ec1a7f3f9a97a236a262324ee36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME push calculation to JFR? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/AeronSource.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cb98f5e6f4ab912924bbd5d8b31035b819a49909be09cee61d27c10554fea6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Identify different sinks! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/AeronSink.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e897443c01b915e413668bca5dd8fb1123fb28be395d844d498adf29c4b18fa3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME does calculation belong here or in impl? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/aeron/AeronSink.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4659c0785d4cbd0ec6c2af5620c7c8a517bf2482f4d985d4e340eda91b17d6a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO possibly can be optimised further? (there is a benchmark) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/TopHeavyHitters.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8825000e8723638a3076360dc13b460891da6f6d5d4ecf91ecccd82c922759"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will probe the *whole* table all the time for non-entries, there is no option for early exit. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/TopHeavyHitters.scala"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca401a55860a06d36c966bdcb6be289e0fc133ccbb6d6e0bb5489f202e64c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe record probe lengths so we can bail out early. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/TopHeavyHitters.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c319e1c20dc55ab369094e2a3d4a32bc2b2e4a70c56c62fac58cceadbebea0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO could be configurable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c33b8f1d8ca8d9ae9e66b507e32c4d049a6f1739e1ce2cb69bf6410c53d714c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expensive, check if building the other way wouldn\u0027t be faster? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc205f7bf596ae0bd5ca9830868864c928e98d8c0ce1cf2f66f24f70d5198a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimised somewhat, check if still to heavy; could be encoded into simple array \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/InboundCompressions.scala"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db308f34d5c18eae924d8b83b0cad43569761f51c286df45a26be288a57c8dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these are some expensive checks, about the numbers being consecutive, without gaps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/CompressionTable.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79ad510700ae90571eee1945af8a986934034bd0eda7342e55c841195480e18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can remove them, make them re-map (not needed I believe though) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/compress/CompressionTable.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"043bb4af8d363c92c0daa589f91360438411c11f9789404702300d3dd05e258f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Possible performance improvement, could we reduce the copying of bytes? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ArteryTcpTransport.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc5313b0dee4f83519c7f6a9eff771bf7d96949b3d51f86bdf5c93dcb109030"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO perhaps a few more things can be extracted and DRY with AeronUpdTransport.runInboundOrdinaryMessagesStream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/tcp/ArteryTcpTransport.scala"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9216be02b9449c09b8e02fdc2170fa3074447ba0ccecfedc6ee8f6b589cdf9e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add configurable subnet filtering \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/transport/netty/NettyTransport.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b8e9e101a623f916c2158a889f588cdafa74f675b7874dc43d30dc92c2437c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be factored out to an async (or thread-isolated) name lookup service #2960"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/transport/netty/NettyTransport.scala"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"379436d4d00c73c5edebc7aaa703e056b69155eb18afc50217bc1d97a90affc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO max payload size is not configurable yet, so we cannot send a too big message, it fails no sending side \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/RemoteMessageSerializationSpec.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7d211f4b2addf38f0a1e5a7f7b62e6806b6eb5ff620bf4b2a15326b3e29c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO There is a timing difference between Aeron and TCP. AeronSink will throw exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/RemoteDeathWatchSpec.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cd45d4cdc40dac1e5e8e7060c14f150f7bfa9e0dc77c4833b4b8e127f2cde2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fails with not receiving the localGrandchild value, seems to go to dead letters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/RemoteActorSelectionSpec.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60ea12783d95b3e0ed896c1d99fc8584cd9a61848e3916fdafb1d0405beb5d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: randomly return a Config using ConfigSSLEngineProvider or \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/ArterySpecSupport.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b68d5937702cd8ac17d691e869aca0eb8c44504a7c9d2ef8a8f5dfbeb1b1c11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is technically unexpected, we have already compressed A... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/compress/HeavyHittersSpec.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e73136e35bf92bdc6399e8d6a85be05b8f46b9a10269299364e977053bf7958"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this is a flaky test and don\u0027t want the noise on the repeat branch \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/artery/tcp/ssl/RotatingKeysSSLEngineProviderSpec.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52ee71c50e75002f6cddc10e276c0620285bdf3b80e5d5523142ec4c6662496"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO inline \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/test/scala/org/apache/pekko/remote/transport/NettyTransportSpec.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2c9fc1bd28974289c016514fd9b902fe0c5f281db407b0da8810ee9c7d32a5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe move many things to \u0060org.apache.pekko.serialization.jackson.internal\u0060 package? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/StreamRefModule.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"470ade74e44cc4efecbec28d5160286d458daf65a74542c8a82bb87a11160caa"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe move many things to \u0060org.apache.pekko.serialization.jackson.internal\u0060 package? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/ActorRefModule.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2246515534d6e777784fd0d0e2fcc6e6fee37277ccca3a7aa3f9df7df1b9db2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO issue #27107: it should be possible to implement ByteBufferSerializer as well, using Jackson\u0027s"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b938775ebfd153c3d2555a4996eff7527959c5f5cffdd6c6db7491cd819a272a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO issue #27107: it should be possible to implement ByteBufferSerializer as well, using Jackson\u0027s"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"29160110dfc4353da880e0261af069a8047a755974b98b836d54f1abe7741efa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the migrations Specs to a separate Spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/test/scala/org/apache/pekko/serialization/jackson/JacksonSerializerSpec.scala"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"15199adc42c29171696f0ef68ddd107d3dd3e9badd3be17c67a1a218ec6d6c81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the migrations Specs to a separate Spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/test/scala/org/apache/pekko/serialization/jackson/JacksonSerializerSpec.scala"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7653ef7cb23d059df5d20e150326f8865748338109af7109ce2fa1cb98a93d00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the migrations Specs to a separate Spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/test/scala/org/apache/pekko/serialization/jackson3/JacksonSerializerSpec.scala"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"f096a3674b75cad4e76369686452df7af77dfc69e094e2913d20c93dd1bf0cdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the migrations Specs to a separate Spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/test/scala/org/apache/pekko/serialization/jackson3/JacksonSerializerSpec.scala"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d60df51beda6c76a7c0950deb2387ee003543c710716517e1071d53d8a8fa8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack the manifest to enforce the use a particular migration when deserializing the blob of Event1 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/test/scala/org/apache/pekko/serialization/jackson/JacksonSerializerSpec.scala"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba39b248868604200bab7c24af5e4a956d47e7eae011ad2f224736dec3bc84fe"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack the manifest to enforce the use a particular migration when deserializing the blob of Event1 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson/src/test/scala/org/apache/pekko/serialization/jackson/JacksonSerializerSpec.scala"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"72613e1e486615e15330e1408b185d60bf9ec74327455a0e8735192dd431a267"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack the manifest to enforce the use a particular migration when deserializing the blob of Event1 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/test/scala/org/apache/pekko/serialization/jackson3/JacksonSerializerSpec.scala"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3a92c2495aef64a6198f21ee2bf9c593dde26bbaec984a94d0fced1451369"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack the manifest to enforce the use a particular migration when deserializing the blob of Event1 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/test/scala/org/apache/pekko/serialization/jackson3/JacksonSerializerSpec.scala"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6078ab42653049a206cade9c172564f13f8101800c3bf215866ff4c6381d0e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe move many things to \u0060org.apache.pekko.serialization.jackson3.internal\u0060 package? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/StreamRefModule.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4750162b5a798e34ff4ab63236923256a0a4e5ea39c7a0aae937939849831328"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe move many things to \u0060org.apache.pekko.serialization.jackson3.internal\u0060 package? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/ActorRefModule.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554838e2439c01a31c307dd76147875baf5c999553074e1cd14fe4b1fd1af39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix scaladoc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonObjectMapperProvider.scala"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd3f547c65aed5eaddd9ebf86b7f7700ab0c49f64b1aed28ee4b01986ec573c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serialization-jackson3/src/test/scala/org/apache/pekko/serialization/jackson3/JacksonSerializerSpec.scala"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c643a70650dde28d9cc9f2f998b5d10e285f1c2125cc6c44894e3b234267e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handler needed but should it do anything? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696b31b5f88d93c396bec1361e3cf39b55a63f999b63055fa239a4982644d60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handler needed but should it do anything? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-testkit/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterSpecKit.scala"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d612908e55560cb38016e9e50e0e7864432d8a3e14da4f285c2602c3e91ce22"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/akka/akka/issues/30487"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/java/org/apache/pekko/stream/javadsl/GraphDslTest.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c52c9ada3cc1d0faaccede7b6f3c20521f77c4e23bfe82edbd7a393ff8574"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME test failure scenarios \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreterPortsSpec.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbfa23a622e38e124f2549183fa30c44af3889beb14f34148a0f6d2be0efbc1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Workaround object just to force a ResumeReading that will poll for a possibly pending close event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/io/TcpHelper.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cd12ba949fddab12567b23622cb5cf3cfa58a645b555b228680f8ad30bca3e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: various close scenarios \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/io/TcpHelper.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"88599e042229c49c84449da5e08cf2e54a4d000a027ce37325853b1c451a8788"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: should we read as long as possible and only then report an error, that seems somewhat arbitrary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/io/compression/CoderSpec.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcfaadafe6b9beb5d37cc8138c3bcf3c45c2526800f2e27119e37aa2224ed37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make it use remaining? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/io/compression/CoderSpec.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b0af15a7c8ffe509d8ea22a8405e23c4a823070696432ba1dfec0f0b971968"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME needs cycle detection capability \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/scaladsl/GraphDSLCompileSpec.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d179d6c24e22a3753ba5842eee07469c4f8feccba3701e6e58a4d6a5c318da73"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Flow has no simple toString anymore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-tests/src/test/scala/org/apache/pekko/stream/scaladsl/FlowSectionSpec.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b7914ce165744c31f84180b0989599c566a056ba01a76694c12f4922442e08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO would be nice to provide Implicits to allow .ask() directly on Flow/Source \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream-typed/src/main/scala/org/apache/pekko/stream/typed/scaladsl/ActorFlow.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"508441d73b41b5edb0f14d7dc13b30e51536c928eb9547086df2e45ecb43682e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: make configurable, see https://github.com/akka/akka/issues/28000"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/ActorMaterializer.scala"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"08288ab3aba5b5f0ac7ffdc71211a0983c3b6f45b735dc57e693a1d745185bbd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This is completely unnecessary, refactor MapFutureProcessorImpl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Transfer.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3329788034130137c7b18b419d057fb931f5f22e9aec389d464effa399466e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME why do we need a global unique name for the child? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5b8ad13e375b7463b8a176da69a5fb33005958da4e6ba7f8c766dd026a756e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: bail on unknown types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/PhasedFusingActorMaterializer.scala"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f97faa85f8970348deaf0f402cd8ec83276cb7d2dde754cc9abe376e896b7da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Amendshape changed the name of ports. Is it needed anymore? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/Modules.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66b56693f5926a9f9281122e3cf3e34132a037d99d8f6ee6d562741a712e30c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: use arithmetic exception to cover error case \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/JsonObjectParser.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66288242ac6c368366af009a10beb8b50cf27f6e55fde27c15af93b89345f26"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Eliminate re-wraps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/FanOut.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"729e17e5b7623065a162a5276f24894e54e1f3ae40cf193c8f219cbb3c560c37"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Eliminate re-wraps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/FanIn.scala"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"125e9f62946082d3857e8f62b28a1e537b276fd83cb441cba80ac4ed27ac899b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: buffer and batch sizing heuristics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/ActorProcessor.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b855173fbfa2ff07ff1a1a61731f63f50a8a20ae0ef819579249426aae17b124"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement restart? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/StreamOfStreams.scala"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc56b2d1a73b883612ae0e4d5f66d4ed301829ac78dc9a326a57272fe196f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO more optimisations can be done here - prepare logOnPush function etc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c2105c10fffb2db9c5ecb87672afb35dcff0f8baf9001a9b5b772aecbdd2e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO more optimisations can be done here - prepare logOnPush function etc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3041fc0134877db5712f0ed0b2c4ea30ad4ec7b565952f26cd74a38d8e724bc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix variance issues \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphStages.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"463abc17d81d7b503ce85ea2f3eb66ee5dcf2e99ca776b38c467cd9057d58d36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This calculates the maximum size ever needed, but most assemblies can run on a smaller queue \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41da979f42191e6266975e553b6bf6eff4d137e3911bc6310b3ae6a878830cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deadlock detection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/GraphInterpreter.scala"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca36377c8a2af67fa44a3143e9d3db5c428a68d1cf333d6655d3334ff90cafa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add interpreter name back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/ActorGraphInterpreter.scala"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54beb56387dbe5fac246ab9e11786d5bc3927b53cf25c08d61a8aa978a42edd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: really needed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/ActorGraphInterpreter.scala"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b850e4ab05f5d7a9334552da08244cb7595a5f2e5fd5398af8ee3e65e6ba714"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix event limit heuristic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/ActorGraphInterpreter.scala"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ab7aab4c91b6a189f1f0f91159041453694e410438f2f05453615a1efeb318"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Better heuristic here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/fusing/ActorGraphInterpreter.scala"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d8afc82fc446e04466cc1c60a45d6e08adf06209c92cc7c04d40ee08bf7d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Timeout on bind \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e451d9396c1203c57dfd54d551f61de54cfe16906079b6cd291735334f33f583"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Previous code was wrong, must add new tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6094f7ef5efead5eaf4e44590d32116040c777d5543c99df13e75daa5d4b1461"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to manually shut down instead right? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"160662337e939cc27cca6c18607d8de6248a470ed021e273c9b8934e97b36a1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: A method like this would make soo much sense on Duration (i.e. toOption) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/io/TcpStages.scala"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a059cce3b0f82cb910651f00fa88ab01f0db1ef66949be02f02d3a15901b6d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO introduce a master with which all stages running the streams register themselves? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/streamref/StreamRefsMaster.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c78ebad8361031011a13686e54d31493a5bf2dc6662e455b5f82c8ce295f4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"497a7368032179740dbf9a42d8b8fd0e3df2ec23cb7206e77c692f5bcc9a28e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f272408a722ef6f00b997631bec0970167b3f83c123550d81a41a49514e1f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"3751a7038f191143a8d554949393701de001a1b651433ec771f6367033a3ace4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c42a26c722ec82c413661657850d4d41b50f366a757ca55bb1ff7ef382128a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"c460956677dfedd0ce7e380d4c85bb3bd5665c385e1bffe031a5cc44fab3319a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"26043b90547ad1e2746cc30592900faa20272723f99fc5d2d73ae44a0602d805"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac72cc5b42cf2ad2d276562d313168adb4f274f7ea54bfa5cd8ad1b4585e3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dece39c5fe7ba78dfb1dfcda0624e25ec6038ad60efd37eb4d188dd9cf7e3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"df06bfbbcc0b257c1516066ee0af87500117c5726a3e7e3a1427cf25494e9c79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed56aa20ce7124f2457ebab8adff0465f30238e52520bc2837a6850936bad9a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f792a5e827956022f8546925a6a71fa7650c61dfec17f2576dd943bcb2d5af3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d1c659fcb162022968bced85afa4725f5ff9499c704a677d6d9f0ec9329d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO optimize to one step \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29513fe4fd9ad10b53b882de87d5a581714056d1c6b06fd6f6e341292747bcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe this should be a new setting, like \u0060pekko.stream.tcp.bind.timeout\u0060 / \u0060shutdown-timeout\u0060 instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Tcp.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088a1e7ff22513e8cd26fd8a822802d9f5e9f7c2c0158e0a58a5e94754d8ddd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO removing the QueueSink name, see issue #22523"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/StreamConverters.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c782870908fe4b5fbe40bebc7d17b2662a6fec8f700b6b4b70be01dad1eee"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Out =\u003E Unit should stay, right?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Source.scala"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b338227be3a161d7c801dbb344480965d81360522b02ac71352139c171028e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME make \u0060PartitionOutOfBoundsException\u0060 a \u0060final\u0060 class when possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a054fd95af41e2e823ff814aa846841bca0ec117f2648c4cac4a3edc43a163"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME BC add \u0060eagerCancel: Boolean = false\u0060 parameter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"93432e1984a95a3fc1d3baaaed33ac79d9f9a73109b5dc7f2c570d82d1b6ee31"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME BC make this immutable.IndexedSeq as type \u002B Vector as concrete impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Graph.scala"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baef9137d3a46636d03916d39d654993a17f46b93253710406d68c6ed6986ff"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME arbitrary timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/snapshot/MaterializerState.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"897971eadc093fd847805e4ce27168ffe32254a380e9b4790722651e67fde2e4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u0060onClose\u0060 is a poor name for \u0060onComplete\u0060 rename this at the earliest possible opportunity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6b29c04930f21460e13685d31f6848c35d6698546de9e7c4d6533ab50ae4b1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u0060onClose\u0060 is a poor name for \u0060onComplete\u0060 rename this at the earliest possible opportunity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4c15ef501056d360db8a583ab8c7da4655cf43714cd39e8ca33aa86e672ca"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME why are these called PF when they take a total function, how are they supposed to be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef86cf90dc2188d07a7c46a708078bd51f46aac600acd7630dba28264c16cdf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how is this supposed to be used, scaladoc talks about a partial function but it accepts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8abba030df1bf187b1b477cf2b54162351d035afb8840836ccf5af87eb98455"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how is this supposed to be used, scaladoc talks about a partial function but it accepts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ba71b1d627bc54328c4d467a80bf6f0f9b858c506fb83ce983e752c7d07b9b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how is this supposed to be used, scaladoc talks about a partial function but it accepts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cfe0efcbccfb92e3aa2e8ebe9f5f51330771cb63f6f1b4924b676d652109e1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how is this supposed to be used, scaladoc talks about a partial function but it accepts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d71355c304dd49709b753cf062486d1d412ad26970a0fa9683e9b0aa03ab58"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how is this supposed to be used, scaladoc talks about a partial function but it accepts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/java/org/apache/pekko/testkit/javadsl/TestKitApiTest.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a70b5955999bb9f326516701f10f009590dc72f4aa75c6beaf8e3f2a8e3a18d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo not sure what else needs replacing, while keeping key as readable as can be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/test/scala/org/apache/pekko/testkit/metrics/MetricKeyDSL.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"118ed1f6e07589e1bc0eb945e1f2a712ef3c23d2a889b5d4bf7739186b90ba1d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3fe1fb2ba05e33be4356dc5e334eec97fe3f8cbe53ea629c39dac90d4193e7e"},"properties":{"commitSha":"880a6b64d054489401cbd5d032645da9e7d8f3a4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e0705a96dde1fe04cc3d3b24eb97b8b5360c1138729415816c16965e5392b70"},"properties":{"commitSha":"880a6b64d054489401cbd5d032645da9e7d8f3a4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f318e92942b3fc2f4a51a7176bc6cb8b7c16637b00a49c892e2882996570bb7"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68233fe058264b8e9fe59847c1231d76aec1f9168b1214726863c9d0079cc94e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c86f8c135cee1fec1ad81181a52efe835e110424c05a2ebd8ca2e05c910ee435"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c026e71c31d5a0d7364c541b250f2aa63bfb94a62d74acef7b2717ab47981e72"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b975a42dc58eab0d398d0e5234c6b9022fa7f6a1d52d81569fd6d715261b665c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0518733fa3331e8369848ab65d22bf25c1b37d4fae2855bebc095797b3473a9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09cdf5d00b88b5a6cb4517aa0307aa58d3f373d37f3a6e2631d791dcdedb8155"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f7d6ccc62f843a2e58b8ada1c2d6253a1db6ab6233fdb5b20b39d2c61e89a0d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec0a68bc4342cd3cbce829ca6be7c255f69c58be92ec99248ca0df40dac9accb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ae579af1f414cc844061aa5ce099de628db29fac7d129d552998aa687674b0d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e101a5c34375c76c611079884a160e83b6981130f238b22dab09323f1b107cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8b5a4fcff1a03b9a73a2f48468397cb8ad6e3af4541bbc9aa0027fa01ea6f5b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5214498535a86f3ed448bb4cb816be0b7948aa0abaa8e1196cae484e3161c5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9a034de8b584c0d0c2bab6ba7cf79a0b481bf71aa620148208137b3c5f4aee1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d931f2b9426ff4ca5f6dbd786f58269950f3012740c80e089544fbd54f31599"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eee26f814867e6223fd4a215b77b0dafb01d8cb58e5359da5eaf95176c3d9fdd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12c99f458db4ff7a598b75c6d41bfbafa8ba248605b33b5703a901ff3e257be4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1a5bb75f4cd0d26e8c8e3d8bf8f6a4271986eec6937d514c5cb82ecead35f12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b97755f375194d7faf714028dd7ab5a194e5f286cc9d23772e7a1ac636d09d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd4869adbf374c89aff0e608eed7d3bb9a77cc3051849f1d828904747630808e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4338f0619cb1296e1bf16362f9a4f973edfb251b28b59697c7dbd106cd86a5c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c57f425189a5e0fbb116d1c09767718fb953af71e444b5589bb37d5786d2d08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"790c2448c3cfac260c717458c0cdcc3a92344b8532810df84828ccdf86ac5303"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5782da37020816947e148be684fc5e18cd6bb486cdf16dc982caae0b00ffe0a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f3d175bbb39ab1d662cca609be204ea783dadf1247e780253847388dfaa00cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9afd349e10f08e711d24d622639556b769ccc59b07a7e8642d8932619aed962"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8efdf4393b1250b98fdad951471e67888079e2bb6c304c7d9914a70989119916"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1385fe8d3bf3a4b0fcd36cab84fd834dd92288bf331bbfd40f4834e573d4d0f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26e7e4af24d80d55de2b11c06e508f1bd8f5b10f45d0b5037d26a8243bfb85a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9bcc0b9a192af96865599d1f5accddfa7ef3534daf225dd6fee03644b8a612d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"554931e07369d736417cbb4aab3a4deafe20d145138e7f00dca13936ac42f7a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1dc7a8153999f07a7a5f163aa1f1ab4d2a3673c3381b1be83f7b8d52fbbecd6a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69c3c3ae04a4b02efc837f588e65f7f12c3bf157c5d579c3d31cb15ccde4c1d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f40a69e80ff9cea06e060654298f12cb6e383806a2365912a5adb9efd9adb9d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e7d7812b3fa5086dc01b73177e5746e52dcdcdc34255d3e251869b618697e14"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80181efc5ab52b078bab4186699cd6710ec802a14783cd60881d93024cc83335"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d15868660e5c6fc52cdd66ea77d36a9e44de2ce155e82fe35099e2e3e284de3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b2d3c50052396f22da9d0279eee427ed3b78e697a217f518e9c949ac5c074a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03e113d770db529aba2291f140effee06819c6b71a038ea4b980f50bedc37b61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37dd8d9cffd818e07ac16defaf9b422ee486a7b64ac815e6cbfbf6d39a4969f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87f12b6ccd8468c085a56e175cdfe8fb6b34c85da9989ed0f5a1e485845739ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05525009e804b0973b3fc7ddf0f9aebc7f420352a1af1723af4712ee28441f9c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"128f0f006c95b967c6b79e0134d13fd298fb22827519070ca4d2fec58e83070b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a546272a6a11f884064f13579ba05ae222004b4b0a4546d0e5046b223798943"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f50ec44518542704c3555caee801efda13d297cb3ff66cb8ec869c8d52fda78f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f528996d128ac1641f786020827c655a59ab3f0c107351519e0c81b7df9a80b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2059a8a379cff1207fc6c3b52ea53ab70e6e7c04ea057357ca24cf4d69053082"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54f166958117ab86171fbae9cd8d6bda47219457f1fde80c38150d011f14d826"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0fef93a59d4238609b28b1098d688af7617f7d8f6a5853efed85a016a06892e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95bfeca67f0c2aa9e56f46162ddfe9f25e91ab6f5a09638a05b6e79892b9167a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a606394753bd92df934955b694a8d8512d41fb98b95bbe471d1314e1e3007687"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78b42b56dea49c45f717bfe13a9df383f4b4409ecad9e287a38ea942bceec552"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41875b1d41f3d2d7cec3e4ec81e823f2494e8fe7256c15b0d1c4bc436178a1fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6a3bd2a42a1383c1ad4fc1b6bee92eb9789b6ad99fdc758eda8ee52617eddaf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41b1d1b317b5ea1979c25e50dde2a27ac980cd3a77096ded1f89f1e5d04053fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61047fb5d5f98d5c9270d6070ee13e25aa540feb0da9b59fef4f4cb09c30d9c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3682c5f78be9b97309b5abe61e21291f1fd346e9698a439c53491d66997d2826"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb8486d11fa5b267776f328f7ddca1b81d0e48cec05828f0d12f998d7cad85ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eb0a4766015d1e7e03afc2cf2a2d0ba324e37b189cd5076e9c248bca9f1170e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"077341cc5f93b45ae901eb0452180599862d1589314c76b67f1c193180cf70ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11e63b3ba300c152061bfc06d8118cc281f6313b199b41e07b61b43444e7ce71"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f1f02783bbbf41ca11dbf7a7c1f34df8520303b3e826ebc8de8f895beac749a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b84c8c0b0494e01c1a988e96c01e411dacc159bf807fe94e6e123435fefdde8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f34d81bcbc6f675e52ea8529319f4a2de75c2b495e771c16c1bc980a44bf092a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61c2c7414df072132629cdbde31a67be8986d5fb920a4d03240c76da16c14fa1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"361eebf5f6b98c65d857dc672f19cfb4963cd33704ce105a25e323aaab41b403"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45eb02fc7606efd0cc04d8df0a58f9b3d6731d45ce8953d7a4d6dca4194a002a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba2139b6dae5fe23adf4f2a5b226fc191f6c92fbe061493471cffd6c0e9185f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41809a32e512f45c33313eb3ccf5e323782c81b6844308e794299b565b7bec3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21d36c6ee57a7aee48144ba2f04c68a267b04db9425909c0ec70cbc058145d73"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b913440968c2bc044d0a455a764f5e785452517f24e0d988cf863288208ac4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d42c31315ef6e47d506ac1a102e51f771ff4760bad4be82db10eaa3077f3baa8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"647997aa4a221cc23ad202d999ccba9bc04387520625847e3d4546884d26b751"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7e5b913af692db861c287a16352f2bf3d73f330f162b47b876ee781b32d663a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22f1ed3941187ec399c8450458bf3cefd1e90f3a08e5c77153fcb9c49f628279"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21cc77d66ae81cd231b2395c4a039fad076a1a8a336ab0b3139e241fd5d0d34a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aafcd5bd267870cb2cf699806206863ffcf75b2d5afa40ee23defea006f70155"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1aabcbbeb81e7d2389f65b7dcf7c8314ef33a208088b8cd9fb74e668807fac9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5ac7eb51b215bbc49e65188438d87061e335f60c58367d8cdfc7528bdd709be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f8f6c7aa123a33a6178731b245ed0683db242dabfa82e7127a558a64183128d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bbbe673b087d102a5dc53f99a91d2995550f96738d34c09be4ca7191e9097cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a25213949cd2beb6a1af4fe6cdaf6613211900dfeed4b9c200cbd5f9e42b9a6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60047abb1006756ce3031c8c49a68b6a21f41489764efef319549fc34aa58fcd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe844d65f9c46151ea54567d7678d16eb76632c8e048d0e84751fb33f2327163"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35ee04d88813c1506a8fa1c09461083970877446319b2a468b56259d67ddd368"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc00dd64d1a5d70a620d8590c40a1a37c69e5444da77ab024d3aa311142644d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b251647dc0871e57ab50b8e57aeaaf9e1febb31995fa9af06039fe777d3cde37"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5f4f3a17d9d54b347881db3c89bc05e749f3fc38849dbb48c1edba28dc957cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8070184ad58bcad75e4fcb1ea50bedc88f0aa44a25d77cd3939f400dffb2ada5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8766c76aabf2fad9c8399523a8a2e5dec747675caec7589f3ca4c08f956bb5b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3411cd584404643991b3437073838e0b5b227fd8dc822d303b1d17dfc656352"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c5412f27d84a5d82682828e6cee9d6d652a4f351f0b336a9941470fe788a4d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24140dbbd4b01ad9653cf2a214d4b2a00ea3f0aa66ffe36867176821d0d21e56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07a6bb1a4dff21aff3e76a02a7732db6dd7c614822b8cc5232924523eccf96a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd6f76067bdb9375e98778c0005aa8176772b741a2dc4eb81e61d94d3658dade"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f537dac3552aeef5678280cf0d4a22f35267d60d9422e93d42d8659e604e1d9f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41458de2e1d58bc7e3214e3cbf98793f822dfe25b4bee666c601eda4804d975"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0496dddb5c93c731d14fd09ba75865e638cadb61d130a172ea4f42cbff252a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5496044a4d6d72d862501731643e2e2bb436547c3c5e5d3cb89b589b2378322"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8266bea5dd441d3cc7c9bd744298217610c4e18964c5679c3c6e58fc53154ad1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91da456f8f6335fe0aa23cdc3d78af48e0e335ec8d252d463fbe7d95c086bd92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33b4ef1b85d48251bc829527e25882a490fa86d4f64e0e2b940a80bfdfb24234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a0039595c62c993e5c03c1bda59615ea872a600e5fdd38f0e2d3e19c498db59"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3cd1c3bf63f45c62400a780a4b4c66d575d9ada21532b0657edb234ff188ad9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94a76e14c2b6368172cec8660f7be8a9d3259b0d5c35bd242ce6dd213301ed0b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"665b6f6b837dbd1320b633783682675584d29239f751dc341f902bfbe4e6fbf4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8c643588692b6bb64e811754acc615bd61f3c99e49c71d58740998897b41bcb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"204bcf4a6a631fab76d24692b3353abd58f8a36f40afb28ab844ae747a907c57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3147fd409f2d17552828013ee194bba90ad2ddbd7bba9f44b03e0ffe47acb47c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea9c2ecb58908a4dadb29eb9407e8dfffcc3b5494c45b212fa28b20d6ac0dc3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"660bba5c7520d72968d3a1e2523218d2771bfe91e18ca5c8c34c86a0eae44c18"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26687a4cc64e5caf88aa37f2e6724d7aa6f2de6155b12f3ba32ee8c18f834feb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1d7b26c3a43b3af837e5e71ddb7dea5217412577fc13a633153e0b7e3ea2910"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e5d93519c6c32f64347c74a1ef050b490164fe929a605b4a0275a0cefca6567"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d54d28e1b2f0ec3dd0e05309df40868ce850734dbed4a9014d85b4b2cfd357e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41db9883d76f044f6f232f59097ac5a49072de276dd9b8b01f2dfde043fe4380"}},{"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":"4cf19392b05986f0a326a6116de91b97064254bb52ed6d4ea3aa79b6f2ed1dc2"}},{"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":"0e12df51a4e3a917b898f45ce22a76fc62abbb64059e4fbc81994f750e724885"}},{"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":"79a775f02cd1ea1dcb11d70cc1d0a690bc74bc1be5b9db39178d3fe2c2b1e7f4"}},{"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":"b9d2d3dec1a6054ed97a73bed588818856c66f5f24a53bb0f14919f177756ea1"}},{"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":"ffb5deee60a5787136749f285fea079ac439f5ee4ddf81a287d76fd567d0d436"}},{"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":"98b1b429c6c8bfa3cf2391bf5f8cd4a350e30e0c81c3542ad8cc4c0f99523dec"}},{"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":"28a23a8607b26e3ea70cb03f98ef99cc99d12687711eb61ac0368d32f38e721f"}},{"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":"80fc4a371e87402e4cbbb1cdef8a38fc48c3412cafedfcb6f1f4f0744677f7dd"}},{"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":"223a781a7ca6b499c52a489c4350172041a05a905727a9b26577b257ceb52434"}},{"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":"c8096cea40702a774bd59412b2251b63392257d48c958283bb367ba7e7975b9a"}},{"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":"a725627ca880c00063982eca8a1a93c42aa61d244ec7a70463eed8e732bf152f"}},{"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":"d9d17f548e83b759fa08dbd2a17fba98fd95dc798ffbf39067f9b3682887bb3e"}},{"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":"2a605c4c0b95709e397d4171af974a8601c0cd0a1cf646f7f84d8a155b65bd5f"}},{"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":"98c6fa4594dc9a7e197d01191a65000f93093e933953dc9c17565426d44e0882"}},{"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":"5201c7ccd3d329e38239702128b82326ceb555c6b60b233f5c606fe3fc747ff7"}},{"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":"d0644b954b281bf68c26eca94dc470c198ea94901003ca32e3c6d85dde90cb6e"}},{"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":"330b883374e8b3f1c056dd5fb7e351397c4337433a417f79f809063cfc2836d8"}},{"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":"c9bc2dffb5b5942020c1b3fc0391dc4d57aa6f3e79118ea783080734fcef7955"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a6d5b0ba376b7fa10443751273cef224c145eb43d872f364686ecb6de71374b"}},{"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":"dd19a82ac37c89e1c8996eb454121637c5f0b05aad0534705206324208a0500b"}},{"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":"e47129a5c2249f0b4fbddcc48f8df96711dbecb766bd1447688f6f2fe704beb7"}},{"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":"79e64f421a78f1ee94db8d29ad773aae667c5d97bd3e81cd177d67f8f4c494dc"}},{"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":"357ee46c924d156b4af4f95830fff1c4d6416032ed7579c93f9eb97847743715"}},{"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":"612297e63b4448ee30e4ff7788fd877b26e13760b0faa7de6678a5d3a8aef3f5"}},{"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":"5ff4605a5f48f78df854390fa804298cb6afe735afef648aa9be8fab28d34f73"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e1a7ec0cc2651cd05cd0e3ef48b3ce6bc1984bd6b6afa6a699b42be96d7734"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/actor/ActorRef.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"059aafa0376363f3e31edbf4c1d57eee4220b20c75d0cfdca037f60294508911"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/internal/EntityPassivationStrategy.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5ce52443bd0c41036c54b612a92e2d394956f38514c43355554ce54d53d5e9"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/Codecs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcdaa13d9147cb73df386438fbb48c5cf23d41ce8b8577d0e517027ace066db"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea48d7a9f10e83b9319211fb53b24ef0bcccb1999478211261a7a0d18556b1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor-typed/src/main/scala/org/apache/pekko/actor/typed/delivery/internal/WorkPullingProducerControllerImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7410c761f4a5ece3f2bc4c37ee463ae06bd0e707a3b822c55f044e0c164590"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-typed/src/main/scala/org/apache/pekko/cluster/typed/internal/receptionist/ClusterReceptionist.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68c08d1122f34719fb50c604b50c1ac36906eab6947bc57aec79c58e209ea9e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Conductor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4539056ff865ba01008dac68933af3ec11b54919509d5a837ad9d571cfbbb15c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/ClusterEvent.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ec9a8456776485dde9f718032231f40c4777c6a8dbfffe7a73be55fc36b4b"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatorMessageSerializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc1ece6b69abaa1d2eeb6fffdce98193a28842d6c9b4c6f0fff2d8824458503"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/sbr/DowningStrategy.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170dafe8b5904fe1fa1745e7ace9aee407a0c7190e30ece086a17f11c38bcab5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster/src/main/scala/org/apache/pekko/cluster/sbr/SplitBrainResolver.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606a8638dfab4322ed2566fcd8a36fc617347882b8888621c7407f049b77fc5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/impl/StreamLayout.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349ed7ecd4624b7a394dbc2d4668fa36e991fefba0886ab489b18287d85bde62"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"actor/src/main/scala/org/apache/pekko/pattern/BackoffOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97c43eb8554d32e2845158ec7336787513802cadfce5902745c9b4c81dd8451"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testkit/src/main/scala/org/apache/pekko/testkit/TestEventListener.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ed57600d84d5ba4d4749fa5d7e87d725af3f60a66374e429e5b3f4506332a4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cluster-metrics/src/main/scala/org/apache/pekko/cluster/metrics/ClusterMetricsRouting.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc13077f0ddad16bb710ed79c6dd212220fb72f87f1892adf50bf52a810a2647"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/artery/EnvelopeBufferPool.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26202cca0e864dd7231bcd68f3abbb216a8dc7d85eda5ca65808fc52cb9643fb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/scaladsl/PersistenceTestKit.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c4fe906998696f8cc6b991ca2c2550a6d81ee08a9c1e441dcbf10ab98f229c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/scaladsl/Framing.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a514307dd47da6892314c0a98a0f4c69264c26e0e518b83c53f019ca29e8427"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba4d1c71c1940ce318093a1f4858fb2d7196a277215d1bc6015d03b52a7a5f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 400 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: remote/src/main/scala/org/apache/pekko/remote/transport/TestTransport.scala, actor/src/main/scala/org/apache/pekko/routing/ConsistentHashing.scala, cluster/src/main/scala/org/apache/pekko/cluster/MembershipState.scala, actor-typed/src/main/scala/org/apache/pekko/actor/typed/receptionist/Receptionist.scala, actor-typed/src/main/scala/org/apache/pekko/actor/typed/scaladsl/package.scala, actor-typed/src/main/scala/org/apache/pekko/actor/typed/scaladsl/Behaviors.scala, actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestProbeImpl.scala, actor/src/main/scala/org/apache/pekko/io/SelectionHandler.scala (and 392 more) (420 orphaned of 909 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 909 of the 1311 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FlowWithContext.scala \u2194 SourceWithContext.scala: \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/FlowWithContext.scala\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/SourceWithContext.scala\u0060 change together 86% of the time (18 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u0060a626d621\u0060 feat(stream): add withContext filtering and truncating operators (#3199); \u006060c480ae\u0060 Add optionalVia and unsafeOptionalDataVia; \u006006cff559\u0060 some doc changes (#1177) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/FlowWithContext.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1565881650bfab7b00b6326ec65d549e331ba614c268d66327121fde77d55a57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PersistenceTestKitPlugin.scala \u2194 PersistenceTestKitReadJournal.scala: \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/PersistenceTestKitPlugin.scala\u0060 and \u0060persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/query/scaladsl/PersistenceTestKitReadJournal.scala\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600e10d291\u0060 Implement events by slice in testkit (#1533); \u00609230df8b\u0060 Implement EventsByTagQuery in PersistenceTestKitReadJournal (#1532); \u00609fb76bbe\u0060 Tagging for replicated event sourcing (#29442) (at that commit the files were still \u0060akka-persistence-testkit/src/main/scala/akka/persistence/testkit/PersistenceTestKitPlugin.scala\u0060 and \u0060akka-persistence-testkit/src/main/scala/akka/persistence/testkit/query/scaladsl/PersistenceTestKitReadJournal.scala\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence-testkit/src/main/scala/org/apache/pekko/persistence/testkit/PersistenceTestKitPlugin.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51d15b44dd16e58bd294bea19957a13bb0aee0426656f7801642b61b83a1ff2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SourceWithContext.scala \u2194 FlowWithContext.scala: \u0060stream/src/main/scala/org/apache/pekko/stream/javadsl/SourceWithContext.scala\u0060 and \u0060stream/src/main/scala/org/apache/pekko/stream/scaladsl/FlowWithContext.scala\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006060c480ae\u0060 Add optionalVia and unsafeOptionalDataVia; \u00601b1f5722\u0060 =str Tweak the stream mapAsyncPartitioned operator; \u00607bee80e0\u0060 mapAsyncPartitioned / mapAsyncPartitionedUnordered (#561) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stream/src/main/scala/org/apache/pekko/stream/javadsl/SourceWithContext.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1dd84a77363c0b4c7c75f0935f256422351b0c45023e2d825efb487c36e97a"}},{"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"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"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: RemotingErrorEvent: \u0060RemotingErrorEvent\u0060 is a present-participle name inside a persisted event ADT \u2014 it reads as an in-progress intent, not a fact that already happened. Its siblings are past-tense facts; name it for the event that occurred (e.g. \u0060ItemAddedToShoppingCart\u0060) so the event log records what happened."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemotingLifecycleEvent.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9f902da51215f39577867d8c3cc4d72239c08283ed5eafb124edbb3b149209"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: RemotingShutdownEvent: \u0060RemotingShutdownEvent\u0060 is a present-participle name inside a persisted event ADT \u2014 it reads as an in-progress intent, not a fact that already happened. Its siblings are past-tense facts; name it for the event that occurred (e.g. \u0060ItemAddedToShoppingCart\u0060) so the event log records what happened."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote/src/main/scala/org/apache/pekko/remote/RemotingLifecycleEvent.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"956150d8f63cdcf47d1d0ade3d31c077aa0215312de4a6f51c4507531f83b71b"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 841 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced \u2014 a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}}],"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"CWE-321","shortDescription":{"text":"CWE-321"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":149,"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."]}]}