{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.compileGraphStructure (cyclomatic 121): AgentCompiler.compileGraphStructure has cyclomatic complexity 121 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d57835b6a2e5d760366c756985207d2685c840f21e02e8a70dcc58918c5c7eb"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleADKNormalizer.normalize (cyclomatic 56): GoogleADKNormalizer.normalize has cyclomatic complexity 56 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae4a06d1f69935b1ceb61951de5b8b09400b03b80ce686a20c5db42e2bb911f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentService.collectAndRegisterTasks (cyclomatic 53): AgentService.collectAndRegisterTasks has cyclomatic complexity 53 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ddd0ce8721d56f4066086a90dd373c436123dd37bc8264156d7bcc45e7c5b6"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanAndCompileTask.compile (cyclomatic 48): PlanAndCompileTask.compile 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9663bcb7dc4194f7d0da7f76e431a3d356e2dbd9a303b07e7367f52e6875e1"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.buildLlmTask (cyclomatic 42): AgentCompiler.buildLlmTask has cyclomatic complexity 42 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a790a7e6a55cb721f09fdf1338da8323f485a0ac11486497319649a3a1f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.getHistory (cyclomatic 38): AgentChatCompleteTaskMapper.getHistory has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7475f69d40b2769e88c38ae062f3674cd6dc9710d1b401227b0833b89c14a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.compileWithTools (cyclomatic 37): AgentCompiler.compileWithTools has cyclomatic complexity 37 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5fa3918253d5d8e4f17a9d893415c927291fbd67b0c07da73983f81cb18299"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanAndCompileTask.emitStepTasks (cyclomatic 35): PlanAndCompileTask.emitStepTasks 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e164450c041c35fa9e1abc8df2099ce9d6e3d16bce165286945d0a49e6e47a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenSearchProperties.init (cyclomatic 35): OpenSearchProperties.init has cyclomatic complexity 35 (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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4cbdaadbf84ad9e9e792089a248be562dd53d5d86cedb55fe8be8520f0c2f3"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenSearchProperties.init (cyclomatic 35): OpenSearchProperties.init has cyclomatic complexity 35 (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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"955dd195381b34e59673bb3f787502f21fae894239d83065e27189dc5288e81e"}},{"ruleId":"D1","level":"warning","message":{"text":"DeciderService.decide (cyclomatic 32): DeciderService.decide 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":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f53c9615d7a78ebc38e52c0867d3c3ccf2c2ad7a5be227c336b0ecca160f5b"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanAndCompileTask.buildToolTask (cyclomatic 30): PlanAndCompileTask.buildToolTask has cyclomatic complexity 30 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ead08667eb763f6a71bf5ef894d457cb43a03144e829f0997738b4280e6d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowExecutorOps.rerunWF (cyclomatic 30): WorkflowExecutorOps.rerunWF has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14a8272045d98bd210c963a0286a52f38e51af0f9fd6fa15e191a90b19ee853"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 30): AbstractProtoMapper.toProto has cyclomatic complexity 30 (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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"f759e1783d4583622d3d3dca15324feadc2260b564931e57194ce15cd38bc521"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.compileHybrid (cyclomatic 28): AgentCompiler.compileHybrid 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196382bd9dae844101c56141df412fdaaccbde613cb03898f65a0ea79136644"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCompleteTaskMapper.getHistory (cyclomatic 28): ChatCompleteTaskMapper.getHistory 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":"ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6530721fb2df0886b7c5a775ab0a918b6cb6a9170812ba4d186f97f0932510"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponsesChatModel.toSpringChatResponse (cyclomatic 27): OpenAIResponsesChatModel.toSpringChatResponse 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"527d0ab10b766118e3ca3b0bd25a1944bc781dfb495acc5e80a634596d329a4c"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentCompiler.compilePlanExecute (cyclomatic 26): MultiAgentCompiler.compilePlanExecute 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aedeb5763648e5992058b14ea16b3262e2531d94f5e07456e5370f68343d69"}},{"ruleId":"D1","level":"warning","message":{"text":"LangGraphNormalizer.normalizeGraphStructure (cyclomatic 26): LangGraphNormalizer.normalizeGraphStructure 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d58143daef29ca1704065c5c614af585031d32e3f88b560bc329ee4bdcc62d"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.compile (cyclomatic 25): AgentCompiler.compile 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c584fe3dea59fcd49dbe1e2085073917c97201c82a229c8005eef88d257e1426"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCompiler.buildEnrichTask (cyclomatic 25): ToolCompiler.buildEnrichTask 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b598114ffbdacf31c43edf35c1a6208362b59fe8c11e5df5b96249df86d39"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiChatModel.toSpringChatResponse (cyclomatic 25): GeminiChatModel.toSpringChatResponse 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee307f600686425855a9bdc6c744da09fd03e20a8c374f14249e864de24405"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSystemTaskExecutor.execute (cyclomatic 25): AsyncSystemTaskExecutor.execute 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":"core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbf0d769c01aa0600f920645d61a4841523334061080e4c77cc7606f1a97fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowExecutorOps.updateTask (cyclomatic 25): WorkflowExecutorOps.updateTask 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"5327e3ec99782deadb0ffee3fb5ec7445be1259e82686fff4097ae8f988fc12f"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 25): AbstractProtoMapper.toProto has cyclomatic complexity 25 (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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb2b80da11a0ede76a267b92131526604d605014a31b4a87a301808ed27ab04"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSweeper.sweep (cyclomatic 24): WorkflowSweeper.sweep 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":"core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd402bcd23ee8c3c06396a57e38c0a4aff59563b2e1db160ba876e4ce4913c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowTask.next (cyclomatic 24): WorkflowTask.next 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":"common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9597e28bd24cc80b1e558cbe7fc940c046ecd1eb8689564b71fb5eac8dc536f"}},{"ruleId":"D1","level":"warning","message":{"text":"ListApiToolsTask.buildInputSchema (cyclomatic 23): ListApiToolsTask.buildInputSchema 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"997bff77d135f9e7a4a0dcec126bfd87c6b1ced1cd1125faf88a888786699140"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanAndCompileTask.resolveRefs (cyclomatic 23): PlanAndCompileTask.resolveRefs 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b89a7f5c9df5362256df9092ae8a72199e81f60400841cde03e614241ff23a"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutorUtils.computePostpone (cyclomatic 23): ExecutorUtils.computePostpone 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":"core/src/main/java/org/conductoross/conductor/core/execution/ExecutorUtils.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9bf4c9623ab4db6e8319e47429df42fa03704a03ddf84edfd920a12d7799c3"}},{"ruleId":"D1","level":"warning","message":{"text":"DeciderService.retry (cyclomatic 23): DeciderService.retry 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":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17355bf425bf5c17adb3f32d34beb18fc1ea606e0d2af7b06bf29f866ea4eda"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAINormalizer.normalize (cyclomatic 22): OpenAINormalizer.normalize 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"145175463aba54af172efe5e7ba8641afc4aee2add71cc7bda72a0ead8146fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModel.buildRequest (cyclomatic 22): AnthropicChatModel.buildRequest 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"15916f72151131550a82453fc4dc55e24adfe93f37ca56fdb6f08bda88de2e66"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowExecutorOps.decide (cyclomatic 22): WorkflowExecutorOps.decide 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e1073d05689db8d0df7f90769f9c8a2af04941c8687b516da56fc67e9a067"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCompiler.simplifyNode (cyclomatic 21): AgentCompiler.simplifyNode 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a1aea2a8b7a1ceca02e0f0c27be373f4941c192426a00f2baed680df1804f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCompiler.buildDiscoveryTasks (cyclomatic 21): ToolCompiler.buildDiscoveryTasks 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"1198e3da6f1f8cc0598495c23b960bb89f64d8c1ee0fed7f208a6aacf4c8da6f"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentCompiler.emitPlannerContextBuilder (cyclomatic 20): MultiAgentCompiler.emitPlannerContextBuilder 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56f24e45b637b5d387c930d3b77a5f685d36682dcabf347efb34fde3f86e7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCompiler.buildEnrichTaskDynamic (cyclomatic 20): ToolCompiler.buildEnrichTaskDynamic 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad44691e29e944d219223b6348df27ae04c1a279338142108dac599b1a070db"}},{"ruleId":"D1","level":"warning","message":{"text":"ListApiToolsTask.buildPostmanInputSchema (cyclomatic 20): ListApiToolsTask.buildPostmanInputSchema 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec04d7c8cc84190e4f423ef521b5e7517fa77728de2f91d073354a10d56db1f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiChatModel.call (cyclomatic 20): GeminiChatModel.call 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b385c7dc8e2d3f20251afdea44946025851434a2e7b73fd537366809c84b8b80"}},{"ruleId":"D1","level":"warning","message":{"text":"SubWorkflow.start (cyclomatic 20): SubWorkflow.start 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792e8b962ac17f7de63f796eb82ac9bfabe917572cf979e697eb7003d93e686"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSweeper.unack (cyclomatic 20): WorkflowSweeper.unack 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":"core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowSweeper.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f09a6bf8fc29f000bf803e7b2a9ee3afbed965126d90cbc917c95a1e4b30a6"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentCompiler.compileRouter (cyclomatic 19): MultiAgentCompiler.compileRouter has cyclomatic complexity 19 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4f09f61c54942946342404f17c502df8369309ef76951dca25598cda3e5491"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanAndCompileTask.emitValidationTasks (cyclomatic 19): PlanAndCompileTask.emitValidationTasks 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cff2931e3897910bb3f46741846c8fd51705042e74420cc6badd56a9bde45dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillRegistryService.parseSkillPackage (cyclomatic 19): SkillRegistryService.parseSkillPackage 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7468d895475a46d70a5d1ccd54f8dbba354858be53fb70522ae2a80e6712b3c2"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamAggregator.accept (cyclomatic 19): StreamAggregator.accept 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":"ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32b07af9dc888136ca7ccb0742b1f5b19b8ea4579217fe520827a6972e1ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModel.convertMessage (cyclomatic 19): AnthropicChatModel.convertMessage 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e225aca650bc449c30dcfeba8978b9b2ac4c34f9bd38c469df33e54ad3301a3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModel.toSpringChatResponse (cyclomatic 19): AnthropicChatModel.toSpringChatResponse 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"982ef536e9834ddb58cb6e94bb71bd1bbb0ca1d40471bf68d6c86df8f5714a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiChatModel.convertMessage (cyclomatic 19): GeminiChatModel.convertMessage 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fed7bfb7bc10605882312cb1033584f3d7c02fbb51faa9b675df454acd40b70"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfig.collectDeclaredWorkerTaskNames (cyclomatic 19): AgentConfig.collectDeclaredWorkerTaskNames 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":"common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3907606436dab7203b577b51280e40927e28b7e9f1e21af7cd26ca78986860bd"}},{"ruleId":"D1","level":"warning","message":{"text":"DoWhile.execute (cyclomatic 19): DoWhile.execute 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd9d649c94d6f38c6d3a45fb7d663862cda3511e66b5c7461fedb9ab202ef6f"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 19): AbstractProtoMapper.toProto has cyclomatic complexity 19 (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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24e991a06697da264426f3fcdddce0911e4d8e0db0837f20232b6b2b2681ede"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentEventListener.recordWorkflowAIMetrics (cyclomatic 18): AgentEventListener.recordWorkflowAIMetrics 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b552253e6bbc4a4c7af6e9c23c7f1517724ba78734e6eb66bc09d36a3c5e9388"}},{"ruleId":"D1","level":"warning","message":{"text":"PlannerContextFetchTask.start (cyclomatic 18): PlannerContextFetchTask.start has cyclomatic complexity 18 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"208a7a50968f7483ef5279afe15f6a144a7b723b0d2d8b2751bad1ffc6b64a48"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeConditionInterpreter.looseEquals (cyclomatic 18): SafeConditionInterpreter.looseEquals has cyclomatic complexity 18 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a599d622119c90e00c3b765e26949405ba29af90bd6de4a17329e21d93d6cc78"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisSchedulerArchivalDAO.searchScheduledExecutions (cyclomatic 18): RedisSchedulerArchivalDAO.searchScheduledExecutions has cyclomatic complexity 18 (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":"scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a00ac39e16a87fb74e3b611f50ca581d36ccf67cc67d8672f88ef23d0854cc"}},{"ruleId":"D1","level":"warning","message":{"text":"ExclusiveJoin.execute (cyclomatic 18): ExclusiveJoin.execute 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b47e64fb4d523529d89f46f7e46074a7874eddf54134961d2db83c81550e3"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowExecutorOps.updateAndPushParents (cyclomatic 18): WorkflowExecutorOps.updateAndPushParents 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9503ed754f7c739e42a2496b0e16296ee37576edf132e603c74e415b1d50536"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 18): AbstractProtoMapper.toProto has cyclomatic complexity 18 (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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a7a182c1a7baea41ada59e9849cca50d9835bdcbbe403749f00d1f88506f8"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentCompiler.compileSwarm (cyclomatic 17): MultiAgentCompiler.compileSwarm has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8354bd2073cc4db35e195c8e8c8793ec957ba97ee68aa75c4a556fa2151169"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillNormalizer.normalize (cyclomatic 17): SkillNormalizer.normalize 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a9b324a960652dcfe19e7f6bd941121faf0a3cecca9a983f699acfb05084f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatChatModel.buildRequest (cyclomatic 17): OpenAICompatChatModel.buildRequest has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b4454709e75cb0d0f47f882ca7f6621fafb5b25f637b9f47ca8cffa794b723"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMHelper.chatComplete (cyclomatic 17): LLMHelper.chatComplete 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":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1b53e7954059d7d28e45405e5f7503a491776ecbb72a6a2663c4ba9f9b758"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 17): AbstractProtoMapper.toProto has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbed67ece5ffc6c132cd76d6b5fb0d2be371bd7220d9b0d5c8f5d8efdccc018"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cyclomatic 17): AbstractProtoMapper.toProto has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c37e2d9a1433cb49b4d59ccc298f4e881ca548b389ee098ace6af2b6b6698a"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerSearchQuery.parse (cyclomatic 17): SchedulerSearchQuery.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":"scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"679167d94a49554e0206fbfdfcf698e2744b69aa332c7aea190c179d0c6f177c"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerService.handleSchedules (cyclomatic 17): SchedulerService.handleSchedules 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":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01d91d8dc9fad3bbf6c65ea5e00c3a10178c1da0268e6c9d9783adda2a25bd"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.condenseIfNeeded (cyclomatic 16): AgentChatCompleteTaskMapper.condenseIfNeeded 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02b326425c4f819c24a18b401c05c479e8befbd4bfdf7583dd817fbe28613e4"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAgentCompiler.validateSwarmHandoffs (cyclomatic 16): MultiAgentCompiler.validateSwarmHandoffs 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e84b5134fc8241c51625675a5df01bad3c3b98ac063223522499169a29255"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentService.collectDeclaredWorkerNames (cyclomatic 16): AgentService.collectDeclaredWorkerNames 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3ce69af211dc064226bc676ec3700113bce40b09260b921f216be66e6cb58f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentService.inspectPlan (cyclomatic 16): AgentService.inspectPlan 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7345e9d151be3561a1d8871bcd46c2904c7f0c316660f6ffed9ca3619b029502"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillRegistryService.contentType (cyclomatic 16): SkillRegistryService.contentType 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"279f3def621918740cdcd51657cd26a41d99c7b181a4e2e545ddf7bd2c100d25"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfDocumentRenderer.renderTextRunsWithOffset (cyclomatic 16): PdfDocumentRenderer.renderTextRunsWithOffset 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":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce7d72c57d5c04db8110e500beeb8ca48722f60514c25e0dd18cce1fc195e2"}},{"ruleId":"D1","level":"warning","message":{"text":"A2AWorkers.buildMessage (cyclomatic 16): A2AWorkers.buildMessage 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":"ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4782efbd695b80c80971e75abad1f1b7e9b2b602424b301196c269dad267ced"}},{"ruleId":"D1","level":"warning","message":{"text":"ElasticSearchRestDAOV8.resolveWriteIndexForAlias (cyclomatic 16): ElasticSearchRestDAOV8.resolveWriteIndexForAlias 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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff438b653d639507432c1b9d0b0241d2f05bb5abddcba2455b1d5f6700ad36"}},{"ruleId":"D1","level":"warning","message":{"text":"CassandraSchedulerArchivalDAO.searchScheduledExecutions (cyclomatic 16): CassandraSchedulerArchivalDAO.searchScheduledExecutions 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":"scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"835bf423938c5a4e15fc0742924fd3dcc1fa3948a8c3dedac59ec154e34f21f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AMQPSettings.fromURI (cyclomatic 16): AMQPSettings.fromURI 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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/util/AMQPSettings.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0770252f54a9bccba7fae00b42ca0d71cac86a9a57f86e9db200ee5829d422"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionService.poll (cyclomatic 16): ExecutionService.poll 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":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0231d10367c7ba4675a76536dc60a8faaac59beed74c13a67946240b9957283"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.compileGraphStructure (cognitive 410): AgentCompiler.compileGraphStructure has cognitive complexity 410 (threshold 15). Drivers by points: if/else 219, loops 105, ternaries 63, boolean chains 23 (nesting depth added 271). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"adae0905e82bf7c874cc5305d8f674560cc7eafb788a01f9309ffe3640294237"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.getHistory (cognitive 123): AgentChatCompleteTaskMapper.getHistory has cognitive complexity 123 (threshold 15). Drivers by points: if/else 87, loops 13, ternaries 12, boolean chains 9, error handling 2 (nesting depth added 85). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f8e15614643ced601d0ce76c616e4c26bd88130368fa676a311bbd3e3f3d9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.collectAndRegisterTasks (cognitive 98): AgentService.collectAndRegisterTasks has cognitive complexity 98 (threshold 15). Drivers by points: if/else 69, loops 16, boolean chains 13 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"529ae6220d892f542446256536b98d12d8c4b30311bb0d52825d005b6d057f92"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.emitStepTasks (cognitive 98): PlanAndCompileTask.emitStepTasks has cognitive complexity 98 (threshold 15). Drivers by points: if/else 51, ternaries 21, loops 19, boolean chains 4, error handling 3 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c658f5de4af42dce614cdc8c49267c39858f4d342e3594e1f5bd4c9709c46bb"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.compile (cognitive 92): PlanAndCompileTask.compile has cognitive complexity 92 (threshold 15). Drivers by points: if/else 52, loops 18, ternaries 11, boolean chains 8, error handling 3 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fd3429d0bae6fd35553bfc66b9e2300c297aac0f36a1ad3748aad471e1d3cc"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleADKNormalizer.normalize (cognitive 89): GoogleADKNormalizer.normalize has cognitive complexity 89 (threshold 15). Drivers by points: if/else 65, loops 14, boolean chains 10 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14bc37d2a97c3dbcf71c15e85bbb29b59506d5634ce757dbe69776ed5a0e671"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.buildEnrichTask (cognitive 74): ToolCompiler.buildEnrichTask has cognitive complexity 74 (threshold 15). Drivers by points: if/else 39, ternaries 30, loops 4, boolean chains 1 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e513e7124bee2ae6baec8002f2ae74d8c88bf9b774f8f2e5da67914e1edb8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCompleteTaskMapper.getHistory (cognitive 70): ChatCompleteTaskMapper.getHistory has cognitive complexity 70 (threshold 15). Drivers by points: if/else 49, loops 13, boolean chains 6, error handling 2 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf67e1fd9114ce35386faac3c66b862e1e40bc2ec7e3f317bcc1860a89447fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutorUtils.computePostpone (cognitive 68): ExecutorUtils.computePostpone has cognitive complexity 68 (threshold 15). Drivers by points: if/else 44, ternaries 19, boolean chains 4, loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/org/conductoross/conductor/core/execution/ExecutorUtils.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"35490367e93933f32e0ebed24355902eda02b1aeab0badcbf784ca11f500bfbc"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesChatModel.toSpringChatResponse (cognitive 67): OpenAIResponsesChatModel.toSpringChatResponse has cognitive complexity 67 (threshold 15). Drivers by points: if/else 44, loops 13, boolean chains 7, ternaries 3 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c32a35c3fe75164258190ce31c722183ef28ba23822e764a884d6b0c3b6b452"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.buildLlmTask (cognitive 66): AgentCompiler.buildLlmTask has cognitive complexity 66 (threshold 15). Drivers by points: if/else 44, boolean chains 13, ternaries 7, loops 2 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c3fcd608217e8ca53ac6fe1b97cce1d7d441f8ca2581fb32702268db50b60c"}},{"ruleId":"D2","level":"warning","message":{"text":"LangGraphNormalizer.normalizeGraphStructure (cognitive 66): LangGraphNormalizer.normalizeGraphStructure has cognitive complexity 66 (threshold 15). Drivers by points: if/else 58, loops 5, boolean chains 3 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e420a936ed155f2e91a363b91cbcb43ee41b772707721f75962a18ab002881"}},{"ruleId":"D2","level":"warning","message":{"text":"ListApiToolsTask.buildInputSchema (cognitive 66): ListApiToolsTask.buildInputSchema has cognitive complexity 66 (threshold 15). Drivers by points: if/else 62, boolean chains 2, loops 2 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96e0ee3b85b4ac8222ec1362493a034c0c810829485f5c85dce49987802f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.resolveRefs (cognitive 64): PlanAndCompileTask.resolveRefs has cognitive complexity 64 (threshold 15). Drivers by points: if/else 56, boolean chains 4, loops 4 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0369d79e60d7c384bedd952b50c99432c098c99100d8863d9873ab1c21c19a4"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.rerunWF (cognitive 59): WorkflowExecutorOps.rerunWF has cognitive complexity 59 (threshold 15). Drivers by points: if/else 50, loops 5, boolean chains 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a9b14e7023f2e025ee26d9ad671b23634f5db85584fe6eef3b7ba4f91ab4e4"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSweeper.unack (cognitive 57): WorkflowSweeper.unack has cognitive complexity 57 (threshold 15). Drivers by points: if/else 32, ternaries 22, boolean chains 2, loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowSweeper.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf457642234f5c1d28bc679073ff55c94fcbbff3afd699aed319cb0fb689581b"}},{"ruleId":"D2","level":"warning","message":{"text":"ListApiToolsTask.buildPostmanInputSchema (cognitive 53): ListApiToolsTask.buildPostmanInputSchema has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24, loops 14, ternaries 7, boolean chains 4, error handling 4 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"68431f280166dc63c70074167ab315d11edc7fcfb019b938aa3697c0f48b3a03"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.buildEnrichTaskDynamic (cognitive 52): ToolCompiler.buildEnrichTaskDynamic has cognitive complexity 52 (threshold 15). Drivers by points: if/else 29, ternaries 19, loops 4 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7a7a08550fb4f8bca2e019956ae02be9f61ab976fb895963b03cd7d3055ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamAggregator.accept (cognitive 50): StreamAggregator.accept has cognitive complexity 50 (threshold 15). Drivers by points: if/else 41, loops 5, boolean chains 4 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f9cc5ae9da82292c3ae73bf0b197f9c07a88ea08b779101dd171be63b4340e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.compileWithTools (cognitive 49): AgentCompiler.compileWithTools has cognitive complexity 49 (threshold 15). Drivers by points: if/else 35, boolean chains 5, loops 5, ternaries 4 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e119d077cd4199712d15a5f80de84fd39213f20371f127b9a8c530e60a507fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModel.toSpringChatResponse (cognitive 49): GeminiChatModel.toSpringChatResponse has cognitive complexity 49 (threshold 15). Drivers by points: if/else 28, loops 7, ternaries 7, boolean chains 4, error handling 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb2277a31c5385ccc909b6991fef8d292fbd15ac1a031d24f0c1279a98f4570"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowTask.next (cognitive 48): WorkflowTask.next has cognitive complexity 48 (threshold 15). Drivers by points: if/else 35, loops 10, boolean chains 2, match/switch 1 (nesting depth added 31). 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":"common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fff8074f8aa0a9f8bde4320a21119b56b4cc3e578036528c1751b24c39bf2e"}},{"ruleId":"D2","level":"warning","message":{"text":"DeciderService.decide (cognitive 48): DeciderService.decide has cognitive complexity 48 (threshold 15). Drivers by points: if/else 35, boolean chains 10, loops 2, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1640c5c844982265a925057cb79633df1a1f58b2c834e643dd08626524aa65e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.compile (cognitive 46): AgentCompiler.compile has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24, ternaries 12, boolean chains 10 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b1e92c31886388db51dd6b659023ce20404a392d79e82d913fbf62ec9e8699"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.compilePlanExecute (cognitive 45): MultiAgentCompiler.compilePlanExecute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22, ternaries 8, loops 7, error handling 5, boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"877cef49bbac5b8189ae3436b40e1707d2a6b3de3ac53e79f7116c6f695df968"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.emitPlannerContextBuilder (cognitive 43): MultiAgentCompiler.emitPlannerContextBuilder has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31, loops 8, boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"396926e9f4ae48d7acb7b597c5cfec1d5aa737f0da5c98211c1ae474a64ae1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstraintParamUtil.extractParamPathComponentsFromString (cognitive 43): ConstraintParamUtil.extractParamPathComponentsFromString has cognitive complexity 43 (threshold 15). Drivers by points: if/else 36, loops 6, boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"884ecff22d1677131c36784f579e41356b1b7a3c9e8109d9819830677b1115e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.compileHybrid (cognitive 42): AgentCompiler.compileHybrid has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19, loops 9, ternaries 9, boolean chains 5 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c7453968d9867ac68384aebfcb951fe0f75eab89e0313050f511fbab33b269"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.decide (cognitive 41): WorkflowExecutorOps.decide has cognitive complexity 41 (threshold 15). Drivers by points: if/else 31, boolean chains 5, loops 3, error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fc231c19ed9fbfd9c20740f967506e9c48ea56cce35d09695c326a43179140"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModel.convertMessage (cognitive 40): AnthropicChatModel.convertMessage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15, loops 8, ternaries 8, boolean chains 4, error handling 4, match/switch 1 (nesting depth added 22). 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf83cdec26bc47c0d1d7c1b4501effd31d71d4ec37ef8fbfa459afdd6501ea31"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModel.buildRequest (cognitive 39): AnthropicChatModel.buildRequest has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23, ternaries 9, boolean chains 5, loops 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e51aadcc58e54d64e07960251a64c8de0afeca8c849d6465928be93a7dafac6"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModel.convertMessage (cognitive 39): GeminiChatModel.convertMessage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12, loops 8, ternaries 8, error handling 7, boolean chains 3, match/switch 1 (nesting depth added 22). 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"103c956cbbaceb3098889208cd64db13c0f09f375447170a7910deeff480b08e"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSystemTaskExecutor.execute (cognitive 38): AsyncSystemTaskExecutor.execute has cognitive complexity 38 (threshold 15). Drivers by points: if/else 30, boolean chains 5, error handling 3 (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":"core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed080dceb1fcdb3503e10108aceac5193848c82f9c6b87bc4e8732c4edad94"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModel.toSpringChatResponse (cognitive 37): AnthropicChatModel.toSpringChatResponse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22, boolean chains 4, error handling 4, match/switch 3, loops 2, ternaries 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"66684df38ecc731880e7fbded97a941d9a2b423cd33d33f5704cca92334af213"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.updateAndPushParents (cognitive 37): WorkflowExecutorOps.updateAndPushParents has cognitive complexity 37 (threshold 15). Drivers by points: if/else 26, boolean chains 4, loops 3, error handling 2, ternaries 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c16790c809ab5f01bb15480d151a4c38abec44d0757fa8d6d43ce1621b6a06"}},{"ruleId":"D2","level":"warning","message":{"text":"ParametersUtils.substituteSecretsValue (cognitive 37): ParametersUtils.substituteSecretsValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, loops 7, ternaries 7 (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":"core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc8d6fdb79e10b69e6ca4a96a50b05d7268bdf5c2ae13f640bb91d4cb6d032a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchProperties.init (cognitive 36): OpenSearchProperties.init has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19, boolean chains 15, error handling 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7248ec31c2bedb758d53aaf9b2d12f5323ddecfb3b7db5e0f94755de49ca38e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchProperties.init (cognitive 36): OpenSearchProperties.init has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19, boolean chains 15, error handling 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"921afb9da5ef65605f38ee1501eacf743b18b7938a10c14771a3766d603943c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerService.handleSchedules (cognitive 36): SchedulerService.handleSchedules has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22, ternaries 9, error handling 4, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cde23d72d835108b5589b3ec89f94ea6cf0d1905ee9f92fbde0bcee757c9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfDocumentRenderer.renderTextRunsWithOffset (cognitive 35): PdfDocumentRenderer.renderTextRunsWithOffset has cognitive complexity 35 (threshold 15). Drivers by points: if/else 28, loops 3, boolean chains 2, ternaries 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605092691a7cfabd9bcb1a844761973527a0b2270740084beb2b1f65954b1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.registerAgentToolWorkflows (cognitive 34): AgentService.registerAgentToolWorkflows has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27, loops 4, boolean chains 3 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c21e4a45f0d7db4ad84ba16fe8c4ba61637f829566582888ef8af5425a0f7b0"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.emitValidationTasks (cognitive 34): PlanAndCompileTask.emitValidationTasks has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, loops 9, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1add6e9f4931118d9325471a061c3ebba57262d03f6d8c026ed5c0e2c68d39"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSweeper.sweep (cognitive 34): WorkflowSweeper.sweep has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27, boolean chains 5, error handling 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":"core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae8422ad8f70b41ec45e3cf89707b2a4058b3fe0752de8badc239b06b1e575"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.buildDiscoveryTasks (cognitive 32): ToolCompiler.buildDiscoveryTasks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12, ternaries 10, loops 6, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddca0bdf42c5352c8f70552852b41460f8d5bc34ef6a8680378d24f8bf5eb36"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillRegistryService.parseSkillPackage (cognitive 32): SkillRegistryService.parseSkillPackage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, loops 4, error handling 2, boolean chains 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27e34d3037f2479c161ede67b3c490b8944470e01cb6bad3c2f8de3f4478f67"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfig.collectDeclaredWorkerTaskNames (cognitive 31): AgentConfig.collectDeclaredWorkerTaskNames has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17, loops 10, boolean chains 4 (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":"common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"82daa4409916c5387ccad821f02511e462437092cc60e585d9b6b56c1f0fb743"}},{"ruleId":"D2","level":"warning","message":{"text":"ExclusiveJoin.execute (cognitive 31): ExclusiveJoin.execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21, boolean chains 6, loops 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"19de5286f3e43fc2c281a95b4bf1c697a604166eb4593e6434047c301052b25d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerSearchQuery.parse (cognitive 31): SchedulerSearchQuery.parse has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20, loops 8, boolean chains 3 (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":"scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb64c30a36a02e5f6c794437dcc37c861eaf296299090af8513dd24716d2566"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.simplifyNode (cognitive 30): AgentCompiler.simplifyNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, loops 5, ternaries 2, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b821c1247ad8c8a2f17f500d783a5f20116f617d87c133ac81a0493e5630e6"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMHelper.chatComplete (cognitive 30): LLMHelper.chatComplete has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, error handling 4, loops 4, boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c71ae6d980b3756703e5e156c7f33f8f2b5f5b013ad01a67f1be2cfa98e5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSignalResponder.findBlockingTasks (cognitive 30): WorkflowSignalResponder.findBlockingTasks has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21, boolean chains 3, error handling 3, loops 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowSignalResponder.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43aa776200857fa614e46c0cdd6947e44f86b10439cbf614903d554ab138243"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAINormalizer.normalize (cognitive 29): OpenAINormalizer.normalize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, loops 4, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"facae14afdc030d397b200f071c8958ff99078e13d257519e67f267b34b44929"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModel.call (cognitive 29): GeminiChatModel.call has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12, ternaries 11, boolean chains 3, loops 2, 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d91455e3e8506d07872dfc4d559954d2b9df188f31d30c621c3ff06a938a86"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfig.collectWorkerToolNames (cognitive 29): AgentConfig.collectWorkerToolNames has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18, loops 9, boolean chains 2 (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":"common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7bb5a289dc0533bc7ed92e98ad8f1155be63bb38e0556e82c32d713354330e"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 29): AbstractProtoMapper.toProto has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, loops 6. 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eac3f7aa367c7e12d6aef7635420c9401e65a1cab6212f18b9635d721730cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.buildToolTask (cognitive 28): PlanAndCompileTask.buildToolTask has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10, loops 8, ternaries 6, boolean chains 3, match/switch 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ed7787154fc6c44f37458997dc0ea44fefb2ef78a48a0315beccbe8c48d93d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesChatModel.convertMessage (cognitive 28): OpenAIResponsesChatModel.convertMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12, loops 8, ternaries 4, boolean chains 3, match/switch 1 (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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"93524aee53cbef5fd8f71607b938d6f12ad01310384e4efdb58841df97f7a0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AMQPSettings.fromURI (cognitive 28): AMQPSettings.fromURI has cognitive complexity 28 (threshold 15). Drivers by points: if/else 28 (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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/util/AMQPSettings.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4808e1c75235d8f2fb462d875b88e2bfc960cf57279eec6491ccb12bcb585da0"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.deduplicateRefs (cognitive 27): AgentCompiler.deduplicateRefs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, loops 11, boolean chains 2 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb2029e3d80b5a1da4232bcd7ccc95e6e5f4c8c56ee552f722bb8a9ffd74ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ForkJoinDynamicTaskMapper.getMappedTasks (cognitive 27): ForkJoinDynamicTaskMapper.getMappedTasks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, boolean chains 3, error handling 3, loops 3 (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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ace49338b7ad634acaf4846bb9150eddf4b5f373d4f6e50c12c00e696f24898"}},{"ruleId":"D2","level":"warning","message":{"text":"DoWhile.execute (cognitive 27): DoWhile.execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, boolean chains 3, loops 2, 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2619829f9fe074355878deab71432ebffd71d5791f8bef014a018831008eaf1f"}},{"ruleId":"D2","level":"warning","message":{"text":"DeciderService.retry (cognitive 27): DeciderService.retry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11, ternaries 8, boolean chains 5, match/switch 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"621e6a3a8f62426efc4e0c2ba91eb8027de26195dc06f2e2f5e84b5a4e78a436"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.collectToolCredentials (cognitive 26): AgentCompiler.collectToolCredentials has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, loops 6, ternaries 4, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c6b6e36c767a172e34d9dfa83984d65f1a0cff88baad8507d1fdb96985b1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.compileRouter (cognitive 26): MultiAgentCompiler.compileRouter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, ternaries 9, boolean chains 2, loops 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9066785c4bccce958e2d8df7e9d1910826bbf650e85dbdf3063bdb5a784205b"}},{"ruleId":"D2","level":"warning","message":{"text":"Join.execute (cognitive 26): Join.execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e230e3d33a1cf4426317d6fc38d8cbff5753ad5d64b110a111f721354ecb1c76"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.collectDeclaredWorkerNames (cognitive 25): AgentService.collectDeclaredWorkerNames has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, loops 8, boolean chains 4 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"3016bb45e57c93f21e719997824c393d4a733ac0dee4b8293edde8cbc80209a4"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaSubsetValidator.validateInternal (cognitive 25): SchemaSubsetValidator.validateInternal has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, loops 6, ternaries 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SchemaSubsetValidator.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b64e00bc7a6d6f581081b05c9599974d5b783e779f40d38d092718b4765918"}},{"ruleId":"D2","level":"warning","message":{"text":"SubWorkflow.start (cognitive 25): SubWorkflow.start has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, ternaries 6, error handling 4, 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdadbd87200a9e062d2a1603ad91175fdadcf45dc9191f94e845a64e784ca31"}},{"ruleId":"D2","level":"warning","message":{"text":"hierarchicalClustering (cognitive 25): hierarchicalClustering has cognitive complexity 25 (threshold 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":"ui/src/pages/errors/hooks/useWorkflowErrorGroups.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"955b7841ffdaaf52f8d9ac77ec616918a38101cbf25af5316afbc9e35635c57e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.estimateTokenCount (cognitive 24): AgentChatCompleteTaskMapper.estimateTokenCount has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, loops 4, error handling 2 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd67ab301378b2359263bbe465aab65185f12a0984fbc27496edb08974d14ada"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatChatModel.convertMessage (cognitive 24): OpenAICompatChatModel.convertMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9, loops 8, ternaries 4, boolean chains 2, 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ee7f1bba9da21886bfb0022751b6124888232bd768c26c5b890c7532bba7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptEvaluator.eval (cognitive 24): ScriptEvaluator.eval has cognitive complexity 24 (threshold 15). Drivers by points: error handling 12, if/else 12 (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":"core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e77cb9e0357fae7284842aaccbe30d30e1bb4ed95adc66899b9a2ecb854e74"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionService.poll (cognitive 24): ExecutionService.poll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, error handling 6, boolean chains 2, ternaries 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"714ed208d84b17272897e21c1dbeede9f987b612339d8098538faa44e8264ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 24): AbstractProtoMapper.toProto has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, loops 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459364653dfa284ae40af72a5c7ddd84460f9d12e394d3224605a968cb55554"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.validateSwarmHandoffs (cognitive 23): MultiAgentCompiler.validateSwarmHandoffs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 3, loops 3, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e978481a8664eca73ffdaec706afc31f4b7d5f8362a016d501b40716aafdac5"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.compileToolSpecs (cognitive 23): ToolCompiler.compileToolSpecs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, boolean chains 2, ternaries 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c4450fcc0cd45e6230d505bb50726bc1eb21493c418cd0c40542e6bdc0465"}},{"ruleId":"D2","level":"warning","message":{"text":"getRefTaskChilds (cognitive 23): getRefTaskChilds has cognitive complexity 23 (threshold 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":"ui/src/components/diagram/WorkflowDAG.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03f865391bbcb5ec2a1fafcbd5d306fed108676526186cab527e9b240818cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.getStatus (cognitive 22): AgentService.getStatus has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 2, ternaries 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fdc2f9fb8137ffe9c3830ccff8d0c83ef5c652df185f39074a4f959111bdcf"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.checkParallelRefShape (cognitive 22): PlanAndCompileTask.checkParallelRefShape has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 1, loops 1, ternaries 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74ebc03dd7eb43178a7c783a408b4580bd32f2ad0ecd7aef9f2d167ef7cd602"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiVideoModel.checkStatus (cognitive 22): GeminiVideoModel.checkStatus has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, ternaries 7, loops 3, 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVideoModel.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7606ad78e5d4a1464e40ee5689d6df3587286393e2b3e3710ee0a053a22fdcb2"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatChatModel.toSpringChatResponse (cognitive 22): OpenAICompatChatModel.toSpringChatResponse has cognitive complexity 22 (threshold 15). Drivers by points: loops 6, ternaries 6, boolean chains 5, if/else 5 (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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edeb64d8d04553de013d931733c56114b62a690a810d6cfd72048b397668cea"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AWorkers.buildMessage (cognitive 22): A2AWorkers.buildMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, boolean chains 5, loops 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"691360ed2a33b221328965bbc22fc9fc331a6bfe7ba288abd7f475d402b71ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSchedulerArchivalDAO.searchScheduledExecutions (cognitive 22): RedisSchedulerArchivalDAO.searchScheduledExecutions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10, ternaries 5, boolean chains 4, loops 3 (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":"scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b5b2c31cab673c4abd9ced360e0edf06fe6672275b3da03c52129b605323f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ParametersUtils.replaceVariables (cognitive 22): ParametersUtils.replaceVariables has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, error handling 5, boolean chains 2, loops 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":"core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f97970bf62d03d04d403eb39db846cefd22a5368e8bea9423361f173e67f96d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.condenseIfNeeded (cognitive 21): AgentChatCompleteTaskMapper.condenseIfNeeded has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, boolean chains 4, ternaries 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f74c40b91c1cb603fa8cd0f0d2a4e932292fbaf2e2680eccd8be6abd36433e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.summarizeToolExchange (cognitive 21): AgentChatCompleteTaskMapper.summarizeToolExchange has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8, ternaries 8, boolean chains 3, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac42430d1959ea3b05450837f739ad876c5d82b2b8c831d1bfa52d2df25c597"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.updateRefExpressions (cognitive 21): AgentCompiler.updateRefExpressions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 7 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"368e4650b0d825c64819573d3767415ee3865c85fdb4b5cdb262db5a7ad092ab"}},{"ruleId":"D2","level":"warning","message":{"text":"LangGraphNormalizer.normalizeFullExtraction (cognitive 21): LangGraphNormalizer.normalizeFullExtraction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aece63c4cd978c2067c73c6282b5f193c3c7f159d3dc3cd1f5172881e4ee78c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillNormalizer.normalize (cognitive 21): SkillNormalizer.normalize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 4, ternaries 2, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf1dc513535b5af9e4ed09003e4cfd1270c7ad7100a978a8f8bd31ab6e8b620"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDagService.injectTask (cognitive 21): AgentDagService.injectTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, ternaries 6, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentDagService.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbe738b406fde1b629471e41e4d3ae8f905df6afabee92697781398b4326092"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEventListener.recordWorkflowAIMetrics (cognitive 21): AgentEventListener.recordWorkflowAIMetrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, ternaries 4, boolean chains 2, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad72bb9785478d3b5013e68c9b94275ea20b942911cab97a5abd6f7be08aa1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseField (cognitive 21): Parser.parseField has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912a158ec71d8374759ae185667e4c630125227ded56a4276805f14eaed4fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfDocumentRenderer.renderTable (cognitive 21): PdfDocumentRenderer.renderTable has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8, if/else 7, loops 6 (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":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"075ce2da4f5dbc0eedba0f4bc31b81cd9caa14128d0055c2e6cc0d4cffd6315d"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticSearchRestDAOV8.resolveWriteIndexForAlias (cognitive 21): ElasticSearchRestDAOV8.resolveWriteIndexForAlias has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 4, 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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed3fc0a3c6db3b0907f2cd2fd594d15e56284a330198ba314b2d9d2787de57a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.scheduleTask (cognitive 21): WorkflowExecutorOps.scheduleTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, error handling 5, boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5f0c1d37ae826b7f0f50e150a4869a15c11a25cd834bc95aea3a93c2cf3834"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.updateTask (cognitive 21): WorkflowExecutorOps.updateTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, error handling 6, boolean chains 2, match/switch 1 (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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6a1d851bb69df840403a351c73ff1d43ce58432f5ab13af3ebcf4920c343e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.compileSimple (cognitive 20): AgentCompiler.compileSimple has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 3, ternaries 3 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"94040b0791282e38ba42d6f36e9bd7d18c2dfcb193aa373d2f4c0badf4e99032"}},{"ruleId":"D2","level":"warning","message":{"text":"ListApiToolsTask.findFirstPostmanUrl (cognitive 20): ListApiToolsTask.findFirstPostmanUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 4, error handling 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7680efe7bd2dd900d8831d15290889507844858b1fcdff2c525b94d5cb46477"}},{"ruleId":"D2","level":"warning","message":{"text":"ListApiToolsTask.parsePostman (cognitive 20): ListApiToolsTask.parsePostman has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7, ternaries 7, error handling 3, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0a2c047f153e5fa11cf034380684226e8aaa1bd18190b4ada7786c5e56431"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMHelper.extractResponse (cognitive 20): LLMHelper.extractResponse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 2, loops 2, match/switch 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":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23eb749d90db537838df9809b97b7f787ef57d34bbd969fbf0220836edba95f"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMHelper.parseNestedJsonStrings (cognitive 20): LLMHelper.parseNestedJsonStrings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, error handling 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f380706beb11df4a352c5fcc5455b05e94844748661858fa67ee9cad5f478465"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMHelper.parseNestedJsonStringsInList (cognitive 20): LLMHelper.parseNestedJsonStringsInList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, error handling 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075f6a65ee76d46ece15be46e40d82034012641d49fd9e08a9d36db321b17f5"}},{"ruleId":"D2","level":"warning","message":{"text":"AMQPConnection.createConnection (cognitive 20): AMQPConnection.createConnection has cognitive complexity 20 (threshold 15). Drivers by points: error handling 10, if/else 8, 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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fe295418ef940d68b35d1f365a3602cdb91498797fa93d093c967d567746fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AMQPConnection.getOrCreateChannel (cognitive 20): AMQPConnection.getOrCreateChannel has cognitive complexity 20 (threshold 15). Drivers by points: error handling 10, if/else 8, 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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"553667e265f4d342503144e57fde0cf2e7cbda23341ce1840d4266dd22706165"}},{"ruleId":"D2","level":"warning","message":{"text":"DoWhile.isIterationComplete (cognitive 20): DoWhile.isIterationComplete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e357e6614166d852c184be2096cf5b7eeedf720af245541078a0d0d7fb9639f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.resolveNode (cognitive 19): AgentCompiler.resolveNode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 4, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b791bcc1aef01748c093d30de40ec0d0f7c0e242570acff6e0e464df0be00f1"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.buildTransferToolsFor (cognitive 19): MultiAgentCompiler.buildTransferToolsFor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, ternaries 5, loops 3, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c98eb97ebc73c792f1852eb0326df004ad21fd74cf505e6ae58df67cf6e0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.compileSwarm (cognitive 19): MultiAgentCompiler.compileSwarm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, ternaries 5, loops 3 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"39058e1295983a679105af1efab7900a941ba65835d0cc32be89160fd0ac43b3"}},{"ruleId":"D2","level":"warning","message":{"text":"VercelAINormalizer.extractTools (cognitive 19): VercelAINormalizer.extractTools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 5 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6547e687c2e5d78d7cec1c3626d3c602e39570c88ab7d7e51f914679a45e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeConditionInterpreter.looseEquals (cognitive 19): SafeConditionInterpreter.looseEquals has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 4 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a8c971090389eb01a2c1ff58e94884adf796b9afa6657b92a542774d296cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"AIModelTaskMapper.threadPreviousResponseId (cognitive 19): AIModelTaskMapper.threadPreviousResponseId has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/AIModelTaskMapper.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"597f664921831289b26dcc76d25dad5dd61d99948ae64326693eeefea7e512dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptEvaluator.getObject (cognitive 19): ScriptEvaluator.getObject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, loops 6 (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":"core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67dca5535cf13c7c0a59ba1319da82c5227c0d4dd667d644697e52c0b5411df"}},{"ruleId":"D2","level":"warning","message":{"text":"DoWhileTests.testDoWhileScriptIsNotEvaledEarlyWhenSyncSystemTaskInside (cognitive 19): DoWhileTests.testDoWhileScriptIsNotEvaledEarlyWhenSyncSystemTaskInside has cognitive complexity 19 (threshold 15). Drivers by points: error handling 12, if/else 5, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/src/test/java/io/conductor/e2e/control/DoWhileTests.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1a411ab44550cf914d89558f15e2d4f27123a1c5d1b82717d31d3001a81b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatCompleteTaskMapper.compactToolHistory (cognitive 18): AgentChatCompleteTaskMapper.compactToolHistory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, loops 3, ternaries 3, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e8d306d4a5aadb45cb8ed73acd2df6b00ced9e19c0096088efd3d2b9201e60"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentspanAIModelProvider.getModel (cognitive 18): AgentspanAIModelProvider.getModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, ternaries 4, boolean chains 3, error handling 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4012a43456a3b24e7d4e91b30e6cdd4c5d9ee4632b26ce0e2850fa016616be"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.pythonDictRepr (cognitive 18): AgentCompiler.pythonDictRepr has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 4, ternaries 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"58784b6843d8511c8fcafe93d02b54ae71048703e4ef343167934a703e51a28b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.inspectPlan (cognitive 18): AgentService.inspectPlan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 4, ternaries 4, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b949e4f71ef1691faa7dbd15fa05c679aa13e6fbee603b6f52376bafc6435"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.pruneExecutions (cognitive 18): AgentService.pruneExecutions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, loops 6, error handling 4, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"722b28b62907230452a3fcb14ba15b7202257082a457c29051b443c11b9bcf79"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentService.searchAgentExecutions (cognitive 18): AgentService.searchAgentExecutions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 3 (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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"611775dc97d8698e6fe232353361ec219c802f044428ceb685b91bea97b38a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlannerContextFetchTask.start (cognitive 18): PlannerContextFetchTask.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 3, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d54f22eafcef2ba616db706f147ad1adcb7fe62a34577702754837b99654a"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AService.aggregateStream (cognitive 18): A2AService.aggregateStream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"744e9a7c63e7c211b7a80aa1434b7dd44590be60c3db8ec6b6e6e83242071675"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchRestDAO.addIndex (cognitive 18): OpenSearchRestDAO.addIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, error handling 6 (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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e6427cfba3f38faeeb93018a418e656067dd59a72bc6d339743be5b9309bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchRestDAO.addIndex (cognitive 18): OpenSearchRestDAO.addIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, error handling 6 (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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"995659a7d487751b65d2799b988cfa78bce5c56c6f83e58510864a12a043ffb5"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSchedulerArchivalDAO.cleanupOldRecords (cognitive 18): RedisSchedulerArchivalDAO.cleanupOldRecords has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 6, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed1a64f2c0381d045253c31bd6a3ee1b85ad04ba11d7f70e99cf39b9ea764d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.cancelNonTerminalTasks (cognitive 18): WorkflowExecutorOps.cancelNonTerminalTasks has cognitive complexity 18 (threshold 15). Drivers by points: error handling 9, if/else 8, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ad5d89458fbc03f8b19dc98cbeea490222a86d32d14493473dedce9c96c7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutorOps.retry (cognitive 18): WorkflowExecutorOps.retry has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 2, 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"699a713f724a515973424211cae2185d8e85154d09b00168a2ddabf64294a71f"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 18): AbstractProtoMapper.toProto has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5057d2a55784c173a9037bbbe420aa6c317f2b06d39259b9038a0ea1d1db91d"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisExecutionDAO.updateTask (cognitive 18): RedisExecutionDAO.updateTask has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d279cebb268ba6dfb67fb7f764ea2bce7ddbb33a5d3d6bb8392a0830b707e1"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfDocumentRenderer.collectInlineRuns (cognitive 17): PdfDocumentRenderer.collectInlineRuns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 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":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6585e58d301808f6d8d15ae8f1c53f500055313a6c06fe8b20892eb275f8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiVertex.generateAudio (cognitive 17): GeminiVertex.generateAudio has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, loops 5, boolean chains 2, error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9de788e9167192635328f4891c14968fce7bdb65d7cce9bf438f3b508371b3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatChatModel.buildRequest (cognitive 17): OpenAICompatChatModel.buildRequest has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, boolean chains 3, loops 3, if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d704db778bf12922a1d8c7e8a6d6d311216115f140457832a8de0fc23ff96747"}},{"ruleId":"D2","level":"warning","message":{"text":"JDBCWorker.executeUpdate (cognitive 17): JDBCWorker.executeUpdate has cognitive complexity 17 (threshold 15). Drivers by points: error handling 8, if/else 6, loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d4638eef3599b9f679db28eec571d76ca98a080cef1432bb4c5e670d142846"}},{"ruleId":"D2","level":"warning","message":{"text":"PineconeDB.searchWithNameSpace (cognitive 17): PineconeDB.searchWithNameSpace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, error handling 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/vectordb/pinecone/PineconeDB.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec210a336f7565c54e7f316a890c8f09837187bda12348b77508d5b650a8c74"}},{"ruleId":"D2","level":"warning","message":{"text":"NameValue.getFilterBuilder (cognitive 17): NameValue.getFilterBuilder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178cfcc5e26a5716fada23e99ccebd66c7651a3fc677c25d5dfd075f84f0935"}},{"ruleId":"D2","level":"warning","message":{"text":"CassandraSchedulerArchivalDAO.searchScheduledExecutions (cognitive 17): CassandraSchedulerArchivalDAO.searchScheduledExecutions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 4, loops 3, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51b7dd65209126ff2ac25e9d8e0b51b08007b2db1f8c36a1499ef3b9fc041f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemTaskWorker.pollAndExecute (cognitive 17): SystemTaskWorker.pollAndExecute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, error handling 6, loops 3, 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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/SystemTaskWorker.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"589118bd1e8abee77d20e19e12254d940e1a480389036b33d3f4c8a6b63dc878"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowTestService.testWorkflow (cognitive 17): WorkflowTestService.testWorkflow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 4, 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":"core/src/main/java/com/netflix/conductor/service/WorkflowTestService.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe9179534979481822b74be7072934f528cb08889151c4a99cc786d25f6437b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 17): AbstractProtoMapper.toProto has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6cf05304c3430a70e674d7e7919d43aaefecdcd99184c7330e3db4704028bd"}},{"ruleId":"D2","level":"warning","message":{"text":"processJoin (cognitive 17): processJoin has cognitive complexity 17 (threshold 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":"ui/src/components/diagram/WorkflowDAG.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be0f5ec3a93c76c90659ab95cbdf20a7750656c585123e1252f6ff3347f4578"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCompiler.collectCapabilities (cognitive 16): AgentCompiler.collectCapabilities has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 3, loops 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"085eb54a4b1c4e7f1002d1c83c30f2bba76eca8d29d3ec82efc70afdba284f41"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentCompiler.compileHandoff (cognitive 16): MultiAgentCompiler.compileHandoff has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, if/else 4, loops 2, 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25c52bd8a353c76776afe71b1f4839869e4e9a2e2e62bfb51d18d66a0d7fe9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.buildApiDiscoveryTasks (cognitive 16): ToolCompiler.buildApiDiscoveryTasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 5, loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7559c4374c61ff5217d217a6749bec75713e58c28c758c60f507ee9c9bf269d"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCompiler.buildMcpDiscoveryTasks (cognitive 16): ToolCompiler.buildMcpDiscoveryTasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 5, loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dfd7dd448f95275d58f9b6122ae71217b910941e82f37dfa60d96245c233d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanAndCompileTask.emitGuardrailWrappedSimple (cognitive 16): PlanAndCompileTask.emitGuardrailWrappedSimple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 6, loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf455a9e1aedb0c294a2ed6f5f0800b90af27f39f1eba5a29ba762743219f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseString (cognitive 16): Parser.parseString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f823d808de26350c938cd314bf8bffb93d4986308e5a37012ea370b9f337e62b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalDataLimits.validateStructure (cognitive 16): ExternalDataLimits.validateStructure has cognitive complexity 16 (threshold 15). Drivers by points: loops 9, if/else 6, boolean chains 1 (nesting depth added 6). 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":"ai/src/main/java/org/conductoross/conductor/ai/http/ExternalDataLimits.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5b3a73ab2c8322179626be3e7fc5676e1fbf7f2537b2377b64be4d9bb85756"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIHttpImageModel.call (cognitive 16): OpenAIHttpImageModel.call has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6, boolean chains 5, if/else 2, loops 2, error handling 1 (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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIHttpImageModel.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ed41a84cdfcfb3aa7dca790837068c131367dc2a2ca7215a0c5f941833162"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesChatModel.buildRequest (cognitive 16): OpenAIResponsesChatModel.buildRequest has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, if/else 5, loops 2, 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b46de30f62dd249e86a57cae594273c4eb3bf6e52c324bb60530a3849711b5"}},{"ruleId":"D2","level":"warning","message":{"text":"JDBCWorker.executeSelect (cognitive 16): JDBCWorker.executeSelect has cognitive complexity 16 (threshold 15). Drivers by points: error handling 7, loops 5, if/else 4 (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":"ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd847fb0dac4b87a28dba8894845e2513a02a49ad46c0f63be2a5890d709c8"}},{"ruleId":"D2","level":"warning","message":{"text":"NameValue.getFilterBuilder (cognitive 16): NameValue.getFilterBuilder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a14fd130d6785fddc4f89fbf04c6bfa6c1bb0d041ad5e4f8d4b004b6aea27fe"}},{"ruleId":"D2","level":"warning","message":{"text":"NameValue.getFilter (cognitive 16): NameValue.getFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5521f9441cac0130cb58770db27d472231d603fe38fbf15eff0bc7c4767e130d"}},{"ruleId":"D2","level":"warning","message":{"text":"ForkJoinDynamicTaskMapper.getDynamicTasksSimple (cognitive 16): ForkJoinDynamicTaskMapper.getDynamicTasksSimple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, error handling 1, loops 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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a08e21512f35786625b1116115959af72a434422f210574109ef7a1deaa6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"NameValue.getFilterBuilder (cognitive 16): NameValue.getFilterBuilder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4e5e5fdb37145fe031ca8a984eb174195301b994b39be84370134cd1063e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 16): AbstractProtoMapper.toProto has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f363a46c7178ea86322dc9383da81b721ae8d6ea78b42b54ea054ecc407f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProtoMapper.toProto (cognitive 16): AbstractProtoMapper.toProto has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c993059548e9720fd8b1e6837ffd9df728e4756e40367c2901ec347e148b1e6"}},{"ruleId":"D2","level":"warning","message":{"text":"KafkaObservableQueue.ack (cognitive 16): KafkaObservableQueue.ack has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, error handling 6, loops 3 (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":"kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6b70d8d3873a31d6b9dd80faa0aeaa232e773ee3921c2b394e5704ae71869d"}},{"ruleId":"D2","level":"warning","message":{"text":"processForkJoinDynamic (cognitive 16): processForkJoinDynamic has cognitive complexity 16 (threshold 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":"ui/src/components/diagram/WorkflowDAG.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2180530238c922d133364956cb3442809a218e35b47f5853e8d9c7cf55a52a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/AgentCompiler.java: FileTooLong \u2014 2539 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eef1c2c144b2d759430e128000f33d5b18ae9446839cfbedf6dc3239102529"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/MultiAgentCompiler.java: FileTooLong \u2014 2470 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c29d6b8ad908f0ab0aed92040c4d9cbeef15a1a323c544b0d5d1a48061c96b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskModel: TooManyMethods \u2014 121 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/model/TaskModel.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbcdfd86e25d4983849b666a9dd8bd34124a323bccf6415cd7e4b7be221bd1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/WorkflowExecutorOps.java: FileTooLong \u2014 1971 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: WorkflowExecutorOps (74-2853). 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f06c2490f93420558d9ad3a69c544bf9075474764a8384eac96afd4aa4f8d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Task: TooManyMethods \u2014 101 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"72231c3aefc393aed1b994be1f2cbfaf3ade08aa974a774fef81588c52c53644"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/JavaScriptBuilder.java: FileTooLong \u2014 1566 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"617d835a3a197446ff0583baa4c6b0e0472109b6df3e8c4c85a16e4585f5ae35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConductorProperties: TooManyMethods \u2014 92 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/config/ConductorProperties.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a8a5348214b2a67b078a525c2c34ee0ce8b7090bcec7b2df8973a503042edf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/AbstractProtoMapper.java: FileTooLong \u2014 1429 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AbstractProtoMapper (67-1915). 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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97841b1c9820803d4adf5878937b59b59978b1c46d9d751b729f7fdb9a522fae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/ToolCompiler.java: FileTooLong \u2014 1388 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c944ca7c40619f4f344550b38ea5683a191ca46dfaeeb841421dc2cd986d732"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowTask: TooManyMethods \u2014 83 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"79df4bb305b28f665e8d17bbb63c5aeb83199554837192865c7d6680a420d3d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractProtoMapper: TooManyMethods \u2014 82 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29fa0d72f9ce1f6711d4298238fcdc2017ffa96ffff5324e966d644b3743658"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowModel: TooManyMethods \u2014 78 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/model/WorkflowModel.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a7a81ca8554f1a91c9a5842c8986a5b8904a515cea4ec76dbba2c862c34ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/PlanAndCompileTask.java: FileTooLong \u2014 1205 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb24690801a670d1670123c7c2a58dcee7051340a8a8cdfc268892627a8b2825"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Monitors: TooManyMethods \u2014 70 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/metrics/Monitors.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ccb979cc875b7a50d14cf773cd60e5463156aba318b0cc8cbbb7d8eb524d52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowExecutorOps: TooManyMethods \u2014 68 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acff03fb7b67cbb35c2ac9c1f2e505975836120c07320563e9dfdd69bc6548e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisProperties: TooManyMethods \u2014 68 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisProperties.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e84ad069e48d6b77fd8b7688853d6b7da865342cd5531e564ff9de528e3d408"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JedisProxy: TooManyMethods \u2014 68 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"de08b200a7aafc5ff98e1946ad79bcf46709dc2e80546ae6f0caaa0613c00fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MySQLExecutionDAO: TooManyMethods \u2014 66 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f9463a5a0794ad78598ef4b17a709f7de74220cc68393d61ebe10da5983033"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskDef: TooManyMethods \u2014 65 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/TaskDef.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e75a83b44ffca6b2c8be83f66e1c0a3cb7102d7f0f884ba28d159bee98cf19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Workflow: TooManyMethods \u2014 64 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/run/Workflow.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bbab2b8a35fca61535bb814b2f4b58fb1e261c491c048c14262c3d2d8aa310"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElasticSearchRestDAOV7: TooManyMethods \u2014 63 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98862026b269a56aba6aa18cf5a72432eb23c1be8a552982a1e4bda846ed7ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index/OpenSearchRestDAO.java: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: OpenSearchRestDAO (70-1427). 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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b1c1424e641de4367e1395c59974f504950c14e91fa91621f8898a1f268da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenSearchRestDAO: TooManyMethods \u2014 62 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913c3372497a74a9d33d41aa376fafd3e343e2434645b27b8f02f69e68cd8b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenSearchRestDAO: TooManyMethods \u2014 62 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"23416eb00f81dccb4d7646f7a4afd31ef426917289bb2da493a800c4fe6e6bde"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowDef: TooManyMethods \u2014 61 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowDef.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"733ac01cd7dfde4ecd3aa2f613e848252994d3e73a4e3e25fe7b6e77d1267fc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnifiedJedisCommands: TooManyMethods \u2014 61 methods. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-api/src/main/java/com/netflix/conductor/redis/jedis/UnifiedJedisCommands.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bc27a0018661db03b758276c110315f1fa1e74453794c1ff64b23c13d3aa84"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InMemoryJedisCommands: TooManyMethods \u2014 61 methods. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d147a3ac3c5b70456e1d24c5c3704a457a349c9e5764235e04851ba518bfa09b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JedisClusterCommands: TooManyMethods \u2014 61 methods. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisClusterCommands.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc4933787ef0a8000dc448788ef6247362c8f0df036e2756fcc32de4137c4a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JedisStandalone: TooManyMethods \u2014 61 methods. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisStandalone.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"68133d0463edf1648d5d19ab0496ab90b1fbd6e05c533679f26eb6a8f82c6930"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index/ElasticSearchRestDAOV7.java: FileTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ElasticSearchRestDAOV7 (88-1398). 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":"es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b178570c597206baeb56b947c13e7728a55408c5d8309efaf367e085282b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentCompiler: TooManyMethods \u2014 60 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22c5505e8be842baf6b44f6d12b3f69a0110c099dc79aab349ac808d1e40c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PostgresExecutionDAO: TooManyMethods \u2014 60 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a36d07cb89b818d2f28851650dfb51e27c27c268fd509b6f3896cc8ebb1c5e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteExecutionDAO: TooManyMethods \u2014 60 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d7c00ad409bfdfe14686bc4d9e0b538efb88f26a5e96d24a4dbc01c8b6dd66"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElasticSearchRestDAOV8: TooManyMethods \u2014 59 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fd86b3319a14cc4c785bd38be414f3db3d8e7b0017e51d93f9e5e8472c7e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/AgentService.java: FileTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8b729a01782d2acd16b7daca64a85311882a9a9134db59da4e015b841c132"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index/OpenSearchRestDAO.java: FileTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: OpenSearchRestDAO (83-1347). 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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86c3b859ba61e4cc4c3062f594a9b2799beeb0f98285e221fa494fd009c8a5c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentService: TooManyMethods \u2014 57 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"937311c9d946d0a89abc10047da2e83ec6237cf180330df32ca9599fa56ca442"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AMQPEventQueueProperties: TooManyMethods \u2014 57 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueProperties.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b2af094db92b6a92b9c64a70a58b52e37986ef1d2735319fd87092ff2ea3b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index/ElasticSearchRestDAOV8.java: FileTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ElasticSearchRestDAOV8 (70-1213). 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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4d316b23be86fa09dc3106d9dad55d18f572e1d040d0bd4389908605764c70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/SchedulerService.java: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SchedulerService (69-1226). 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":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c674a1f6c67df91a04905faa91231d7c97912724a41620a1b26f07da6e7c329f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutionDAOFacade: TooManyMethods \u2014 53 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/dal/ExecutionDAOFacade.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46de5d6cf6e5e010856cb4941880e684427a440885e9f6fe16f7a3681b1ff93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowSummary: TooManyMethods \u2014 52 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/run/WorkflowSummary.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2bbf0ecca3ae72027fb650f61507aae78fea1c3a40daf49e95e04d059202b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchedulerService: TooManyMethods \u2014 52 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec372b76e91b06e7baacbff91ec49b14574e41e08e4cd43fe45beec164abeb0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SkillRegistryService: TooManyMethods \u2014 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"295a00e8a08864b6a85e215bc39957324cb088437bd303e9615af26b64516973"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/SkillRegistryService.java: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SkillRegistryService (62-1037). 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac724681e7175924db7443edac8acec4d1af97853d8b8c7a268b6c48f80977"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/MySQLExecutionDAO.java: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MySQLExecutionDAO (47-1089). 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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db972201415bfbd521e9f5c1bfcf50904fe5cb7d596acfc3a88850d69f7aa17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavaScriptBuilder: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a334d84f5833e09a21138199bd331efa2c15b7cafbf05437d8515fa6715e98e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/DeciderService.java: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DeciderService (59-1059). 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":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b6b26f0d9ffbffa2265402bfd682b29f7bbf294330207aece0e36ae599891d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MultiAgentCompiler: TooManyMethods \u2014 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"483c3ff5442bebe054cbbc2f55c0b29d280c20777b5600ce441841523aefaaca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentSSEEvent: TooManyMethods \u2014 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentSSEEvent.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02bb05969da0a1e28b5fbe4440993e36c75f0091c942dc01807030924362886"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskSummary: TooManyMethods \u2014 44 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/run/TaskSummary.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c5a66605ed67d785ba13bbccaa3da21ff65c88c5ad11d4089890d75e767b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/PostgresExecutionDAO.java: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PostgresExecutionDAO (48-1032). 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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf19fbd88960c5cfffe0ad5de3bc8ea4bd6aa215376edc1e8cb0a12c1fbe23c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/SqliteExecutionDAO.java: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: SqliteExecutionDAO (48-1032). 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":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a24190c14b583e8ba75d6790d8dc5156bab996f0336d116960998b130914d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutionService: TooManyMethods \u2014 42 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa10f03b972180f3d255778b402852eb3d05b97d0c8caa16c8aa1f586ba4fe0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Query: TooManyMethods \u2014 42 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"26815675541ffbaf5dbb79bd60438e39f8743ea72eff4e3117f0b6b73d9c36ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenSearchProperties: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8650f05d3fbc7617001079507987bae5c9bd645b07398edc58419329eb58724"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenSearchProperties: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8dcf1b9dbdec824bcb7cb505f04f70e4d5d1b311b1ac3db08fe750612c4772"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Query: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b7ac6fe549c09cec187f7fcdc44e06ecd0ba4462d58ac3c71f605f9e63bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentController: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/controller/AgentController.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2832e728e4e2120505f7588fc2dfe07066a3ce85c36e423f5a9a43cabf3fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Statements: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364caa1f2b49c07e5af94c08e1404147163814b843cd40a1b8a021d2ec9706c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Query: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eebfb30025a537e1e04df62b620c200a6bf94b8be366261499938ae2c0de09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/CassandraExecutionDAO.java: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: CassandraExecutionDAO (46-884). 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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6963cd8c74ce9af316d75fb09806bb0f1c70e0b4ad80705038a17c6acbb884"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: amqp/AMQPObservableQueue.java: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AMQPObservableQueue (56-874). 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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1902ef4a0b4288ec138d41775396be513195d4b2a89eef8e1ce4829eedf08a03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElasticSearchProperties: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchProperties.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1bb6b43d550619ee2f9659da36a04ea2dad28a0bdabc67b70bf00050ec1218"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/LLMHelper.java: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: LLMHelper (86-916). 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":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eab46337d537189e2ed9e735b68b470a8eec9cdd2b387e9e05156dc8017c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/AgentChatCompleteTaskMapper.java: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: AgentChatCompleteTaskMapper (76-1068). 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8febbd3a656d6b7b41136bf5d02215f79395ab09918fdaed5c0d54d19b51cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: A2AWorkers: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0750a31318f4f36ec1a10603fa24cbad040c13d4249052bc51976d0fdf6f47b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisExecutionDAO: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f7345e6f4801beaf2d1d0a56ea896b6a07c28fda7a98daca1df90a11129804"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: A2ANativeAgentFacade: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"600c305d42632b8df2889c4c2320638288fc7cb7e890d20c7eeb7faae64ba770"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskResult: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/TaskResult.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56d56efde211f60d73b1a3354aebf932d00da2ba961ec2b1ad60c09123f2bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasks/Task.java: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Task (33-1127). 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":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c6dac06e1def1f3de0816f82fbeafc2cd8170c4e37918e03bd78dca4c5b7b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CassandraExecutionDAO: TooManyMethods \u2014 36 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"660fa715d4cd80e3645d2d5d680b02977bbf6df66f0f3a70ee179c342235be9f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: A2AWorkflowAgent: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6088382ceee85ee9e49a2ab8fd9378605b308dab31ecd806ac8ab108b054e1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElasticSearchProperties: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchProperties.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdf1936819d5cac644fba3d36da4d32212c4b53eb744d0c3e2f3f0b0afcd2d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PostgresMetadataDAO: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b44091200a8479b25e7ef3322fc37251f36d8cce4d8617509730cfaf0214d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StartWorkflowInput: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/StartWorkflowInput.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4e4a81c25d624ab8543bf5839cf78c8b432954301f817c9b838dc6f16b5e22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dao/RedisExecutionDAO.java: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RedisExecutionDAO (45-783). 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":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ebe04372965a452ed288feac52b9330b81924ccf18a12079cf2c619418725"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToolCompiler: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9ee2c77558a588fb572d7942e1efe44c43ccf790704bd1361a0486e1c9ae43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutionMetadata: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/ExecutionMetadata.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4426ac9c0b19941f0a1145e7b77f34226363c6ffebc66e5b95b6909267bdbb2b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StartWorkflowRequest: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/workflow/StartWorkflowRequest.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f486acffb7276e96acbfb0f60a6e6518d1f982bb9cba769a73be1ebaee77805b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MySQLMetadataDAO: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ddfbb9f5647d0993412c7a8635a38d1fe4db842d3efee0e2696a29fc44948"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/A2AWorkers.java: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: A2AWorkers (72-742). 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":"ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e74215cc3aadb920c2eaeee666f683a84946cc0aa043697a11f8e8f9239666c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dal/ExecutionDAOFacade.java: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ExecutionDAOFacade (63-842). 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":"core/src/main/java/com/netflix/conductor/core/dal/ExecutionDAOFacade.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8961a93b95d168b3c95fd91897c9c04f9f28560dd16d31d32dfd758ed48de11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pdf/PdfDocumentRenderer.java: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PdfDocumentRenderer (41-792). 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":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c3e3cfc70c8026b3cd1179885070e3531ca9cf8cb8c4e96fbf79649f570156"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AMQPObservableQueue: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf61c3ce5d6ca5adc384c03e9ad575efa4b057062989697d7a5c691df1c9e9b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowResource: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowResource.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"581f1b31d1a53ec09152e4874d03dbc85e2de433f7adf6a43561bac99b93255e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/ListApiToolsTask.java: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ListApiToolsTask (55-814). 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642182be59ebe07e1f19e03f8ea2a15ba2e0892964e4541938524a4467d34e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:600-652 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1397-1435 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6962a394c8b80013b84874e366513cc35a88327be02af2de51a6fcd40ec78dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 10): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:143-172 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:81-111 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:245-275 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:469-502 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:624-668 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:936-970 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1414-1449 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1789-1824 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1907-1948 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2009-2044 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1789\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe4d39b0da923bcc7a31b2520266de51bfa6aa90f5ccd735435fa18aa8248bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 8): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:77-109 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:241-273 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:468-500 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1056-1085 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1110-1141 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1788-1822 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1900-1942 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2005-2042 \u2014 all 8 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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:77\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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa0a218630d72d9ef24ad76c836aa39ea74822dab94a35a52ada86cb11adbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 10): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:159-190 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:294-329 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:506-534 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:772-800 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:955-985 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1057-1086 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1583-1611 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1791-1824 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1927-1964 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2149-2183 \u2014 all 10 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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:159\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ec35f3b5fad1ad1265b5b008313abccf2e76981226d3f47aa21345d44d121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:768-791 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:818-841 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:768\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf0ebdc1889e551826cb02052b730c03db69bc45954b90d931ca8922e87ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:158-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:79-100 \u2014 before extracting anything, compare \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java\u0060 and \u0060sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:158\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d187c236c0056b151d719d09c6865db706f70db6550f1de83aa3f016e4f7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:521-541 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:553-573 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:553-573 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:521\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bec33bde443d14d15811415436250c9817540917714b357d2a868bc363693e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:833-853 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:826-846 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:826-846 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:833\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945d2e5a02f35d6742179fd4d74149c5d01a1fecb6f5f3d1a81973b3d3a1d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2799-2819 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2959-2980 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2799\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c99b70ad925c0ccd75dd8f99cbc7eaeda6e41ee729d5a4e8c5216e3a8ea373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1174-1197 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1267-1287 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1174\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5de4e8de3ac5d0390e609e1e5f04b40b1dc38df74f889c2233d9f33f3ffd683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:762-781 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:755-774 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:755-774 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:762\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d398135a70056c2950de5403bc7b11c18230b01486e4118ccbcad8e1145b519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:876-895 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:869-888 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:869-888 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:876\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62aa37ac7981c80dba3cf30a5da89aa255d45ab36e610c22228cf6bdc24de5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:444-463 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:499-518 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:159-178 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:444\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"102941e6294c2355f34e747e89d9721d16cfd51fb36da5dfa1d7527499a864dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:146-164 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:161-179 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:149-167 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:167-185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3380c13472735aed71e6e5302ae2ef3d3dfcd42de1a0928a35916f28241ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:421-439 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:453-471 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:453-471 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:421\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5ff0b047c0733db248e47d7e918afd6d6d21799a27f1e2c92b5f0c1518b17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:952-970 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:946-964 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:946-964 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:952\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"752bc9ad3ae116a3cef801cbb9677f364287ea91b39c23a385895c614bfe14a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:168-186 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:231-249 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:219-237 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4d273aadb523adfaf1accf59e7040189efdd5fc6db0e276c4e430f6507892a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:232-250 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:295-313 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:283-301 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:232\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef66ce911c2a01ea69a4a1eecfb455cdfd1daf0395840f645d6be18093ce638e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1307-1325 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1381-1399 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1307\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e962395abcf90b577f6ad1337db6bcb0fdc548cf97962b2c4c0b7f0f107bd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:672-691 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:743-761 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:672\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29171fa2e8ae9a5d64c2371326ce794b824cbc8ab6f7833aeaa27422cf32ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:239-257 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:239-257 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:239\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ece90cac66e7f7e4f5d9b0677bc95357e06a046623c3e92941701f03490531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:138-155 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:162-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:162-179 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"585a0cf418fd0286035342cac2e81dafcde9f95b5e942ce62eedf28c5c8e7872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:734-751 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:727-744 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:727-744 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:734\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"29298801ed5982e75c85d5249932c43a6337edce8b0e2053a1e7536d8b101a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1026-1043 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:165-182 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:86-103 \u2014 before extracting anything, compare \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java\u0060 and \u0060sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1026\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f24d7eca25bdfd509d2108fe835b2f64bce16cd55bde150d5bf47fc8e686274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:160-177 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:180-197 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:82-99 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:160\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e238bf648bfefdeb5c81506dcf8653bbf015c0810522ca44cf1ee28374ad7af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:227-244 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:282-299 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:41-58 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:227\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9e7b801947203cca7f4f8ed0e990f387609c892caa068d897441fdda40622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:258-275 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:313-330 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:71-88 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:258\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9234b999796c459885b6075a0e2d3052810ae311e1c6a324782d48486f1949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:531-548 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:586-603 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteTaskMetadataDAO.java:84-101 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c976187229156bda1a3deef6e6cf1f7a8e7583ae6ae6bf59500abb62f132a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:310-327 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:437-454 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:419-436 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:310\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6686b3e2f2f5bd1421ea4076da184e48474f5b61e43051fe14e54b29ef1e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:228-245 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:230-247 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:223-240 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:228\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"561fc41157fdc59acd256c238a4c3db8919e7dd491c3b86c4f7572f46307cca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:153-170 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:152-169 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:153\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"40152bfec9d07148a0e7f0d81ecc69e6a909297658460f5116351953a80e2cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:142-159 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:171-188 \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 \u0060os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:142\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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcb9fe42c71a1ac7906c458a1e3d6db923dd4e6b774ecd51c07a32b14eec24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:214-231 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:214-231 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:214\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"26374e1c3c410d58e869f878e6ac835350f2cde307c3a21ae21c625fe5d38c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:180-196 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:168-184 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:186-202 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a84b4f44e45f9994a758b866e61cba01d6125b704fa40e89789bab59baf1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:698-714 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:691-707 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:691-707 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:698\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c797696b4281147122370912593032482ab61ea32cc095073b318f639f52411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:398-414 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:453-469 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:193-209 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:398\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b846ab6fb1f1c634270555af192fe4a86a86f0ea2a9d3aed78d2ae93323cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:375-393 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:199-215 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:375\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"97adc32b5b5e7d2ec1a2b538a3a99f856ade461fcf7d6a8ef554017a5cee2443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1728-1744 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2010-2027 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e2259dee3ac2c1f19c8424e2e4687cfe0d17b5f8d84b79d87339fe15ae0c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:642-658 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:703-719 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:642\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1d47aabd5700dfb16e1a21fe5bb72af428b844e8696deec33c69f102f2bf4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:98-114 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java:121-137 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:98\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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"072abaa37f067fb98187ecf35eb19ab481ea4adcbc7d7d77e97645ed29317d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:84-100 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:81-97 \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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad04fb1576ed6438bcc340fcf34afc74025b458afc3bcb792c5cddf1d8280986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:321-337 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:304-320 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:321\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5084f55e209fa945d690ec3a1bae9571f0879bdb0c49a63283a652394bb0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1216-1231 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1292-1307 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1256-1271 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe31d6aaac7891e4b646fd96494d6eda5d9cab5b21f9e2ed1299b5003484e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:975-990 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:969-984 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:969-984 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ceea9c7b3d8889c52336c7407c11363efa854adfc82260907d7dbdc6e2bd9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:507-523 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:942-957 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:507\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3baad453f3e91e4dc1252bfc27c081b498a07e5dd637ce858b17311f48fa86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:132-147 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:160-175 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:160\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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bd2f8ddadee1c7b4e77ba2b0a1199fad267a85e59225a754f11508c861f093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2131-2146 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2463-2478 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff0c5500692d945057921c33425ec91197381698523994c2d3d2ead49b4ad4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3459-3474 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3525-3542 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3459\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9419984649ecbc0eb7b3af0f98aeb4757664a0fd386c1d5995114206c20a86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:134-150 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:269-284 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:134\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87d3b7b725922a644d97db5198aec74eaf5961e6d812d3ece60693389aecad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:130-145 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:244-259 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:130\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":"ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d1ae253bb18b33189449509ce5ecc1b6e6f6874917dcbf6698be901eadffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:499-514 | kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:525-540 \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 \u0060kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:499\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":"kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"232f30ff88b7818cca03f6a6f9aedf3b3d0187d3a6e15df3f7100ecf80eef472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:62-77 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:59-74 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:62\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7139e78d79c5755182db9c83df777513233a95b5b14b13b76be70837f653ff66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:371-386 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:353-368 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:371\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"93814852b420a6ca3e80a5a0b5fdbf90b95d330742f80804c625839ac9290d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:499-514 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:463-478 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:499\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a8877a6864346ff8c666783bbcaf5bf81aa5a370bfd87710dbd70ed6b30f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:87-101 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:89-103 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:89-103 \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 \u0060mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:87\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":"mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea2834f8e8d7e6311be2cccf21c099ba26180f8629a4eeab28f9608208dc06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:199-213 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:223-237 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:223-237 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:199\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0083579db89d67fb50eeb3254b03d84db233014cdef0f978f9aa38db0017f650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:589-603 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:582-596 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:582-596 \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. 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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a09bd08bd3a97c6dcc07b5606ad62c33c3fde84b936f8f35295594c8302c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2976-2990 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3685-3700 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2976\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea637dc1ad6bd51bda44762d69b8baa669233bf4ad8bc18be5dc9a7d1fca143c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:478-492 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2211-2226 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9298f883bf10e0f0a2cca7ed27ccd8978379377980c9143b647b2bc34e92d5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:485-499 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1671-1685 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:485\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d53b2d4e890e0f31ee4a2bf6a60fb0a43f36bcb62d18094849367406f32ac02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:302-317 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:155-169 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8530cc1297900a326e11a66af41f5d6b6148f92cf982e792546b10fbbcdcd2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:886-900 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:899-913 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:886\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c27c9e3a05f8be5422fc315fa92bf131b50eb5ff9b4c906091df619e337073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1137-1151 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1176-1190 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"172d3cb55243df8ade8284ef903ad5b4c191e610fc2b68d2274e74c298da9578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:358-372 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:414-428 \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 \u0060os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:358\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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b6db97740527007c9fef04d00534d55eff4da3f6c6b54e8993649bccdec947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:226-240 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:221-242 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:226\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"29279e90574fde458c55e3ccbefe98ec20162086605f3eb7d7d9c7602435c7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:70-84 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:66-80 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:70\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ced2fc862a5caa8f83dee42825396538c42eab298d9b9fc2c95e718ca277a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:125-139 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:125-139 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfb0e3b847b68bf85ddbe4b70e3738c9132cf6001bdaa2f3db5ebba93311d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:44-58 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWorkflowToS3.java:57-71 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:44\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":"workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fad62e272ea98512ba19423fdec614edd7c2d32554925b0d74a9e479f800020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:153-167 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:150-164 \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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea84ce8f701c54d56125a151c9e10f144d717c23cc9aa0a3050e1e7956b603eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:57-71 | scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:91-105 \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 \u0060scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"992a1ee44a1300f9fc6fef4ec432d2d131698638660a91a2b88deaf41428a8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:366-379 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:417-430 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:372-385 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:423-436 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:366\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb44e1916b60c897e929cc3eafa08e1c86350e32dfd7aa0dc451b3a7b42f5a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:98-113 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:121-136 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:126-139 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:121-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c31091a339664e846573db2e509756261667852053b69abd84e3e12e4436b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:240-253 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:264-277 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:264-277 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6625d4b584f0ce3cb687a2fd27724e2c2cf0d6e9791548e9e686c14c61e9fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:612-625 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:605-618 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:605-618 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:612\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a1bb34a11fb31276e53f5738d6f7bf47e7756eebbd4b22d8bb16812010e1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:285-298 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:340-353 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:97-110 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:285\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"25789a8cafccbbb03d6a2ae8b626946054ad8f3b474d50bf80ed09f328b91923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:511-524 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:538-551 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:531-544 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"db536d3348fe0502356f8273c669e47fb512d905b49ce8154c5046eca15debeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:527-540 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:554-567 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:547-560 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2920c321c8d9983dd3f002051df39597b98c3e59d537e556ccee80ee4e1e9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:362-375 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:974-987 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:362\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"63852a29b28a1406d51747c641be8b953543a54c45656680f029b82d4829810e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:98-113 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:66-79 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cf864748aab90458b7077ad7bc74e3b94c71e3307def6a059835e62dbbf477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:325-338 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:188-201 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:325\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2db1bcf6558c3d464046cbbbdc8352eedf74aed58043e7a6f9b70dc326c237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:128-141 | ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:202-215 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:128\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":"ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a64f8a3d408e8aba3323a5ed6f5da0c266af9d6a5d14f2545368602c0df45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:285-298 | scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:173-186 \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 \u0060scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:285\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":"scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a309bc7768bc8ca6375fa07b2b23adc75e6f85b037137cd2cf01028ec5155bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:144-157 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:144-157 \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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfd7ba8a529a3dde0294a7c15ae71b2265829358e2eaa5c38e2e3ca39b679ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:141-154 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:133-146 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:141\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"276545197ee9df9e4c26c4e9c35bbb20bc682f60ce311abcd000223648f0e753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:90-103 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:90-103 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:90\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a0c0dd5149042bfd2a3ad6276e43ddf47d01c3b04152c407e3e43eec25c1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:197-210 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:197-210 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:197\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"836c185f7da499d17c09d6e1f146cb28234c8a623df5b1eafaad7e5ef32483e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): common/src/main/java/com/netflix/conductor/common/run/Workflow.java:508-521 | core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:454-467 \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 \u0060common/src/main/java/com/netflix/conductor/common/run/Workflow.java:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/run/Workflow.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c4f9ffdced8f2a19dd6431a286e58660f250a0c92bb5db1bbe6a68e269661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:498-511 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:553-566 \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 \u0060core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:498\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":"core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c614f5d79266b2c2fe5f398f4775a154f313914a9d040914740a292f84545af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:926-939 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:926-939 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:926\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"083dc9a198031346923c03e411ff0d1449b170f3fcc296d989c2a1de20a938cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:166-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:161-174 \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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a1e1f21f11986e9446f8fced4efbfc4afba2c56d9c39ac39631b219b36bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:81-93 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:69-81 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:74-86 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:81-93 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:70-82 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:81\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e959401d393d6e110305da8fd10e6abe5a413b720f24ccc65e4ac150e4cd0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:100-112 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:100-112 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:100-112 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:100-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:100\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fa74e1958e4ade9773428b28e420bdccf57376b8d26664389846016dcf1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java:45-57 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangChainNormalizer.java:45-57 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:296-308 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9babff7f36339ff78188f9b55e8a24f0e553af4ac99789386fddd0aaea971d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:128-140 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:128-140 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:102-114 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:128\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbfb257f1106719c42fcd25b609c35ebadd2797dc9ebc3865b7a8ae919ace84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:199-211 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:201-213 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:194-206 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:199\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e827abb4bd213e6d1952c2c274da142db905f2bf42cc7f047c4848dea604c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:543-555 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:570-582 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:563-575 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:543\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3b98c82dfaed0e6edf253c8aaf9996fc038409a316f3878758465f5a43b8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:570-582 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:597-609 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:590-602 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4443e3a91e557e6bf908c308edca08bae1808bea067ec4243a258ff2efaf3f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeTaskStatusListener.java:58-70 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeWorkflowStatusListener.java:66-78 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeTaskStatusListener.java:58\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeTaskStatusListener.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acca5f8385f251e657538683c25fe533c9d4b67d5c1ba512fbf7646634bb785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:590-605 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1026-1038 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa025e0f0336281420c8b6c8a14d6eb39ea914f867f01a78b00112f88be4d3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1730-1742 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1851-1863 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfc81e803fdcba7278d6cf1f6f7e0c56b7eb853c0fe851258d88a8455db2dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3425-3437 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3491-3503 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":3425}}}],"partialFingerprints":{"codehealthFindingId/v1":"197dfc62ef76f5b91f72b80016bd3dbc8cae62b07ae5254224d124b9a242f1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:724-736 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:718-730 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:724\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768bb0ee618432a8a34ce84faed3304db5f58ad12d3556d69e618a79fa50a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:984-996 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:997-1009 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:984\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a2c25676bb1d35d3889c30d8d46ee1dae7491c08b66f9ff7fd7dabfeb621c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:229-241 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:254-266 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:229\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d29db261ca26b562c44f1933e2f481ffcf215080ac509f6f77d2b73462b8cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:58-70 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:58\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ccaa8552789f2ea380164465b27540d6b01161c1652fb683937c4a388db33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/HumanTaskMapper.java:54-66 | core/src/main/java/com/netflix/conductor/core/execution/mapper/WaitTaskMapper.java:62-74 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/mapper/HumanTaskMapper.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bdbd8f33950ccda4663bae23f93a7303e5da303038df2553ab08d24b4459df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:181-195 | core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:223-235 \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 \u0060core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68d6ed196fc3351f1e4477639af8f60abd0c373f4570704b3b3ed252ecbab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:130-142 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:127-139 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:130\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"163353cd147ae79aecad1ad4e12751e3a19ad74559dfa94892b4f0c3c79b9f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:193-205 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:190-202 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:193\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cd8fbb2ff37f095aeb83514e4602be4f442e7ad18ec55f891f46299a59f0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:87-99 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:133-145 \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 \u0060sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:87\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":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b61ff5a2657ce919908877b4fe22d3dc1d8d696ad96ea28a88a5fcdcade746c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:270-282 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:298-310 \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 \u0060sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:270\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":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79f056b031095b504d3e3b929f5efddb63c39a2fe43d3ee47212512214acc46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:283-294 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:855-866 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1055-1066 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1196-1207 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1898-1909 \u2014 all 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8f142400ca415da6dbd066eec469bac827110375f27aac5cf2ee3666a081ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:222-233 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:212-223 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:200-211 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:218-229 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:222\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8458317f3fbe2fa9758cdc1e68292cda549d9a039bcdc598fbf38a14f792b0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:738-749 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:881-892 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:880-891 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:894-905 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:738\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"2864a94605dcf9db59080853f16f6d0df297f3b5c5fff39b88aa6fd4a72c255b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:858-869 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1015-1026 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1217-1228 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b7d609e442254a35308667412c8df16e1c64755b598c3d97ac98ed0885415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:400-413 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:429-440 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:456-468 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"da676d9571b8d131a8e22235efeeb8328aeab05a4bebca07b26e1402bf5bd91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:156-167 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:158-169 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:158-169 \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 \u0060mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:156\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":"mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c0d4a93ff1d8e4384d6f54d1e3720d12659add3a62cb6e670c78e37177899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:389-400 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:382-393 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:395-406 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:389\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3d2638d73900db1f6da62b581c8a2c6804fff1046c8b62a1020f48e8ce135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:904-915 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:903-914 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:917-928 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:904\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ec19dbf0694a950cf05d9cdd1a043ac53c375820227890f9c264e1a9f8189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:427-438 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:506-517 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:561-572 \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 \u0060core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:427\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":"core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"acacffb7fde41bdc0b6e789176a90c8a443af9682eb7a3e9e4611fa81e824966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:320-331 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:344-355 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:344-355 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:320\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3f81eb56af53554ebd66172bf26f5285fc8356db7649e64df189435b29b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:934-946 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:929-940 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:929-940 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"a448faf2a49f9f8c1bee47a6e485933191368fa9d35fad863b09bfe5e261ed8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:357-368 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:504-515 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:468-479 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:357\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f492783dc9b3d4199d49d6510402516142812f42f98360828820172001fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:476-487 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:503-514 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:496-507 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b82f0aee558f035d5d18b25cd48cbdb294ca45d7f595147c2e33c2d4d26803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:593-604 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:141-152 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java: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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b4174b55f6c0d2a278d61b81aa29256137aaf447ffe6fe81f49c9966024a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:398-409 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1357-1368 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"756f2a6f92549cc01a5ce41dcc1d444cade5e1607a6a640eacd24cf2390d0f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1008-1019 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1354-1365 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fc83c98880da3bffb1df1d6057c10e2ffd90c55339d329ad756b376fa437e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:284-296 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:436-447 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:284\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"250c319e9ae9af9980911f4f3716ebd8e09d7ad6beca3dbfb9b9839e7c690c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1810-1821 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2094-2105 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1810\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b049b3fcb4340c29f45ec56e64e896e1e70dd0b50df1f0c15dd2ce48cf6ffc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:185-196 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:269-280 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442f89fdf9cc6fbfd28d96a8f1e5c6d402d588cd299be187004c8603573b5dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:574-585 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:737-748 \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 \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:574\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e74ad575f93a025c60350764982b7fa96e6d430a58950185f95ec9b7501bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:80-91 | es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:69-80 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"79492f8de626b25fd6d2305c1668199eda3d878d7d19302455612a04611b2be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:284-295 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:283-294 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:284\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e58a47220fb726511aae76f077c9d516a9f53c513b3161f46f7892c13a1f15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:267-278 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:255-266 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:267\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05badf15ea90d25832e8fb14205cb9a401a07410eecdd841fc9f8b0fd6d4f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:545-556 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:558-569 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:545\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a2ec509b9e25ebd9921fcea3030421f2c927fdd475b2247f981c3f75597854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1171-1182 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1210-1221 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d17d50fa6763fc3b6d9ec12f0e62e74a8be595008a3ba9515edf7752701d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:89-100 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:89-100 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:89\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d8d341339ffab5393ff26ba021346a7bef24493ea2821aa3be3d8ebc1cc030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:177-188 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:177-188 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:177\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b45435e5ed200d4324ca58d0a2e65939c9463a4d53f3bc027072cd850c6914c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraRateLimitingDAO.java:71-82 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisRateLimitingDAO.java:82-93 \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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraRateLimitingDAO.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"230daa41511b0820d19c7f334f35729b98e0ab3885c19d039cea3d4507d867fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:251-262 | core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:326-337 \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 \u0060core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:251\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":"core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd433452da4b26242954108ebb302ddf980601be417932219e9118407fac2d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:718-729 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:811-822 \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 \u0060core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:718\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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d0e551566ae5414b9ffad9c47c37a0335540929bb77aefc66d1eccefff159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/netflix/conductor/service/ExecutionService.java:537-548 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:565-576 \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 \u0060core/src/main/java/com/netflix/conductor/service/ExecutionService.java:537\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":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64fabaf58dfa44e2f86e844de474888bb9034af17276dfd1e242c613256aef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:160-171 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:160-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:160\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b456d5906d3bcc460c69088da52f2d542e0a61d67dc11ea2021ffab7772a41e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:216-227 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:213-224 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b961e70a113dc6ea720e6e196cf37322a09414752ad64eb1d57bc16ffaf05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:189-200 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:204-215 \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. 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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f8ef7847c41c88066c005ea306c0fe0a53fb38465295e06133d78aa6880e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:442-453 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:467-478 \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 \u0060redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:442\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":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f9b3a7c4c055afe27af072400e3763a4a91b6eba8dc62a76e3a4de031c663c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:74-84 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:48-58 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:74-84 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:48-58 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:74-84 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:48-58 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:74-84 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:48-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27c437e3cd700fceb289c5bf06272909ef912d51ec563933681f8de1ff3ecd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:166-176 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:167-177 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:167-177 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:167-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:166\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e0023e70f4fa74fd9e00a6f386a50a0338149356ae440fb8680aad92f40ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java:45-55 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ListConst.java:45-55 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ListConst.java:45-55 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java:45-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java:45\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb8c33b5a16818ed7837a47c815cd73c7c2455184d7b11eb5921acde639337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java:47-57 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:47-57 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/Expression.java:46-56 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:48-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java:47\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fa68cc4c7bb2f07cd58fd4e80f19b0a8224dfcb5cf3fd06f2635a8f337fdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:243-253 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:271-283 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:294-306 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:329-341 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. 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":"grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0b975ec09f31c1c2706ce5f64a8686a2b80c7053e40740310dd1a9425b3157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:348-358 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:646-656 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1069-1079 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602731cada77a6d5158a1be320bacdd6f726d190306d5748199ae82ac4abd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:61-71 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:62-72 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAISpeechApi.java:66-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:61\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e797e95984783e7ad0b94231453b89ddbf0aaf505fbcddb2484f93f0d8a0277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java:65-75 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:68-78 | es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:57-67 \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 \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java:65\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f2ad1b03b85b5795a3ecd6a3ba80e478549088aff93ca2e5403d7f1ad26026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:130-141 | nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:120-130 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:120-130 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:130\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d04896f0d24969154538f08deafa6ab6e2d8f07de2d71dff70dcb6d4963266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:643-653 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:636-646 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:636-646 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:643\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4292db14dcf1bdeb8bbc28082965c5fbff63de03217ac45d1932ac914768abda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:311-321 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:366-376 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:115-125 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:311\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cfc649913047900066dd1e1ceea5d411ddd0e890be40197a3aa58532372520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:196-206 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:259-269 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:247-257 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:196\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccfc2278402ad89f9a5d13eb1a76ff979b8241c2a3a9396ea0e763913e5a992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:277-287 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:279-289 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:272-282 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:277\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"800bfce72da6ba4a89193969e9a7cccc68256eb57850ed77657c0bb709d90862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:306-316 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:308-318 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:301-311 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:306\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec965f8325265f3ac1f69eb00561158b1f1a8b5f43cd0f0a8de8edf4d69c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:352-362 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:354-364 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:347-357 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:352\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a781f9e1b273e14f8a7f7efdc3399220553592bf6f2ecc2d8618221d0ac1a503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:274-284 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:122-134 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:274\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c46d7517f5e16b336feef22f1180148019494777fdcb5a8b3d1867ec3bbb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:474-484 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:405-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccfbd82b84c3fd968cd17773cbe1d41e76a161dd8c054535a14dde2a3f76d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:152-162 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:100-110 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java: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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7932e4b13b7a0051e139d50cd14e03e16fa0b64c89590c6d3a8f77280e9f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2181-2191 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2293-2303 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd1fecbd5abc65e67b9a86c50f7af62fe02b9988166bc0033223ec2527cc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3475-3485 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3563-3573 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3475\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b851e80c83115fdf00c66d64bcf76195312ef08ad2b935e444935d17e98816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:440-450 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:679-689 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac8d5bbd95a4e5ea1f2e26fefe892d7507b6b094e85e657c6896a8673fef5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1651-1661 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1836-1846 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c3fb2bd11a9f85a7a46f3b915346fd9ebdaf6c596a201e2ed4d404509fd4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:303-313 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1489-1499 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfc259cce7d4127552cf4695d17e4491fd38a5082454ba369263110c9477117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:806-816 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:963-973 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:806\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b187b5bda33262135ca4da0d3c63068451173bcf4e65b0d9ba66c87c3ca5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:53-63 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:46-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0cf5491ec673973a6323c96a2d89f14ae334cc5fb877d413799f0eb880032d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:160-171 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:202-212 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:160\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"14926cc01330271b479f9fb732019ed51234cc06d4de251b178b8003070051c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:341-351 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:352-362 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:341\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5b4bb3cbb41ffdd9f8ced34a29556f860fe710c91a3e90a72ffcbefce105e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:138-148 | ai/src/main/java/org/conductoross/conductor/ai/providers/huggingface/HuggingFace.java:98-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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:138\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c0abe0f7b56d9e0e1cad72036b936037c09b11e7037deb16ed5149ae6ae23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:304-314 | core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowRepairService.java:188-198 \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 \u0060core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:304\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":"core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5e138cbc866d34c0bc42a0f0c0e929d32c3909ae8fc7c20b43574eaf3ce86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1066-1076 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1109-1119 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1066\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"377fbfc882a9de9dff1289677b6ba1d70a37cbf3312c13cde373fa62829c0b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java:501-511 | scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerDAO.java:307-317 \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 \u0060scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java:501\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":"scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6394c223b2f864de080f36120081b77dd9de6ad695de2a58f72a7678536e859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:210-220 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:205-215 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:210\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c05ea7956a29ca365e42c899c3df333254f612c1537bbf4235bf43a3c99c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:167-177 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:161-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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381f01405b446b39a2d612757e3510572d7208919fcd0649adc3e46c7094dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:379-389 | core/src/main/java/com/netflix/conductor/core/events/queue/ConductorObservableQueue.java:122-132 \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":"awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"411678d12ba07fcd9d75ab36c7a7933901864eb27adf427cff74806b7dfd7e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:180-190 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:206-216 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:180\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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bf4111a9f2c4a12bcdef3fe9fd2a704afdcdcd053850b6c9051a88cf565b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:145-155 | core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:78-91 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c8e9d50811598a15e7826a05afa3110df774b716e4504b8164c5778c3201a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:65-75 | core/src/main/java/com/netflix/conductor/core/execution/mapper/LambdaTaskMapper.java:65-75 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ad2f4b4e04d946c50345f612b50739ed301e1cf805c0ea3d98f9ba0c8496e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:156-166 | core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:210-220 \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 \u0060core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:156\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":"core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e033c191101cb8b14f721d55fdd8009d22f96da8e8bf2e1004a103a579dcd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:176-187 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:248-258 \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 \u0060core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3831f2875a1fd9cd0b07fe55db0b33f495b9cc692b61adf38fefbf66442fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:488-498 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:543-553 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:488\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0e308d957e00cdce44a387fb54eccc9988404a6d61ab2179e1c8830ab0981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java:26-36 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/ExecutorsUtil.java:26-36 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java:26\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c2142c0e541fed151bfb707f56bcdcc2b246822543caf07b29a424a958fabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:211-221 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:228-238 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java: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. 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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8d315cc915ebd8fcebac3fc016b1feff9f36bc8e9d7a9aa00dfd5f62d9021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:274-284 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:287-297 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c28123a128c5eee5e6da3b81197737014e55b7ee00a6af0287066e91846c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:762-771 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:908-917 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:907-916 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:921-930 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:762\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5603b9584965041572fd65c6c2e6a154e50008809fb3dbc21aafc69156cb16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:88-97 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:88-97 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:88-97 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:88-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ce72c78ee54a52e795fb1bd0a960cef7aacb27b97f8cb2a2ddbff7c998ce93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java:82-91 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ComparisonOp.java:82-91 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ComparisonOp.java:82-91 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:82-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java:82\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"400873a1a1e627eb24e5a28fcd5377bc7bbc6cb0acb79a85b34fd0a11b9e520f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:32-41 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:32-41 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:32-41 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:32-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:32\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba78a2ccdc4256cfe1e02016576dff7f8004f56b7a0e268916c58ccfe5e5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2103-2112 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2233-2242 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3486-3495 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef4bc96c0deb8e05c6a904ad4082cb7b0a1d5e6e540a074906df8a707d2c2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1124-1133 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1312-1321 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1996-2005 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20bb2b98de8e13ff16196723e54a36544993340fad9a539a18e4b105febb763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java:64-73 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchBaseDAO.java:62-71 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:64-73 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed51d18714c5a1b9327e80d36bc4203fbd4d4fc3de8a7a104fe41c4af2bc0261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:946-955 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:950-959 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:959-968 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:946\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d36a222528947a536259dc92b8ffb65a151af282bf7ef6a58ea18475856440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:57-66 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:57-66 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:195-204 \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. 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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"312e8260f2d39e1b14971139496bce22fb9addeb80147ab73d5515a7a5f907d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:133-142 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:131-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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7196c3ed72360c16df8abfdd314b9c4eb2ebfef6412c5ab4b270a4dfe95b6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:222-231 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:244-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"427a6e6d5007265bbc4d0629c6ef6f969bce95a4405b2ec8d70c6feb7bf6edd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:364-373 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:669-678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5975f1cc12976944fb793e57224dad03831f554b80ccc5b88e1caa28d8ceb22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:662-671 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1087-1096 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:662\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"680cdcb011c4b6d9f7bd5c33c549e7df1d634939d08c5eb0b65e320566ca7978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2956-2965 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3665-3674 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2956\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"6526d6454218a9f3c58232ba8666ab8a3fb841647b4532f5d88f654007bdf102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3231-3241 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3249-3258 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":3231}}}],"partialFingerprints":{"codehealthFindingId/v1":"239eb0edc0d0914869955f1106186d9964ef6876b02e533756a66d51d8ce78e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1092-1101 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1221-1230 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d6dd01907d11e633ff2c8d5a05a67c6c0aee0424c8c96e6ea6527a94414852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:46-57 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:77-86 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa625c0a01dd7a943424619d55c257753b4c4875e97c4681d3b18784acbf447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:455-464 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1650-1660 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:455\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e85f042eaf7ae979cb57f2209c96759c72f1bcad7736d1cf399f6806c844be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1784-1793 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2044-2053 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1784\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"20900b7b2d12262079fcc69fdd625fb238bb7f75b13797d776cf5a42ac93e0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:126-135 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:246-256 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:126\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7030fd41352c40b6455d0da5be1e766d851fb25b1a25812d0e96cdda5b4b426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:361-370 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:435-444 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:361\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4099d57ba4f87b8153bd6d676ccf8616b762378a461fa3bdfd26695a7233cc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1534-1543 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1561-1570 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1534\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa79346daf612695145689dfa9a3da67fe31ca2df9f7762a6afdfead9858a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1797-1806 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1848-1857 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1797\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceb53d434c0323386295eed836509c229c3f494d7c3e9f9afb84ecffeb35305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:85-94 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:82-92 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:85\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46fecb1f3100c5444b5e30d87fc2c4e35a9c169c280a083060950c4a71c6988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:181-190 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:224-233 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:181\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3074edd45f907c203d94f62fc88550fe29fbdc81072c89d349349f6f2aa6dc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:109-118 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:134-143 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8c45d48e4a90683d781bf8043be825c0570ccd6dbb521655e601e446d2be26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:198-207 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:225-235 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb98a95e392673338a6a8345057a57ecea6af922870a3cd3cfdf7cc61d8835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:445-454 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:451-460 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:445\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"308fab1ec8cacf35b6253b266d9a88a220318003738206212756f0d46ea35d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:519-528 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:518-527 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:519\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b36abe3384acda54e3f962a7e22ff9d7cd6fb9c2eb50b9e1a9a2ee1460e1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:589-598 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:602-611 \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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"925a09408779c924395e68fe451b8eefd8a0d3c939da16f0751de6feec6ace81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:624-633 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:637-646 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:624\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0239f7559f170e7a8fc2b14d31d57c2b6a22a521d657640c20b8563b4c5e0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:661-670 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:674-683 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:661\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"085ae454632979edcae826b6d28e049cc7be009a9ca67b48f339fbc6fa6aca9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1314-1323 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1365-1374 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1314\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2c2c3bfc58f25e25886b194dff69c899bf138b456ac6e04cfe78bb95b81251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:86-95 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:87-96 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:86\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ace3cd4430295f04604163b76b17ef0f1411109a27c1a107a766d92aba7135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:298-307 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:277-286 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java: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. 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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee5e9db8900e7e011a7ae798eeda60b5a3cf795943024e56e7d6428243baa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:125-134 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:148-157 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:125\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52f913cb5f6a298a3d532eb1345009d9994b33ec0180ebbc73ec07243253c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:309-318 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:321-330 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:309\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f59ebcdac4e4a6f161ed51a06746456680c1c034e551c62778e420c3d04128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:65-74 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:65-74 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:65\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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3754540746b16f70f064ad619e39e9c27440daed82f7629aa39c786c63575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:675-684 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:695-704 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:675\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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b93fc251e295e0a7f64f8e3dd30a4efe2489e9a02b809d9fccca7f78b916b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:412-421 | core/src/main/java/com/netflix/conductor/model/TaskModel.java:654-663 \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 \u0060common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:412\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdf81044dba6934c9805523bf16113b64655ab3dd1f31b014f381359e051847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:332-341 | core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:366-375 \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 \u0060core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:332\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7d40beb8aa518e195ace4daf1560b29e266bd974dc88bbca1fd9cf75b0648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:69-78 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:66-75 \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 \u0060core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:69\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3591833bf2dcb7887b74cf57f268a00301933c6a8ea9b177abd9ce4d8e1c1ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:362-371 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:413-422 \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 \u0060es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:362\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":"es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a91bcbe9c602fc89a357369912f80c0295ab8f50f9c3a3f474ed54fa825d8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:231-240 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:228-237 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:231\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"29adb801853d35b8f585f66c8b7becfabaf2f9a133c327d84b5549adca02ead6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:721-737 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1135-1143 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1326-1334 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2007-2015 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb1d2c07fa61a49d1ec0add2ea39d6dcb5e551f03a4484d318b26b04e81babc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:761-769 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1154-1162 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:678-686 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1194-1202 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3979c932a9c349595f7075c01ce791ab924af991ddf00f4e87bd103bd4b165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:552-560 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:702-710 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:696-704 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:715-723 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bb195b216eb55ab5edb745be5cecfce4343171c76eb47e3d570a8a62bdd37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:152-160 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:153-161 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:153-161 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:153-161 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java: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. 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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db6fe0c1012533469498f824015e2b2196e8172335d57eaf37b0c54c1911b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:741-749 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:760-768 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:72-80 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:101-109 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:741\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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef355848781f9117dc3afba8b7e1d204984c2977be4f6f76660b0db81ee101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1659-1667 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:107-115 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:135-143 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6f2a90a0f464e4f926f7a4a801c666ff10bf626fdd3dde872f9ed0a32cb754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:193-201 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVideoModel.java:174-182 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIVideoModel.java:206-214 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:193\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2b3563012a9a186d64f19957d19afe5ca91e832b2fbb4cc29f4457b90845b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:702-710 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:869-877 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:845-853 \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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"720936e7d8403a3170957c04d18567dec4aa7931571aa45a1bfb3c873359e6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:64-72 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:64-72 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:63-71 \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 \u0060mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:64\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":"mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"278db4aa198541a93b7580642d17af216314d6a58acdbda061465eddc9848e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:866-874 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:865-873 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:879-887 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:866\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb04d1f54313b714df97657ab58a090f22e2697cf7647bb0d30b98de7818a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:167-175 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:191-199 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:191-199 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:167\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f59c1f915409eb4c4a5cd1416d35ade18513d45641bbff10a38f2f25108cf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:357-365 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:389-397 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:389-397 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:357\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"825084166715b1d752cd75824a845b2a1f727c28c9b022fda5f1f209fd31345f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:575-583 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:140-148 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:65-73 \u2014 before extracting anything, compare \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java\u0060 and \u0060sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:575\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8072a75ecdfd62c4d332dc4c9eff2c9881e294272e28c09a21e06b1e23b42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:378-386 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:380-388 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:373-381 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:378\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f2f7af515d46964f4c31fd9f43e5e7700946df4fd626ad7f8abc83172d20ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:421-429 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:394-402 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:421\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aa947d05405f1922fb62a2cdc0209722f382409e23ea6d60ebbcbf5752451c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:438-446 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:348-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:438\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e259cec924721fb8e51114690f2422d0c86b63126bcf9ec6a0475c3142ebd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:487-495 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:418-426 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:487\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95a00bfd06cbbac493b7fc7c3ba9147c507c3af3232f0f347b9546189084ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:207-215 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:121-129 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"019ae94e06c0d4c62366dc083173a5670711f693d91c4eb29b904341ddf9e3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:426-434 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:247-256 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad46f8399c1375bd7fcff06ee885ade77d00f9d02859590bfd7698a22817351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3095-3103 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3535-3548 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3095\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":3095}}}],"partialFingerprints":{"codehealthFindingId/v1":"336053f95f1a46c70b4bd687fdd08e24813ac1955f408a659faaac7a5b3c0510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3171-3183 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3481-3489 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f111265918d7b826376fcf8ab26afbd0cdcb7c8095bc4a23977a65322c725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:205-213 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:349-359 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb3a2b8c4002bd3c2c517701ca9ce2b336b6a2cf22cdeea7b5739810f13d92b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:514-523 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:601-609 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4e9a35310a35c67d95268b2225223ff479530c46ac8414e0acb5a096a1f23a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1111-1119 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1156-1164 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1111\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"212b5c4e582609873e8ea6339fd6429b3be1e8847d664182aa4b987a8703b7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1103-1111 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1115-1123 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b770ee976b93ecd34643565ad52f5737e846c6149df74bb740188ba2e29f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1527-1535 | rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowResource.java:387-395 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c04da26e4c11eb148083e39657017ebe4318f0e99ce4b170a75f4ef9c15e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:101-109 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java:133-141 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7da07c81d8878932bc38e578e3a42062e72be7aa0464e4a021c03dc4f67887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:274-282 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:405-413 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:274\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"394fad43d1b91d40401d42f31b05b74671ed58081cebaddfa73e2664fc2496f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:941-949 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:987-999 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d155fc570b1729f7b895d5b849a36cdceaa8d4ae231249bec64af04a32a5df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:981-990 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1399-1407 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:981\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"657be61c91db0d22cab92de723c4c7a16da503f51bf7a081e33a8c4482751163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:305-313 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:354-362 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:305\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da2e2709eee616afa5fd9fcc9f4704492ba13f0ebc55bcfd6396e32521af3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:126-134 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:156-164 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ce88d4bce49e2bb1d11b971aa5c7decb58488c29de1f23ceae24219942953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:127-135 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:157-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9ee1ed1f904845248c15ac718d9e3545de99fd449ba97487402ff9d50c5c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:106-114 | core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:205-214 \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":"core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"11641500bcea2ff605c0517ccc5c9d9b1040694f6d2891cb6b52c56440dbf2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:358-366 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:536-544 \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 \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:358\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d350dd329cefb59702c352e84eb9655f6cfac06cd62ec8beb45423000d48e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:490-498 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:496-504 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:490\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd08f8a75252feed590cfd4170bb2131ca82ef1cefcca7db3d3c94e095f9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:850-858 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:863-871 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:850\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee56c6319ce2e6b8bc1f2d01d3d747902ea8616784d16a7d6c6986514d24cb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:930-938 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:943-951 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:930\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"702aa1a800ab7b3e4167dc408a99854870515c9d67d9a8ddd6c35f7d9e0f3c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1240-1248 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1283-1291 \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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893e5a00dd81a508c12de7518fd2fd235185329a08a9ff61276b721e55b89cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:242-250 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerDAO.java:182-190 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:242\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8205f454e4d68c8cafbc0d256f75efcc488d163f0c9d23db3ca56231ab7941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:78-86 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:78-86 \u2014 before extracting anything, compare \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java\u0060 and \u0060nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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 \u0060nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java: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":"nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d3f1ef97f28015f563cbb814b2d96493607456bea4dbced95dec2ac4fe845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:82-90 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:96-104 \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 \u0060workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:82\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":"workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96cccdf775adb086bf2c1c83e4a9c95c3a993d9422a449d81f5f233aa65685b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:71-79 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:69-77 \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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3802bfc7b4878ffc8215c09ff9a66cb3c3f3f8488f7d9b1ad59aa392c743d258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:77-85 | core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:67-75 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4f1722c8268f2e3d60cbc8fa0fd03e842057d209f3f5dfa009d9c9e0f3d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:58-66 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:73-81 \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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"632b0623b037f54f4ebc2eade08b574c0c866011afcc863d0c58d48ffe47a17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:93-101 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:77-85 \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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"468c1278d7398d7d3691d30c4b8bca6a4958a1da85c577021dc45dec53c69c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2194-2202 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2245-2253 \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 \u0060core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2194\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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9546f8f1856bd531f4e93bf49cdbbf5355ef466eb0745e849d24b67e89f9f527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2607-2615 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2659-2667 \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 \u0060core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2607\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cacdb02ba8cbb4fd9035a0ab0f08a4985113077742cddb4980e865c19d47611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:112-120 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:109-117 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:112\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e28058a2f7f9f801d9ef11836ae86711e35afb579ae321b3bff3d95e58d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:442-450 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:435-443 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:442\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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa0f179e25b56531ee2b295c7453e71e5f12c4b9336d3a8811af80685d9f266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:59-67 | redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisStandaloneConfiguration.java:58-68 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25e411d63c27d025b786c26d3e253a6205ecc21cea4d62292fd250da8cccec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:682-690 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1118-1125 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1306-1313 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1990-1997 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:682\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12eb66f842a9a2da6d4e0e46a9a211df7066ceda4793c5e274534c673cd1eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:394-401 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:569-576 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:560-567 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:582-589 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:394\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94b224cd6b8de0ab3e05a7c7bbb73bf69639b554cfe1064f654ca4917979cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java:63-70 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:53-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:53-60 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java:63\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe0dbd23dc7eb091913048a42a02dc48e7af085e4fb0133cb8b4aef07d2a9de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3090-3103 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1792-1799 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2052-2060 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"297cc20d53ea03262499090599eedb20c777c2b6c6d586d0443b541f069f53ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:93-101 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:191-198 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:275-282 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb7dc58a50cdcb3273fd99bf1284cd17f5a53c080cccbeed897c2d07c9496c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:751-760 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:912-919 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1350-1357 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52167a594c5894ec94786ec3f091e5a1b4661eb20dc6272f9a3c0c9d2dcfd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:681-688 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:829-836 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:842-849 \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 \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:681\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46c9450b447351fd9a1c358020ed272c9e69a59c86eba6b5b5e731a6815b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:59-66 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java:59-66 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillPackageDAO.java:59-66 \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 \u0060mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e02e884f01ec323f8d091d5b3964078a822a4b7b96f13cc93ae089aa9be25d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:445-452 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:443-450 | es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchProperties.java:226-233 \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. 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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34c557df955071a334c1e9e97dc30a2bf4271cd8b1411130bb8228d2d657e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:287-294 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:275-282 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:293-300 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:287\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca6648bcee691c9af1bdb16836e0a9f0b37c99078c69354126dc785a9735d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:139-146 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:139-146 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:139-146 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:139\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bede69a63c5bffd16249ea125e87428b09395d02208405dd8a5fcaf457437c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:164-171 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:164-171 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:146-153 \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 \u0060scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:164\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":"scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e8a11c2b540860f448b8ec825b55a22d72443caf2fc58bed11705666573a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/com/netflix/conductor/service/ExecutionService.java:514-521 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:595-602 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:635-642 \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 \u0060core/src/main/java/com/netflix/conductor/service/ExecutionService.java:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"705521690a5008afc507a9d02d70b1add8542aec470bcea31cebea050f50fa66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:416-423 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:418-425 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:411-418 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:416\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ab0beb8f0210bf1756effd9329ed65cc665b5490a15afc71c9f3a291091f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:498-505 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:525-532 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:518-525 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:498\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f967c10b9e820425498e40bc5652db478fcc30d7bad75845ddf0e1b851f1c646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java:105-112 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:239-246 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c958cbb002aa79e8425e8731634b2cd98b0bc26325fbb288bdd3bcc2076ce5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:235-242 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:257-264 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:235\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d240e748882c8e929da47ef3caa1c06f303ce28f66ae7838046ba83860a01b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:371-378 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:258-265 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:371\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbaab37430a849161651594c4cf86098290e9689513ef11764932bdb22e828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:498-505 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:429-436 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"25244dcf1709df865d56cf296b0bb51ce4394b993ac97c651c1bd63137274512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:513-520 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:444-451 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:513\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"76162f978118a5234b67156ec0db07c0665cca21837325355dc5e78fd5ac3cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:581-588 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:325-332 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:581\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d6c5dafc470a6a469d163e17906cea50d4d89d71df2b8c4ea42f235cc56280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:374-381 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1683-1690 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee085db7d8c9d1fddd0fc3d28bbf9730401ab278e24029a28116b195dde0d13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:774-783 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1166-1173 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb605c6ab1963b145e810b69a4772f2403bd454a18e441937bb85d9be73dea0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1691-1698 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:305-313 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97c326fd520c7faffb3508cd69ddc5e9ec99dbaea37eac669a0d815fa4744f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:269-276 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1686-1693 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f23091eeaa94b53d3b03cddedfbaa423009c572872bf03ebd7c6a501a833f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:294-301 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:341-348 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2aaba22fbb6d562f0eb14506ce5b16521bde11decbfdc39e2f399d9eab3134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:417-436 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2032-2039 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0a5fb65e633e8f397ea8e81290fd040c7cfa183608e2b9c602ead96cd0fa35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:362-370 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:428-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5219cc59f100fa9c8c51a87af5397413e0afc3c10527c287229784913fe205e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1105-1112 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1977-1984 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e057b8ba84c8cc728cdd946ea6a01dfc284180b6f2c8d9f15b195f3558479d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2844-2851 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3120-3127 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6ce84f79f4dd5251c0d26b13597f8acf35e5b683fd1eb37007397f727a2f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:596-604 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1562-1569 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:596\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b347e7e85654990cc736646d20d5b84c2215dec121535f84b6f529c0c2a4a6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1524-1533 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1553-1560 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4f68e95f392b08ef53011a2f18b18d124e050cc0599e8903ef573c371f8217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1829-1836 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1847-1854 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1829\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"647a1e9dde4853720285f02410a50ab6597e7efe598ec6e631ffe6cc6f70ca06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:740-747 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:792-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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:740\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9a112ee4118d84cec1c26c0b623fa71aaf40410f93b6cdaca5f34ef2201ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/WorkflowClassifiers.java:62-69 | common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowClassifier.java:59-66 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/WorkflowClassifiers.java:62\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/WorkflowClassifiers.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8545ba1e94f27ffba04c5b091a3a784db822ce3ea8279abcffce4e54e2e78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:565-572 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:355-364 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:565\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":"ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"af58fc7788e832e9eb7a11572d78a7ace5a83c989af2ae3f2ef3b89ae706adaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:78-85 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java: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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:78\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dcae1409a9973dff6523794039c5bd90488aad9ee2d777af2dbbf2b1211184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:108-115 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:125-133 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a734f26b9d99d0493ec9f02a0da65907e5906631c3ea2de6e8868932cd2233f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/bedrock/Bedrock.java:135-142 | ai/src/main/java/org/conductoross/conductor/ai/AIModel.java:112-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/bedrock/Bedrock.java:135\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/bedrock/Bedrock.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9174bcbb7ee13f64307b16d6d21942aef4b966919cef5543d49affccc57f9d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:66-73 | ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:71-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. 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaa35f3bf9eda203f1750f28135fae360782a7ab6ebf93c63f875856c3fe4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java:189-196 | ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java:336-344 \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":"ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a83ecf5bfd5b08f318544dcb811e63f64f9ab62cae7cbe264ed6f0517836f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:89-96 | core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:189-196 \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 \u0060core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0a4974d3a57a42914a0a37a52ed4e70446c2820df64dbd2f6c67a8587f9548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:407-414 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:400-407 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:407\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba4464b3036b51575fb2072b1994e13fac8e21abecbf31647e667c1752cfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:613-620 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:626-633 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:613\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dda6d528b0946687e586bd8f6411da57dff78e5a45d4c44c0b9917366ba85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:686-693 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:699-706 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:686\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872efb829a4bca953df8a4691c1b7e46831183d48619beb8b7ceb5d4b814970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:124-131 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:131-138 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:124\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ef3feb0d59a274fd1ea8635626d72e0b497ef804fbbbd256ae2446ba2685f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1069-1076 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1113-1120 \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 \u0060os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1069\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c5c9502a4440c4b93620e782d6e91c82d8d507f248b0a533bd075709e79e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:71-78 | awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/config/SQSEventQueueConfiguration.java:97-104 \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 \u0060amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:71\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":"amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbbdbc3ec9a877aa4b8af3f65c3a919f7129d58c204011779bf8d56ab9ae474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:110-117 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraEventHandlerDAO.java: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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:110\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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d6fa0588d50248fdf46ec0b6e8a38377690b81a253b54ccf8590c7ad44ad03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:267-274 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:235-242 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e447ea1d6772fbcc901f810657c02918005cb3d775f5cfa628c3f8be5e56e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:426-433 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:449-456 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:426\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76eb7528ffa1ae35df4cadbc11e7e455eded26c8c7006cb8351fd38ae61cc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:74-81 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java:73-80 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac4e57ce8afc29377f6701a11421ec728e0eb3af231e05e88826b2e9ecd2150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:61-68 | core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:97-108 \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":"core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c08636259fc17309170984ded7d41c6a522f7c37634fdaafad7debdcf9563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:332-339 | core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:985-992 \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":"core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0e39e404f5dd74495d16959d125e8fe874ec5dd97142d5673990c69f43f55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:324-331 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:695-702 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:324\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2d6b10976d4b53807699e702cfe1da461b55d25495c644843ef1512cea6e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:831-838 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1145-1152 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:831\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39544eb4661984d6d1e3ff7129c35a090065060db1e4cc7789982cd5e3a7325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:858-865 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1280-1287 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:858\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"861b2e09edb0bffec4fea987e64ab44f76f81aa598376bca3c303e62b4546818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1249-1256 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1651-1658 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1249\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0704db41d0758f782b8581b56ef0283997a13a52159c1afd0fd27273dee06311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:77-84 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:75-82 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java: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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29b5b3f4d4a6132edca9cc3853655f130fffc5c87fee669a8964159a8b8c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:232-239 | redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:248-255 \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 \u0060redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74ad0fc9708b1749de5685d95d57912b06e91fd47aea670cf901930c325be37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:205-212 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:215-222 \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 \u0060redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:205\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":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8af381185b6d449b248447fd73fb1330072c7fedaa2cc2711cdb52259f6d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:260-267 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:337-344 \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":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f967f35fdde17f74cf768736974a0142f4971baaa93cac2ddfce79d7e215419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:690-698 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1285-1291 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1337-1343 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1359-1365 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1411-1417 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1723-1730 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1943-1950 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2005-2012 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2063-2069 \u2014 all 9 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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1723\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef182bc017a66de2e9ebf8c93aaf5f7dd7463942abb2919b0289722d9bf8a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:335-341 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:501-507 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:500-506 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:510-516 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:335\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd7bac7db15c9dd53e522b216ada3848a0c7c00bcba55e8fea25237e078ee38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:66-72 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:66-72 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:66-72 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:66-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:66\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49bcf3b8d6039cd7ac6323f33d506be15dbc3dd17c70e4004179114b70eaf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:64-70 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:64-70 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:64-70 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:64-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:64\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa567a015a3e8a31299859025132ef1c6cdfc331ce18a720de8bbe34f0de1a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1397-1404 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:238-245 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1810-1816 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d650adac17a5db03a58ba31cda2f86c1266c9a0a249cb19dae46109dc87fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:215-221 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:122-128 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:242-248 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb4503816db643b80ecffbfe7d2f69a86a1721916040334241afe27f0caa88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:88-94 | ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:73-79 | ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:78-84 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:88\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e1e7cdabb321c9417ecac082a2d2ed77cd7b73af6ba946093ebc2823c2df12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java:74-80 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:67-73 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:68-74 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java:74\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b801fb814334a2859a1f354d9c761eb5106eb503170e17e3d6c160a8535abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:51-57 | core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:93-99 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SimpleTaskMapper.java:87-93 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aa9bcd7696d0bc299fe3e7465f05dcc14266d26314545301e0e45a73d7f3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1291-1297 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1365-1371 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1342-1348 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"351adb2e41af3e712e5cd8dfeb6186e7ae8b90452330c5a71785a83ff67b5978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:529-535 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:546-552 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:529\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc9a9c852a51ed4298f37a89293b736faf1a4e696b5b24cbcea9584670c7b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:565-571 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:313-319 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:565\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bff2b36ddc049e91726d6cdb22a8946383dcd32f6226d87f6b3d0d7870e093c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:198-204 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:113-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:198\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4e3b68b84adb2e92d36d653c4262987c4a84bca2f5b62476d1f2b612f89e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:959-965 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:970-976 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:959\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f51c0fcc874ab6bf39282747f10bbe5dfe98d2f82234ac95a36ad6f20acec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:299-305 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:327-333 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:299\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6d4bd390c2ddf2668d88be130a4ffb5123acc75798a73fbe77aa581bb6afcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:308-314 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:399-405 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"007116ba72e6f1e49b3c824584cb660065ee46e0447558eb991785fd0f89f1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:633-639 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1057-1063 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:633\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e4947eba04e3f6a5c54a8710f2fa94d0bbc6e2f401fa2619b5f27cef5995aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:876-882 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1411-1417 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0568b759cd29b0c993e6eb3e265442f787c1c878df8178a772a7b7af47dd67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:997-1003 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1251-1257 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2782debad11a89b86960f9f1a3de338a98a4e5bd39d1dd9d0ecea8a9d4eb0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1131-1137 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1095-1101 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc0dec5a91a44c4502f07ec218aad3b04dded407cf77fc04f91a1de3999418b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3266-3272 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3589-3599 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4805b6a343c6df92fe94ecbadbd5b0952e9561af57d18d6558277bbdda061c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GateCompiler.java:80-87 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3284-3290 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GateCompiler.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c9dc6781957ca04a4574bce76b8ff73453821f8acc39ad63c478008050287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:895-901 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1272-1278 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b30b3cf032def4732b09d35833a382db52962db79f9c062701dd0c22413554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1276-1282 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3043-3061 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d60bd8994ffeafa05c3c43bbebe01c17ef1b0b5d73a0d34743af8a6c4b4a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1748-1754 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1871-1877 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e8a3b04b7080bce465d4027de4f161c906145484901cb9c7071f17dccefc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2780-2791 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3283-3289 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e727d38e88d78f5bbbd4025beeddf2b42160f135c8bac8a7b906d4dcc9d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:308-315 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:459-465 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:308\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"da106f79ad76304e53c1f787a16d958684a26485f0d1902ac76aeb0aa159974d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:647-653 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:656-662 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:647\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2b88c3265a862d915e1d5aafce89575273d891b0c98115b344bdc9e91d92aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1140-1146 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1476-1485 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ad5b7138618c513ffa7ee47a4377892f7c5a7f1378d7db18a6aebdca5cdaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1357-1363 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1403-1409 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1357\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a245f0fdfd1abb18b0a08bae249cff15067a84aeec3f96ca9d2286a5725dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1417-1425 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1434-1440 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d622fc126994041969e5dc1e90993be03706f5541c61c943e06afbde9574d92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:141-147 | ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:179-185 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:141\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":"ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcebb8fb8efcd93573b48a7fc78ab75cc8a8f546e6ad27601d0759d8252068b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:105-112 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:126-132 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:105\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c319b41588c27d47097af257511013d3864b6806d34f6f67b004bbf4fa862824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:160-166 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:197-203 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:160\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"126b26522d6c18b385b60a80160b8e82de5efa330b401773ddfe750e0641271c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:68-74 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:93-100 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc9326a5285d1992eea6c106f9726de6a1c517871fa84f88e0bffb863a17584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:795-803 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:841-847 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:795\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":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"660f81955286770d10a4c82927e9fc14e951979e2cb44ee8e16fd474dc0074af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java:77-83 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:77-83 \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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec332490fcb91dd03ae5c833e25ca7c79c140a3fb1ff231a861f5a731eb0c489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:850-856 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:935-941 \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":"os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"7858b3ff4c636d5f2ad9abf61cc32924cf7c32d5631333be47027295f4eba655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:414-421 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:439-445 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:414\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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ceac66a5e539ca71a5b9b3e3467914850cfac302b080a09fefdb30768b8561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:372-378 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:545-551 \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 \u0060cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java: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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"765724a029ace701f63c314fb51617ce0fbb44f492022ca0f8be8b464eab8bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:49-56 | core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java:64-70 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:49\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"691acdbe211bf9116da024ba211996617301cea07d7c2be71bd1c87b9c4b6469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1393-1399 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1678-1684 \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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2db8674c6593a57d6cff5c33441a2ba7dc1d7619783172ead95d1d2c3173cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:96-102 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:104-110 \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 \u0060postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b949cfceaa92e894d68af6a727b88648011cfa9ed4cc668634c78452102eb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:76-82 | scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:84-90 \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 \u0060scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5444d7140fba89bac21fb5adacf1cd88ce76f69d9327175152748ca0d5dff24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java:93-99 | scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java:188-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb97518e95a1848080be809b90292ad90fb59ae1564a983c5fb33499d71112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:719-724 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:751-756 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:919-924 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:940-945 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:986-991 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1357-1362 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1403-1408 \u2014 all 7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4036c20862ccd7d6a36f729f8751dc724508863e84c5090be6082ad0868060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:57-62 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:57-62 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:57-62 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:57-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"429578a07bbe9c9409d6404fdaf9cde7cc4dbb425eb238570649485b2e8733ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java:33-38 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/BooleanOp.java:33-38 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/BooleanOp.java:33-38 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:33-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java:33\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":"es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"934f3263efdfe633dcc29b83ea2052d6cab08b3dab130f9b748035943076c620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1267-1275 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1416-1423 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1433-1438 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308d2088b3dc6964be94676bbda1bf0dcdac1e3495667e364f5dd9564c84bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:135-140 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:135-140 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:134-139 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d33100b590246cfeb7690b1ec107a425f51a14c83db7cb7c849806ff4c3f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:412-417 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:530-537 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:494-500 \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 \u0060mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:412\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":"mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0b40318ba6390f3325ffe4a2f6b279ca74062cecdf84216f9373fd4f19404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:574-579 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:322-327 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"701274f4631617c5797f74118757a4f9cf2a1abdd6f321d6b40783e22ecd31d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:554-560 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:316-321 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:554\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3827b64a45ff2866f763722027ebab51ba137769d6d5aefdc71626665727c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:292-297 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:390-395 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfd5af402b5444128e0e2ff03b7d2548f406351e0321b97c2a144d033371ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:836-841 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:854-859 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:836\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b763ae272e815001f3a9e1aa295c943bc7630a4d33ea297d0d1fc1bc8e130a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1813-1818 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3285-3290 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2a05d084443196290747aa81849060bee895884104b1bc2f2658f0a4365f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:458-465 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:576-581 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"36134e294c5e2399a2ee1b6f8b299fe87cd3a302465d656e95603e2d46cbbd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1786-1791 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2041-2046 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f3d5baf86fde322a60f53b33246187baaeabfc96ef1a4f9dbd633563c65e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:203-208 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:216-221 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf4bbc58ab5f65d3e4223d8340c1fe06f00e8701ddb6809737c99f3975c7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:393-398 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1605-1610 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:393\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e90275981795a687cdaf464aec557448caf40cc2709901445ce7731a98c065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:827-834 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1137-1142 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6f572e47caf53182258a88133c11f6839cd4a17ee9a51d23133ba87f522922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1445-1450 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1463-1468 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda5844366cc2d3967df3300f9b06bb840955a06988204b9031fd4f8da86bd36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:108-113 | ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:152-157 \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":"ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5668068c09866d157688118adfe3b0e00ee0d8cb69067b9b6e3245dade143be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java:221-226 | ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java:229-234 \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":"ai/src/main/java/org/conductoross/conductor/ai/vectordb/postgres/PostgresVectorDB.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e6b429620e4ec64dd4e3917d85481bce4147fdff94a2b074ee8a67ebdcd1e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:322-327 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:310-315 \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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c25f66189586cda78abc3f108328759b7f1de69faf2bdfebdfb85ecb5fa40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:651-656 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:664-669 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:651\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"341ae6bf4bcf6eb9cef97eba8a42d030593877576fe6da98bb97de479571c6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/statuschange/StatusChangePublisher.java:48-53 | task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/TaskStatusPublisher.java:47-52 \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":"workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/statuschange/StatusChangePublisher.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d17531499265375c2dac25ddcc3734ee5b9c3207394d9af7b5bc43a96b088b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:762-767 | core/src/main/java/com/netflix/conductor/model/TaskModel.java:598-603 \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 \u0060common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:762\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":"common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e953a4f6d3ae87b8279f404023d2ecc4cebf774e3898a0f1abddb6a07e625b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:211-216 | redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:228-233 \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 \u0060redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:211\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":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8ea2848af7d6cc2fab1fa8365e66ae312f72f4d010fd71775663c16155ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:592-596 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:529-533 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114ec56ea42213739101461d9d7cc7b0775255798cd93863efbb0cb92afd621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:601-605 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:538-542 \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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3066120b62e1fe9ce844d6b9bef14eeb392688ca1908d64da45d599255145d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:140-144 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2724-2728 \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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e259198beecf66d41c29c278b8ce7f7182205f202d2f3796b8b49f0e507990b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2840-2844 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2853-2857 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2840\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0511b8f26b134f260e06f8065d8394589a8e4cd11e0a3c42c308a7c20fc92a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2072-2076 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1971-1975 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2072\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c1c6adbde5b14f86a3b761af32067803c674cdefdd20f954bd4ef9b4382aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:217-221 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:375-379 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java: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. 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. 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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"879e6f6a4fe6b3401d93eda2fca4ae82e0c9637e2ab95db91dc7655a74b4ef88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:366-370 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1598-1602 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:366\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb7577e614fb2ab47f784e71f57efad7edf951dbe14fdea547f6f1a3fac7b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:952-956 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1148-1152 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:952\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":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"857678bce23375f5a3244957a09aa5625c1bcb41777a8ff1d5fa81f7b153cd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1102-1106 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1147-1151 \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 \u0060agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1102\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"25340edf23706d336c70b680a1af33a57de76c162e1ab8db32624cb17f970e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:126-130 | ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:332-336 \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":"ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350d960a70f15fa3df6b3755b9b4aca24c5d0b6ca06cb1c6d7b27da9a9f65bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereChatModel.java:163-167 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:119-123 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereChatModel.java: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. 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":"ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereChatModel.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a74e08a77acd41f3f0f46b46a04faf5192ae0e22567969eaceb0efdd8846fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:170-174 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:207-211 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:170\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a51ed6f345a584b49e60d0abfbd06eb82b52d816e9854b5fa98944d8967a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:116-121 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:148-152 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:116\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":"ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c59dcbe827e615e58b63a0000c6b7115ec2dc857abcc2e98e83eb0563eb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:84-88 | ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:150-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:84\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":"ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"173d33b3958d1e4c9a595363a2c2043d0b1c259b542d5d5c7fe9a0b5bb954582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:375-379 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:482-486 \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 \u0060ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:375\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":"ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d19336abbfd778a1366e1d25dd65a2dbbb3d7dfa1a9b7bd1fe4fa7cc3fc878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1265-1269 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1310-1314 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1265\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":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"27157ae6c8dafc8691748c5a1dba6824f25e42ffe4437d1aca05ebe6c9534c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:91-95 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:98-102 \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 \u0060os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3e4fe883affe0cb631934bbe419b316907ccbbb41a0f0397eab92fd230c161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java:47-53 | common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java:67-71 \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 \u0060common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88ac65bbc61f0b5313e9deb39941adee71bd278b722a1a8c4eaef8b4dab18e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:110-114 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:728-732 \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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf558d851788c21fb2c1a3d204504795fc45b02ef93d12d541ecfe92fdb6e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:253-257 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1442-1446 \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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4788294c5a0ea86fc69554f1832b835fb70f5ec048644e7e04f032ff2cb73e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:344-348 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:724-728 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:344\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9cd0251d1f590a765a2fcbe0a7c3c802221a97ee904249410b864af904a623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:615-619 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1343-1347 \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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eedc2c5b215cf32e71f85030298d028cb2e8eeb80ab64b48fbc84f2d94de71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:919-923 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1190-1194 \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 \u0060grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:919\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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ca92091f71541e2b730db2602a4268a21bdb21d48f8ed99669736fff0b4779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1057-1061 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1566-1570 \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":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a371e4f7924d2ae6a01fe1c25e597c36d2c9ca34c00cbc793e36f61b759d17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java:368-372 | redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java:393-397 \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. 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":"redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb896049fd205621fa7c9b8d21bda6b043a6249828389f9f29f55833d6a0284f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisClusterConfiguration.java:78-82 | redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:74-79 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisClusterConfiguration.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9717293b6f2860ad5fe0761cfb2fce1ab5fef105c262b0097f088f2f2255a516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:329-333 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:339-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bdd74438ec3b0ef7e9e063e5a64abea8bbda9363d0c4e22e64d12724c3a705"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java: core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java changed 28 times in last 90 days, max complexity 30. 20 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d822794c86c148359cf4244474e7dd93cb39d41cc68062a6015a13d29bf7b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts: ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts changed 6 times in last 90 days, max complexity 112. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6298f5316b3856486ce360f727563a221b1e1624c9597e7489ef82afa9c5332b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java changed 10 times in last 90 days, max complexity 53. 4 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cfc4ad653a09cacc9892fd66fab0b835086b17334710b1f7dce128051e5c0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx: ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx changed 4 times in last 90 days, max complexity 102. 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, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff3a5c2620382c56b409443efd700d411f0e4e9ac8c028ddd27b9af8d98a9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java changed 3 times in last 90 days, max complexity 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, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9024fdc2146b8777d88b3713f1c258a8c924d4c4c075469e6326c6d8c0d96f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx: ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx changed 3 times in last 90 days, max complexity 67. 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, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df455ea6135894d4a8d63e9bd9795678606d492587237713fe6ccadaa7e56b49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx: ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx changed 4 times in last 90 days, max complexity 49. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aaeaddb7850b90ddacbb638d62759e7534a960575e8139e367035c8121a5ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java: ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java changed 12 times in last 90 days, max complexity 16. 6 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3096908c7afb9ebe03c128d0d6741ce57b6afab4d1fab808f6d18da5b756ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui-next/src/pages/execution/Execution.tsx: ui-next/src/pages/execution/Execution.tsx changed 5 times in last 90 days, max complexity 38. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-next/src/pages/execution/Execution.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc3fe1737017f0c446538444cdb7ca8005ad42ab3567c9194447605a13b70cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java: grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java changed 6 times in last 90 days, max complexity 30. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5affde94df7591fbb473710740c0bfde16bf19060aead63abd421a18b9df586d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 46 significant file(s) lose their only recent owner: mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java, cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java, redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java, core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java, mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java, core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java, ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIResponsesApi.java, ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java (\u002B38 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c20ef068f1f8fd8a8a0df5ea3e467ce20ede8692156a19988c4b25585918e09"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 29 significant file(s) lose their only recent owner: ui-next/src/pages/definition/state/machine.ts, ui-next/src/pages/definition/state/action.ts, ui-next/src/pages/definitions/Task.tsx, ui-next/src/pages/definitions/EventHandler.tsx, ui-next/src/pages/definition/EditorPanel/EditorPanel.tsx, ui-next/src/components/providers/sidebar/SidebarItem.tsx, ui-next/src/pages/executions/SchedulerExecutions.tsx, ui-next/src/pages/definition/state/hook.ts (\u002B21 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"111ddaf0e08159de14012247cf15ff3e489bd6875bccde731f7908ce2f47093f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 7 significant file(s) lose their only recent owner: ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx, ui-next/src/pages/executions/TaskSearch.tsx, ui-next/src/utils/utils.ts, ui-next/src/utils/helpers.ts, ui-next/src/components/features/flow/state/service.ts, ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/state/types.ts, ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/state/actions.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"291af30ee221b2186a2c019f5aa1a45fe333e5a0a807f528d2a40dfae638693d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java, postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java, core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java, core/src/main/java/com/netflix/conductor/core/execution/tasks/Inline.java, core/src/main/java/com/netflix/conductor/core/sync/local/LocalOnlyLock.java, core/src/main/java/com/netflix/conductor/core/execution/mapper/JoinTaskMapper.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"144d7ac76a45cc04eec3c1bee3e703f0dd3c4a8a46edb12a88bcda656773e323"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 6 significant file(s) lose their only recent owner: ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx, ui-next/src/pages/execution/state/executionMapper.ts, ui-next/src/components/features/flow/theme.ts, ui-next/src/types/Integrations.ts, ui-next/src/components/features/flow/nodes/mapper/doWhile.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06172092652d57389bf1ae6a233c665250d9ddb2d3d775243d9261ba4d17ac52"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 4 significant file(s) lose their only recent owner: ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java, common/src/main/java/com/netflix/conductor/common/metadata/tasks/ExecutionMetadata.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerProperties.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6d81d981398cd27721556455876e579f7a68bff6792bcd8d357b3866482bfbf8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 3 significant file(s) lose their only recent owner: postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java, core/src/main/java/com/netflix/conductor/dao/MetadataDAO.java, core/src/main/java/com/netflix/conductor/core/listener/TaskStatusListener.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"af7c74af1a6afb9fd50ec7b1fa1acb4cbe27dec4d48a55fb133d6e41a23e509d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 3 significant file(s) lose their only recent owner: common/src/main/java/com/netflix/conductor/common/run/Workflow.java, ui-next/src/pages/execution/state/services.ts, ui-next/src/components/ErrorBoundary.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3b4f8f71877b46168fb972240d98647c9595cf3128dbea029b583c193788929b"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 9 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 (114 single-owned of 1014 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #9 (2 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)), anonymized user #12 (1 file(s)), anonymized user #13 (1 file(s)), anonymized user #14 (1 file(s)) (\u002B3 more) \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":"D19","level":"note","message":{"text":"The Docker Compose table lists docker-compose-postgres.yaml but does not link to the corresponding compose file.: Add a link from the Compose row description to [docker-compose-postgres.yaml](docker-compose-postgres.yaml) so each Compose entry is traceable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18379c896f95b5889ce9446b081129d874816156148f8218140ef3a5ba22e4f"}},{"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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"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":"18cee7f070cb40a7277d53cb33fe8ab2586c3eb3f4bd3f36aae9f6c06bafa911"},"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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"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":"a65f8bccee85508272339409764527a18aefe1011f6eaf63d76245b17e71e0c3"},"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":"f9133a9e0662ea147398e5245e9ab5616e72d7c04badcbbf985f01679ccd8eac"},"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":"98bc95744487d6f8bb36ba3a49535c74c1160f6846de0c05d0a36ca260c39063"},"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":"53e31539fd6c680bc524cd465b04ae19c17835bc13d80d46925869e82647ba77"},"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":"cc8e64b6d51004e2c8b1d2a632f0864109e0f92aa408c45b4840fb284af420a4"},"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":"5b8626211601d6a7ba6f641f410f4535c648612ca4595244d22117ca4fe9bc16"},"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":"c50de480766a7b165a1a642a67af95d5649f6621ffe29fc52e4448f771e31ddb"},"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":"4e5ba20d569d258ae6d0a24953bb1bf2096a834bc4a53403da7c12ca10d2411b"},"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":"dcb2067cb3f8023c0efae4ab8407a8e5707f4ed641c9a34337913b6ea276670f"},"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":"3566a4535f32b9e3b41d1001b00837e415a5916934896370e7fc4877cd60d5f5"},"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":"51b253d619aaca917f6d104506b8c06455fee216a191a4ed5da56937d94b2a07"},"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":"0c99e219269822edaf42fe00fa1bba613914260c17aaabbe7916853d1b9c622c"},"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":"229f33f5083a1fefa5ebd7f3b2a50f455445c022072eadf8ca675541407f621d"},"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":"b5ec13ad9904eb1bb436c7525daaa27cef52987503aecf9b8538d4402b1c450c"},"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":"18a2dbfebf25e176e952af5f8b0b1e7555b15f13bee7b0518621116da452c16d"},"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":"e32ffb7b8628c854b8dc3bf71dfed112fb23165acf3bd46b26583810d240188e"},"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":"079c664cb328fe25f6954696f474febad293b4db5d2f51a47031b5c220ac980d"},"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":"3577acd62b8eec5fe7217192f5616f01195031039acac2716271609af4123adc"},"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":"5a9d7bf9b11d6032d14c4f1eab9c1aac47c96f38086b3f04b115a101734e79b5"},"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":"ec18c7e38200a3ea39c3a5970f9d5b0810fd43fe6d132e294dfa65a87ec165c2"},"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":"1426680def0ffcf189b513e0af2b3c0b3ad7cc1574c292fde3b867e4409554d6"},"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":"e3b33704cb9bb58ad753901e8a73177c20d8e718836f2e17717ab07a3cc263dc"},"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":"5c6fb463b9e4df2e735b66796e54345bcfbcc8cc6c4ed525159ba416749d41c3"},"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":"44e923dc14cd45063349358535d0938d331e41838fb38ae14db1f0ea78ad74cd"},"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":"d2357257176673e561b2c17ab221b4a27373926fbd40bdd2470c61a0092e7df2"},"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":"154e79376669773c5d0b9fdf78d6c851f5f1957a6b54b003e1633160453b1407"},"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":"112a653ac26b5c8649f8ab433e8cb46044ad1826f321f595f572de14c139654b"},"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":"f431e369cb78a884007fe6d054bf53e912bab9a3d64afb59655873907d3c617f"},"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":"2e34110438faaad1b27141790317a759fbb41685f13eac252b04d8d2a66f5509"},"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":"e727e9b3dcb5cdc7d5885df3de08d978efa8120a43951007c2a42acd7a82c5b9"},"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":"8035557874aea6d453f1ac510e51d138a9e685ca80c8ac1b5f00213db3f50a23"},"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":"0d9facbbb7b0e228f8c11312ff21631f676ec124d4e1ecd2b4b8efe22f56a007"},"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":"860eac9ee94b9b3742f3319aa02e695a1a79f73587089893cffd7fb51295cfde"},"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":"c014f16172109fa9bb7bcc83313f66d0e82be21a4475cb970da5a770c50cc523"},"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":"434980a6b602d3c4cfb267a273453c32905ba8d9954523c0708dd158cd41bb41"},"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":"666c473c966983a591a71606f0fc474a9319a77b6f6f5e6a5772274542c6b62e"},"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":"02c107eb9f95608c9d5567a726cbed9cd192705e8d9f7814d5b274786ef7e5b9"},"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":"2a7c849f8144ea491aeced2f8530fa82578514a21f15bef42a8be4a89e12d7a8"},"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":"e0ffde0e6d6c31b88c73d0e2e55b601b4e2a827fb7b338262988384643fb2213"},"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":"698cf026080a36af455d89231b4d7ce47f5c312b1ae2285b11d4e00fb4ce79c1"},"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":"59f31f5d835f396d75edd32b93bd3ba0e8cb79675206ab817a4cf8cbe5400676"},"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":"01737c97869975ba89b3214a7c4a7f625850c4baeab24b798bef336884eb04ae"},"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":"a727b6d226918a21be015d23537ffc362433300fab48bf27120a3c3161626a33"},"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":"e1790f2ddedea55f0bd9d1cf09c65bcd133c6a6fdba4284cde9ba0ae78203024"},"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":"4b53233a733666006f14d817a3881027979b494dc20c52600de553fb2c6937bd"},"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":"747dc411a8376a7822c1599eb091f4e8c7de2ef2105d975d2110b3e0038710ec"},"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":"2fe6cb577e34be146dc5a6f5cb5d56693bb35ffcb39e7c66ca771da22f6becb3"},"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":"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":"d41a2ba98aca9b07ae6bcdbd1516dce51bcbae07ede05d9db3bf9096c88662c1"}},{"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":"91dc4e635b7388085d6d26d44dae6e3d3931ec5d113f2a627b125012831c4416"}},{"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":"f3839e38d6dadd8c2e6a848b676ca6d40e86855a5582c4ae81af9f9606a7ca1d"}},{"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":"2f746c8eb2c852df161cd61e02054213f7adf82f5e3d5204ccca13f6cceeb784"}},{"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":"3dc16efa5c1e01725c82a42bb2be4184421f049e026d5dbd4513f8ded792bbc1"}},{"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":"b01c33486704e3a948adc9e95d57347f8fc7dfe97a7324a2af5183631fcafb61"}},{"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":"9dd15b15470a5b6f0cf9f476b897ad52bcc4e1f782b81535d62440b39ced85e0"}},{"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":"25893cc2983750fd8950a830ccdadbc267a6cd09674dc4e38244daef6ea0c415"}},{"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":"d29e1316501d02d64424834e0c910b8412b0142d1ccec59cbc4df2df6960bc7d"}},{"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":"8c7fef53eb71c71d94d384c1f223f1a64fb6edb642614ca01ff7a6f801432a06"}},{"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":"sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f13afc1778091044ba3fd2b7cc210fc6119812afa97ba98740be7a7be5e66a"}},{"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":"cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eedded6b996cdad97ecb3cd587fe1d8c4be593f9f902ca7cd29258e0ff3e99b"}},{"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":"core/src/main/java/com/netflix/conductor/service/WorkflowServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d241771e582fb32906cd49b67324960c2cd0d4074c617dfb96dd751900029ee"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 109 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than listed individually (112 orphaned of 1014 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MetadataServiceImpl.java \u2194 MetadataResource.java: \u0060core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java\u0060 and \u0060rest/src/main/java/com/netflix/conductor/rest/controllers/MetadataResource.java\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa339072934e75e9fc5f2c26f24f56f14afcdbb8d0d66873d1da88de6c6188e0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExecutionService.java \u2194 TaskService.java: \u0060core/src/main/java/com/netflix/conductor/service/ExecutionService.java\u0060 and \u0060core/src/main/java/com/netflix/conductor/service/TaskService.java\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/netflix/conductor/service/ExecutionService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9929e08e53b134d912f096553ee126b904750ad93eda4b0629f9082a3505283c"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c4053364c56c3ce0ba8cdcada419d855341c93be377936145a4a05e98355706"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96798a73b5c497ab291a22cc404599e9f5b82ae2ee6e71d357e97652b0b09c51"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66a2e0f41ad293639b5877fda59c01dfdb151b28b62ea31a3a91e7b0666ebaf2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ab556837110c0819b24b44237498735cac6510d3e848c9181bfaca072e8174c"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15831e1e441c9d2fa03440d371995abe323518c92a7fbfa02782bf00b30b615f"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b53cb8ef44eab5d3884479e98fa955957a026848d2f8a178a5cc448080a0892"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2880abd53447b396d9b9095242479e93e5a870b87aaf24c7ceb3ea5779035964"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d91fce30c00e8716041f6179e4f831859701447d3e8285facb57f08ecfccdc09"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"649a3c8e36d13699b3811dea0c7ca3ec0a71cf08043593e42ebd6c1facd8a7ed"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b85868ba6b4fd7e486c97a168b98d9a71b93fedb39b2628baf3829e6a098c5f5"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a1e58a6e431325d48bc961f707662afb31043bcaf825e52772d42d5cd5b8ad0"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34d18cb74d7d9e743e05bed3b07ebd8e3584f57dc1b74a860ea157e96adb4b43"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63352d8017d39a9ff6fcfca880b170dc32b67d81d1875f9c767d824481179ff3"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e2f5d4f8a24849c2e74e26be3e313c045858ac459c8f626cfc04bc7efb4994d"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97cf36da373164cf0e8bb5da102491fbf966db537d027417a20fbfe9ea6fdec2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1f7243f162bb86c41bf2225e9bc8af2ad21f23c1f1a6add6d87b7f8513cb50b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bc7fc9d8ed8f7c6e81f58ad8905288983c06b90773a4b626470b35a4284a4d"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0c86e4c9b89c66c3d38366b820890bbd84c1e7d7938fb0e1adf88ad14d43074"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54c55ddbc890b0819a0caef8c66f08e1cfbbed3c0f867c24bfb07b21bcae8d78"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d340164afa23e4e6bb508dd0b5b881f21de6ec4ea3594a8384b68f2f95af7c09"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e59656ff553da5e1b5c1d948b74da02e571e615d3db6991cc95d40bb287e484a"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6f4ec980129fbd0ad4c48987f37180c479aaac9295296f7f5792187f51016fe"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1dc6801536d389eaf4d5d6b24b3190de1068012a825e0272a7cb34e622eb882"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d17109c30e7f51596ba30fbe50a21e1ff3043db9865f6d67389aa12ad6b001f"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b7002a600ebbfa1bb15bbf233dad3f48d40e3a8bdc6efe36654d352cea2f431"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f35a3308123f29509c59b7487960fe06b37e7a4b9bbe411fcd40068d54cb4986"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00d3d509ccf674635b804d40f018d95213274ca4a9fb17a829e636a32f388443"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7eae3de93ab2a8681f7a55cc051f500c5eff3b815e989ed0b20a78332820cd7e"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd2815c959af396f246976a6148e48e0e61f47d83a3cfdaaed1c76713c1834d4"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c54e3438a13f5895c0308a7bd2afda889c0a5c6ec987da18562acc6f45267d81"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bf99b8452f6d3467cf1d7b8586586115e3a3d93b216a4ae741cc4cb1533b9e8"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b0afdb4bbd173deb017dd1edc66a9171ed270fe53a76940a5c67ca1c96e8e21"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f5294ee20700e613acd2d416b63b7b97cb6544202aeabee15aa06626696a06d"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caee7c15641d10476b3d11e6458208a99f6d4652dd70fea6039a11421e60489b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d58c71d1de6f1dc02ff7caec36d5777ba28eb9af4c5862992e7c7eb21f661a2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6339e0362beb411f0a9b421ccaaea062b80b3692ad5112191faa0a8ae584d0c"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"512a6d9b68ee2e6dcbecd90867318512ae8f34f67012a705a0f14202cff7f97b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ce19e2fbca434d08a75bb6a657bbe0c976b0aec4aeccf4d136f751cb3a2cf5"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05142c314ecc3c61cd35ba1d708934ed8bafaddb9ac33442e6163ea772621ce8"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bb56ef28bfc64718062fb0169b7c9548dbee7f6edf4510bfa085bbe2f7f10ce"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"120d2483fdea52b099006cbf6307d7d813dfd11018d1c9940b3aa71109dbef5b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5004220bfc90196abe2b22307a69a9bfc19893a32c582f58df3f3eea70b932d6"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0f74bc0cb18bccc970ce43b083782ab6b3f463a2dfc49821e3333b06b7cb790"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"504f912688f94a05403806840927b0b5a58119431516a6f19e7e6efd0617ddff"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"619b517ebdf565a8c8e9966d1e2cdfaaead546f60d979be1eb1eb6e98a91d680"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e3cf4f4851b656e19d48145ebcb919ddfcbcc76fa366c912f91d6440125bd04"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5647b782f009997421a9881572184cbbaf3784e3703ea34e7807f03dba1af9e"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb74c2f195a0b8c3044666d5b2933d0ecfa49f7d3f9823a4791e6f5f43f1dff0"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9db9f1a1869bfbb384046f609d0ae4a20b37cbc52fdd1c5115ab45157f101691"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd62674ff1826fc89045a6380df33143aa4987322d26acea86389866e31b1d9e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":113,"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."]}]}