{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AgentPlan.extractResourceProvidersFromAgent (cyclomatic 39): AgentPlan.extractResourceProvidersFromAgent has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a59da2e1b31319088c7d2d4b6343ee65f880438ad56ca18b26c309f706245f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiChatModelConnection.\u003Cinit\u003E (cyclomatic 19): GeminiChatModelConnection.\u003Cinit\u003E 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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15d6d36e87b25f728fbbaa4bf5bddf8dfc6b56a76829c91633596412c7bd59a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatModelAction.chat (cyclomatic 17): ChatModelAction.chat 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7553b09767f0fc714b327be96b9faaf14ac48366a4a27e2acf13b91da5552c79"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPlanJsonDeserializer.deserialize (cyclomatic 17): AgentPlanJsonDeserializer.deserialize has cyclomatic complexity 17 (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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"157052eb8f8373c4e7fad4b9f06fb95f9a8b8d3721514ceba4b7ad6ccce53f34"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolParameters.convertValue (cyclomatic 16): ToolParameters.convertValue 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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolParameters.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"129220dc44d8a0dee094f765cf8cb401c0a721142aa1802c0db15e89dfbf342f"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModelConnection.buildRequest (cyclomatic 16): AnthropicChatModelConnection.buildRequest 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b413aa652f104524338f426b2defe81154bc4b53d144f1df244b165801ba10"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureOpenAIChatModelConnection.chat (cyclomatic 16): AzureOpenAIChatModelConnection.chat 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d73c7f7dd2e4296a075efff7f780b7fae7a032d78a900b000746d3840966b95"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenSearchVectorStore.addEmbedding (cyclomatic 16): OpenSearchVectorStore.addEmbedding 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1596bff528b7041139ce6f301f54e01a166f4fbbf36977ed8703255c8f76e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.extractResourceProvidersFromAgent (cognitive 121): AgentPlan.extractResourceProvidersFromAgent has cognitive complexity 121 (threshold 15). Drivers by points: if/else 79, loops 21, ternaries 12, error handling 6, boolean chains 3 (nesting depth added 80). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c751f70ec7dd48d429147d971de1fcdb41e3b6a2b10a2f696fccb048ad107f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatModelAction.chat (cognitive 33): ChatModelAction.chat has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22, ternaries 6, boolean chains 2, error handling 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05f0a88202e1a19843336381efe0410287932e76ec1ab722ea367e0699fda4c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTruncator.collapseAtMaxDepth (cognitive 28): JsonTruncator.collapseAtMaxDepth has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22, boolean chains 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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b9d361333dc92297ab54d4978264b11abfba231f8c1a8b142b4aaffea0be4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlanJsonDeserializer.deserialize (cognitive 27): AgentPlanJsonDeserializer.deserialize has cognitive complexity 27 (threshold 15). Drivers by points: loops 12, if/else 10, boolean chains 5 (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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d08665b105bad8427019ce7c54fa952bd5277314a837e5caf43a0458361ce"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchVectorStore.addEmbedding (cognitive 25): OpenSearchVectorStore.addEmbedding has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, ternaries 5, 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d0269461b86e620239f812deb740a280e882da052d5ddb8a571aac14a9ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlLoader.loadYaml (cognitive 24): YamlLoader.loadYaml has cognitive complexity 24 (threshold 15). Drivers by points: loops 13, if/else 11 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea35636acce91821eee4711e6ffe506d1fc597daeec21660de6cc5edb879f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModelConnection.\u003Cinit\u003E (cognitive 23): GeminiChatModelConnection.\u003Cinit\u003E has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 8 (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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dfbe8733c153ac384a17ab1d259797a552d9a272f305d248c3943efd9d0de8"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallAction.processToolRequest (cognitive 23): ToolCallAction.processToolRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8, ternaries 8, error handling 5, boolean chains 1, 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c301dddb01714fb06e4f9867c7c270dfc96d9a478a8a649b4406b57ce488c5"}},{"ruleId":"D2","level":"warning","message":{"text":"KafkaActionStateStore.rebuildState (cognitive 22): KafkaActionStateStore.rebuildState has cognitive complexity 22 (threshold 15). Drivers by points: loops 8, if/else 6, error handling 4, ternaries 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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateStore.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6ef6c4e4387baf72a04b49774da8a24dd8b20b63660e5dd227812be062eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClasspathSkillRepository.findAllMatches (cognitive 22): ClasspathSkillRepository.findAllMatches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, loops 6, error handling 3, ternaries 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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/ClasspathSkillRepository.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f9f3e597f135038563fd151d07ca11c5923528b6fb3e7ec5c7afab589d24bd"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesModelConnection.convertResponse (cognitive 21): OpenAIResponsesModelConnection.convertResponse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, loops 4, 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a188918ec915c6c7af7fcab5edbc462803fd3cd0c5599a6b6607466100cbbba"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChatModelSetup.chat (cognitive 20): BaseChatModelSetup.chat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, loops 5, ternaries 4, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/chat/model/BaseChatModelSetup.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f3d8ab28f4edce7acd31dca4db258550e6ba5127d8c81b0cd01f6040bd268"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTruncator.truncateObject (cognitive 20): JsonTruncator.truncateObject has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e03231d839628e7b6f055b8e6cfaca79d88d08fff735e22bbb4a89ad4598472"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.generateSchema (cognitive 20): SchemaUtils.generateSchema has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 3, 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/SchemaUtils.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b9e64c81c14916114e82971056978de378272a3985eb733d2e484c11883cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAgent.startAction (cognitive 19): ReActAgent.startAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 5, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"71def44620df679fbd4de97ec1b8da89b1051b8f30174c66a5d11df7a434609f"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlLoader.buildAgents (cognitive 18): YamlLoader.buildAgents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 6, error handling 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":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a40aedbc0fe47439f5578ccd71b96d4a4896012c49fd29b929ca9f4dba86963"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchVectorStore.\u003Cinit\u003E (cognitive 18): ElasticsearchVectorStore.\u003Cinit\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 3, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ded249c8d3970efb76c5e1bf254312c5c8b7b36d761a8888f7a403db6a87f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExecutionOperator.processActionTaskForKey (cognitive 17): ActionExecutionOperator.processActionTaskForKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6af665b12ae4445189497dde1d68876828648577910fe9c3e1053b0d3615cf"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadSkillTool.call (cognitive 17): LoadSkillTool.call has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6, if/else 5, loops 3, error handling 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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/LoadSkillTool.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9555fb4cbc748b2fe3dcfa78340c964c32db984438ec3b913c6edfc39263c8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModelConnection.buildToolCallIdToNameMap (cognitive 17): GeminiChatModelConnection.buildToolCallIdToNameMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, 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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9667b41b7ac3dd0e178f3e7cd104d90f02e6416aadde5fdc77be586a8396dbbb"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureOpenAIChatModelConnection.chat (cognitive 17): AzureOpenAIChatModelConnection.chat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 3, error handling 2, loops 2, ternaries 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8e960b9c66c0ebc71c5d1066362aef5e41414603f2927f54d4c9b3e62f89f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchVectorStore.addEmbedding (cognitive 17): ElasticsearchVectorStore.addEmbedding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 4, loops 4, ternaries 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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb18b8ee9504ceb57cdd17e9dd29765b36054728a99daa51db29e6453d2da73"}},{"ruleId":"D2","level":"warning","message":{"text":"MilvusVectorStore.stringList (cognitive 17): MilvusVectorStore.stringList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"174eb77a2c120481ba1f1ad44cb7627c5db0dbd94ca29ba255678d9f0daa488c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.extractActionsFromAgent (cognitive 17): AgentPlan.extractActionsFromAgent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 5, boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b50eb653993011afedb00196432c22113a85a4f23b844df3820edbbc3249cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceCache.close (cognitive 16): ResourceCache.close has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/ResourceCache.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc278c3d8406ba5874bb43f2486fd4b349426da749007300b3e00e170745d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceCheckTest.collectAndCheckJavaClasses (cognitive 16): ResourceCheckTest.collectAndCheckJavaClasses has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 3, error handling 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e-test/flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/ResourceCheckTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd21721bfc5d4fd85ceb2fc8c6b5637aee1d6f6ac45e0bbffb5d5b040d202b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModelConnection.buildRequest (cognitive 16): AnthropicChatModelConnection.buildRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, loops 2, ternaries 2 (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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd366b0d5791e8d550910245f85683ce2e34ca433c384c2cf199b3b144e12482"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionJsonSerializer.serialize (cognitive 16): ActionJsonSerializer.serialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f959ca791a95158967b943f18aa4e393aff717c200a1c127670b94d31ac483a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MilvusVectorStore: TooManyMethods \u2014 56 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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e16acf358b88bcb3374e3c0f75ce2545b95db64886bbe1c822715ca48fe0572"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RunnerContextImpl: 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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"256fcbbd5ba042f292a9311b58cedd0c3db7947658ee4fd44e16f647c10ec159"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: milvus/MilvusVectorStore.java: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MilvusVectorStore (125-1194). 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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b448af956908e4ddd6021ca6063d0a169a917fa1add43615c6cc5c95204485f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentPlan: 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"020843d4ee82310ff2ab7a488b6615f35aa8ff33382356e8c90636ec2cf08fbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plan/AgentPlan.java: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AgentPlan (86-758). 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d022d4ce0ca6d64e79b6e56e70e8a48e62edb0db0ad072b4565fb8feec898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java:51-66 | runtime/src/main/java/org/apache/flink/agents/runtime/python/utils/JavaResourceAdapter.java:234-249 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java:51\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":"api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa43b1271dbc9be9ce7892b0950412ac35386bf03b329e257815617bee8751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java:105-118 | api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelSetup.java:110-123 \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 \u0060api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c8bdef0629951d15336317e039e5ed028e78322853b641d878b03dac02d124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:131-144 | runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/Slf4jEventLogger.java:114-127 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:131\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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cb34010ee4d9e50490aee0fc49ac14f0ecd48880616a42a0ee73fd2c23524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:188-203 | runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/Slf4jEventLogger.java:157-170 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:188\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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a051416351c8f7bbc32d8ca859e032c9efdfd69b3a809c1c1173967c6b1dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/WorkflowSingleAgentExample.java:70-83 | examples/src/main/java/org/apache/flink/agents/examples/YamlWorkflowAgentExample.java:69-83 \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":"examples/src/main/java/org/apache/flink/agents/examples/WorkflowSingleAgentExample.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e41cf19912ff8411892a3780c07c5142a3bbdc99ff4ec0bbe52acc5e294ce7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:116-129 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java:111-124 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:116\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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"db07832420ae684f54bb8d22a90f5783f27eaca43163d2ceade0ed9714e4b995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java:124-136 | examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java:144-156 \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 \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.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":"examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"973471e14fd9992cd07f92c4255c91d4eb713e2a52ecd1dcfd89d606add12c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java:278-290 | plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java:744-756 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java:278\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"226c7704e8fa46bcd4acfef647fed69f499f70589a605c7060a2181bf1787531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:151-162 | runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/Slf4jEventLogger.java:136-147 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java:151\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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/FileEventLogger.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e1f17f3ef71ec7a9a3b56a9eac0572178d49332659641f7ab96abf02ebe043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:352-363 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:271-281 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:248-258 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:394-404 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"894dc38fd8f8bc52c028db31dcf172a488ced138277c88e13befa1c1d7927055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:508-518 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:284-294 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:261-271 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:418-428 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e35dcb9e61903fd3197a0bed6e4beb4a6fe64ab14f898228b7d7278b952ad91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java:68-79 | api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java:90-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java:68\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":"api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e441fc88cda401030e8be5ed4d1bcc0cba8c4c1c36507115651cbb52f2aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelSetup.java:73-84 | api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelSetup.java:95-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 \u0060api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelSetup.java:73\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":"api/src/main/java/org/apache/flink/agents/api/embedding/model/python/PythonEmbeddingModelSetup.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d88062cadd87cfb84eca2409afd310e4bc9080ab407e43b33d6d5b58ede57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java:97-107 | integrations/embedding-models/bedrock/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/bedrock/BedrockEmbeddingModelConnection.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"698bbea05beed8c9f4060997111e656acf8eecd7626a83cbffc173c050a28e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:91-101 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:96-106 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3efe34a2a634622c19b06e9dacaef722d4405409d4bd8aa7bbc0f3a1141f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:189-199 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:185-195 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:189\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99a1bc9005c5936b6780e3d266f5c305e22455ef3188ca75343f326460758ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java:98-108 | runtime/src/main/java/org/apache/flink/agents/runtime/memory/Mem0LongTermMemory.java:91-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf9e81bb8ef986211cb3f26141c9a74a72ff73ff264947a0cec292e706bedf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:178-187 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:174-183 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab31dd034478d000184ac78fdb8593b826b8d5650617c5e345e2bf636a98b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:170-179 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:177-186 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:170\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ccf8da16033ab16adaa097959c4f7c4544b57002eacd008bef8b7f555f7e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:100-109 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:90-99 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f457ebafa05281e9e94f91a607f15608184e67cfb94356f8fd9dc04ad7513a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:512-521 | integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:693-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 \u0060integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:512\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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2ea64a7e94feca031a0157402ec10b92116ff0308808b623be0b343b52c802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:496-504 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java:532-540 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:219-227 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:445-453 \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. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f2f6f34bad2274be90817316ffacea5ffa610363a1f6f4936c5bdcc72b3b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:88-96 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:76-84 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:77-85 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:77-85 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e24fa22a26e3113f23d7bb4e7f87b0f3a1a0a873518fd832a8656668186124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:163-171 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:141-149 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:207-215 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:203-211 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:163\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a2d63cc5047fd30c159c597c987715ab73abada15a30acbb25df289713644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java:78-86 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:82-90 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:82-90 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"13add67464deb7aa87a581e1acf86246c48c57c725e33d0feceb3c37ccc1a1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java:152-160 | api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java:196-204 \u2014 both copies are in the same file, so extract the block 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":"api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c301542beab4e2b7a344c8de3873fcf5481638084a4aad318ddcb04554aeae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java:137-145 | runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java:207-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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java:137\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":"runtime/src/main/java/org/apache/flink/agents/runtime/eventlog/JsonTruncator.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"68785ca70f4c18f662edb8a406a83692249198f0aa4dd9ebcd0a7a49786ab75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:241-249 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:213-221 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:241\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2047b8839e080ec3728eec9b860c1daa593b0aee05ef56d9e400ea51964bc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:99-106 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:129-136 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:102-109 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:107-114 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"719fbc3fb9cb905bb61daea7a2d7f9db9ce18863c24518671a1b63160d2889aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:112-119 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:92-99 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:109-116 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:112\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a777b785b32d6bc470b237570146748934aef813ec9286b97af44f681a1961f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelSetup.java:76-83 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:153-160 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:147-154 \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":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelSetup.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2fce83ff6af5cdb9c5283deff756ba7509c0b374deee0cf22489ad7e24961f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/agents/Agent.java:124-131 | api/src/main/java/org/apache/flink/agents/api/AgentsExecutionEnvironment.java:215-222 \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 \u0060api/src/main/java/org/apache/flink/agents/api/agents/Agent.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. 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":"api/src/main/java/org/apache/flink/agents/api/agents/Agent.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3af191b807c4270f853b052aa7ce61d9b9ee6a3c9fc74a57ce5b82c3e255494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java:66-73 | examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java:82-89 \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 \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.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. 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":"examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b73456b75463744cb995ff99750ef42e4ffbe23137f01b2b52db811ee03dfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:201-208 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:209-216 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa6662b9a1cddabf6a5c0d19c6afc583de49dfd536d0e331dd2e25a59fd1c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java:141-148 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonSerializer.java:78-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"587ec665919c32f7be1f1061e67fb50fb3c1b7491be316c6cde749b7a5782606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java:95-101 | runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java:137-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aceae24bfed1a216ae7691dea34b0864ebdf0e2b9524093c6d3bddd8814893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:135-141 | runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:226-232 \u2014 both copies are in the same file, so extract the block 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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:135\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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c70be1a61580be08843fd02845e2fc9f07a82ea232679466ae366f1487373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:293-299 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:129-135 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:293\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e78bf607ac5a8ba76b7ac4e81400a8fcf70e69f6d5db2d77564756c77925ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:202-208 | integrations/vector-stores/s3vectors/src/main/java/org/apache/flink/agents/integrations/vectorstores/s3vectors/S3VectorsVectorStore.java:135-141 \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 \u0060integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:202\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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f362abbf7a0a1df69f9c2adaaaa5f51e5f2ff72d6d2ebcc50451c86279d6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:60-66 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java:58-64 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:60\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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2ac82bcb22bfbe427243162a36bb7bcd875546b9554d4ca09bf8c2e2b79b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java:388-394 | plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java:401-407 \u2014 both copies are in the same file, so extract the block 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 \u0060plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java:388\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf14fc63df5c10209da28c38b17339f63b90a29cb8ac032f7d02dea06c89e9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:141-146 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:135-141 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:139-144 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.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. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5699bff7ccc3e8ee9a2b97468e54eb4d632a9603b9dc3d4cf2ddeb412119ebfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/tools/FunctionTool.java:65-70 | plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java:295-300 \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 \u0060api/src/main/java/org/apache/flink/agents/api/tools/FunctionTool.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. 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":"api/src/main/java/org/apache/flink/agents/api/tools/FunctionTool.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4755f37d97f985b5fa0a0740fee8c08f95c8e45072998bff9dfd8b71fe40cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/FlussActionStateStore.java:326-331 | runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateStore.java:212-218 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/FlussActionStateStore.java:326\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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/FlussActionStateStore.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d75bf9cd4dd7abfaaebad754be4be8eb15e008376ccd6df7ee114231d793df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:184-189 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:364-370 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:184\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2049bb22335a95e6bda554fb436baa3ff579f971e7fe0583510eb3ed9b57bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:155-160 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:160-165 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:155\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c904cc85432dc9f704640b327d2e1e7daaef988f46947415bfd404d8be4b021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:650-657 | integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java:657-662 \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 \u0060integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:650\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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724c70da46cfa0826cb09903fb4a41cdc83c5f396824d870efa2772acd5f387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:136-140 | plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java:61-65 | plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java:76-80 | plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java:101-105 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:136\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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9afb4a3fcdd7a277684bec4719cd7c4c33472c0680f20136a688e71624e1550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:160-165 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java:180-184 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b8e19417e39a615aa71efa1748bc6947a52185963926b71a2a3e1902ca9646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:219-223 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:139-143 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"390be604356440b42277b46927fd8bde5803871f294d6fbcd87a2a123c78143b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java: plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java changed 9 times in last 90 days, max complexity 39. 1 of those changes was a fix/bug commit, 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"752faec543442e7160f55ab551ca0dabeb32b365cd285d0bfe1e485352d0f035"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java changed 5 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ad19ed3d82a08527c3b2075f22fd3643b9cae11a4c12bcd09b5a0bee78b22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java: integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java changed 3 times in last 90 days, max complexity 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a7ab91c9e9b53644eae7ebebe2202e58afcdaa2d78f76ae473b354647e499"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java: integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java changed 3 times in last 90 days, max complexity 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990a236d851124499ad31da8f28a95b5d5ad8619a977dfe9c508c8982cb8862"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java: integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java changed 3 times in last 90 days, max complexity 16. 1 of those changes was a fix/bug commit, 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45c82639078bf87314e054039057a9e59271e86530b08fd6f45f6eb9b051bd2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java, python/flink_agents/runtime/skill/skill_manager.py, python/flink_agents/integrations/vector_stores/mem0/mem0_vector_store.py, python/flink_agents/api/memory/long_term_memory.py, plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java, python/flink_agents/api/skills.py, runtime/src/main/java/org/apache/flink/agents/runtime/resource/ResourceContextImpl.java, python/flink_agents/runtime/skill/agent_skill.py (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a5011e95eac64d480d20a74beaf568633a519051f4387be0cd23277e3ed0b6e"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 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 (20 single-owned of 285 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 #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e6fa22ff565607642ec465bcb16434fbd539fa62a4e32f9a16d8a9957fb355a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82cfdffa347c15f6cb2365b388d928dc92cecb71c8dd2b8eaa836d4ff1f6e93d"},"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":"0f9a5fdcdfbe56a763a5f6f087bb69eedb04a7b27ccabd709c10d686eee9ef8e"},"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":"1615e41555b1a5e57745fad57a902b92f6a96540dce991054dc602aca220d914"},"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":"334204c18b5ab3e62c85da8ab5496c0a6df58496f4a3f26fd3a0d84e610cc6d9"},"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":"ffb9fd4bb0a383ec5efc9f31fc78c820031de0bd6094ea7d55ffdd67a1cc04d3"},"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":"6dbd029e4c4bde920a4edf461df55ee67065387665544b6b822e9165aa1ed391"},"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":"b5b7923463deb9dc56fa9bde6d731a83d276628cf46ea60df36a0b13d159df9c"},"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":"befdbf4ad75ad6a74781077309bb9fa856efead36657b611b55c18d0d24822a1"},"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":"2b453e460de8d019501495086017acdcc0ecd1f46bd6913dfc818dcf2801a282"},"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":"c1e10597bf7ab186a1ef92bba87b51172cf662c23ecd583b7da5bf445c9599c5"},"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":"bd765e0a3bc837fd001ca194896423b28097122d6b4275e3b5770405cfb2ecfe"},"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":"61b7297da3b30e38fe8c99d5f9df0b14b78fad9e1bb545c210909efa78004d66"},"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":"43ca1e9ea28b79a2c22c3ac2e0bfd8568635731c5b9190c656ed05c5600418cc"},"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":"fa8b75b842d188b79f6f076f37fe5db4661d214fca47addf7784b1c696915bfc"},"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":"c5a14a0634aa16dba7ebfece895b2881dcb3e28edd510d28a9c588c7e767e338"},"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":"e77b76fea224b2f6139211c494c757d81142e5bcfb9d35cb4c849658ce794140"},"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":"79d1a35c14d61135fb7ccc4436b94e18ebb48c0a6a61499b7489b5b0698933b0"},"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":"6449c9a30dfacaf4a468eaba3dce8642af74dd75dd5085b84a943f0d4db9cd95"},"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":"147877540c617a52cb250433cdec1b858b9b2573701bd6c2231db823df3d2ab7"},"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":"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":"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":"83c397a3e4c69551a0437276f550db9e1f611252fc7c885d65953ff78768b191"},"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":"8a7c60d84ec124dea0266da2cf23510056e10aadd6ac2dae11dd81d8528da72e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"92a4a96209a30a187701a1acd797bb6e1fc90f15671e08ab7abc6176c33b2c99"},"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":"8a576c2eb4557ec919dde1f57741e7000330d3588051cb43168711e3c5592e1d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"b57bc1b5b1f7e6b823ebee9e0595ccc2fbf223ead06904003d92ba1b26ed2fe3"},"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":"6f82ba811a55e4f68d450f7d8dbc65b35b7fede1012b2931a6e55809c9fa22b6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"351010d6dcc3454ecc697170026007bc7e0508262cd7412a700be07df21b64c2"},"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":"281606016eebcd97732923e5f2bb7aa7e56a98a062a20a5502616040b467c23e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"130d111e5b6b0063bd4778c946e141b469bd49fbbaf5c7163ef46b90ac444949"},"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":"0311938bc87c150e5184985c43f31a7b4f5da30f1a3fe82f5f0cea5594b84207"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"1e7226dbc7e755efa79efd9d5f3e0f22dec581aed577cb8c9cc286bce6a8cc9e"},"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":"f6582bbb42ca05333a935382b0fa12722524afd21c5672bdc6f2199e3cddbbc9"},"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":"64133fe611b57e7ccd867599017f27ca48885c4501147356a7b395f28a93dba0"},"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":"cd7e8461fcb93d0510d4031b77414ad16dd424c322416a435c1e25a497fff781"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7ee1f9a8123e37fd58333da134b655090c111609cea3184716d7a079b1564fa"},"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":"2dafe06ef62877e9f28dcce9e5ac43868f305fc70625d6fed6deeca47e9b1af8"},"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":"c69f03cdd44d07f6cdb489f063a7742f8f8314a3326faabe83ac60d4da9d0b18"},"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":"68c2f1166ec139712d452b3a0adcef4a894d4ef0c49393533eaf4f4d2c337af8"},"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":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 23 of 285 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: runtime/src/main/java/org/apache/flink/agents/runtime/logger/UnboundedFeedbackLogger.java, integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java, runtime/src/main/java/org/apache/flink/agents/runtime/feedback/FeedbackChannel.java (and 20 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ChatModelAction.java \u2194 chat_model_action.py: \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java\u0060 (context plan) and \u0060python/flink_agents/plan/actions/chat_model_action.py\u0060 (context python) sit in DIFFERENT parts of the tree yet change together 61% of the time (11 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a72729a239962d36a22b26f60c6e380330a81a0aa3dd5f216e46a02193965"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ollama_chat_model.py \u2194 tongyi_chat_model.py: \u0060python/flink_agents/integrations/chat_models/ollama_chat_model.py\u0060 and \u0060python/flink_agents/integrations/chat_models/tongyi_chat_model.py\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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/integrations/chat_models/ollama_chat_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a47f006fb265957c17a43c6a35ba04d1ceda83ccd2ce46f3286bb4dc3bf87ba"}},{"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":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}}],"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-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-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-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-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":54,"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."]}]}