{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ObjectView.renderObject (cyclomatic 90): ObjectView.renderObject has cyclomatic complexity 90 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ObjectView.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f5adfc50562c9f989004406c24d7c4db898a069727e78e417f1cdbd8d1ca0e"}},{"ruleId":"D1","level":"warning","message":{"text":"Bootstrap.main (cyclomatic 60): Bootstrap.main has cyclomatic complexity 60 (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":"boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7503173e941a3ca129a6719f0e3ef6bf1b5b67f2f375f9be2e9c148838eeed84"}},{"ruleId":"D1","level":"warning","message":{"text":"Enhancer.transform (cyclomatic 45): Enhancer.transform has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"949cff6220e5b40c1ab010dc99816b705deac027e6156558b7d80487a0fadd4c"}},{"ruleId":"D1","level":"warning","message":{"text":"JFRCommand.process (cyclomatic 42): JFRCommand.process has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/basic1000/JFRCommand.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e8c4b4188c89f66c6e379258c505e3761270e16079c8253ec2c977984f79b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilerCommand.executeArgs (cyclomatic 42): ProfilerCommand.executeArgs has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerCommand.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"770e49ce1769f9a29c6a8dc224d7bc17e7ec75503cb2b29cd00dea36fda34c81"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 36): draw has cyclomatic complexity 36 (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":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-core.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b20c0c55e2f344f0b7fe058eefd27889768f53109928f3d9619e97673a466e"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 36): draw has cyclomatic complexity 36 (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":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-core.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0d01e47622e7a2802fd17cd07e863d4acdff7852f80cdfd85d936ec304773"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetInputStream.__read (cyclomatic 30): TelnetInputStream.__read has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fac3fb8ea51f191566ab32bc03a2ab1d28b6e111ab37c9e1e4044f4869b6a19"}},{"ruleId":"D1","level":"warning","message":{"text":"RetransformCommand.process (cyclomatic 29): RetransformCommand.process has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdddac1cb08f0ee04fc0e9dc1eb6277296336e55c9c36decffa015d34795fc1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilerCommand.process (cyclomatic 27): ProfilerCommand.process has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerCommand.java"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef806d5d20448273cb8795e3bfca524113cef40e78def734aa565e66e5ad2778"}},{"ruleId":"D1","level":"warning","message":{"text":"VmToolCommand.process (cyclomatic 27): VmToolCommand.process has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/VmToolCommand.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e487ffb957668118a74d28ec5e56d869316a04b9d4a115ef9910673bde359b"}},{"ruleId":"D1","level":"warning","message":{"text":"ArthasBootstrap.bind (cyclomatic 27): ArthasBootstrap.bind has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4476f44cecea7cc74041d341d81a1b770cb8661c1636b4a47799b84084ba898f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassLoaderCommand.process (cyclomatic 26): ClassLoaderCommand.process has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5766c3c1c063b7810c96e39ab5f85facbbac32e20fb48b9c21c4cc2377f48f24"}},{"ruleId":"D1","level":"warning","message":{"text":"Enhancer.transform (cyclomatic 26): Enhancer.transform has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"040e578c62d2c86643411e024d209e9f8a8acb688b3dda23da969a30511c87b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectService.query (cyclomatic 26): ObjectService.query has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ea23d9cfd3edd515eea6b592b090e7d52df8ed775e6f53a792d228284770e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ArthasMcpJavaSdkIT.createArgumentsForTool (cyclomatic 25): ArthasMcpJavaSdkIT.createArgumentsForTool has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-integration-test/src/test/java/com/taobao/arthas/mcp/it/ArthasMcpJavaSdkIT.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"060297fef908089c144a694a24defebcb57effec8ac09a4642c0bba088f19d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamableToolUtils.executeAndCollectResults (cyclomatic 25): StreamableToolUtils.executeAndCollectResults has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/StreamableToolUtils.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"57705489b911d259e8ecfc664d5318c6c064a184001761103dedd128e3875b04"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectUtils.nullSafeEquals (cyclomatic 25): ObjectUtils.nullSafeEquals has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6742ddcae07f74c41b9c89b0e9bca5e35f0e5b517a5e6bd2d799e670556b98"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadUtil.getFullStacktrace (cyclomatic 25): ThreadUtil.getFullStacktrace has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e85e95a07bef0d6a42d95de22d1393b4dcf39f86305feb03f4ae7526813a5d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectUtils.defineClass (cyclomatic 25): ReflectUtils.defineClass has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/ReflectUtils.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2591a639c42b16b103367185e54d7c461e4ea18abb6ea6a9e908169c6b5d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordedEvent.init (cyclomatic 24): RecordedEvent.init has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/model/jfr/RecordedEvent.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7355dc0358d4b1ed2b1eb34c5d8b644f52607cdf24009af0e1972ee37fb560cf"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassLoaderCommand.processUrlClasses (cyclomatic 22): ClassLoaderCommand.processUrlClasses has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"66491e3f83fd2510beeaefaf0b71d4146afc5c24a16e106928c3cfdcfb0bd1f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadUtil.getFullStacktrace (cyclomatic 22): ThreadUtil.getFullStacktrace has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f426eeb980622c142783390db2a13f07080ef7350c2d146621ecc0f4d80c88a"}},{"ruleId":"D1","level":"warning","message":{"text":"McpStreamableHttpRequestHandler.handlePostRequest (cyclomatic 21): McpStreamableHttpRequestHandler.handlePostRequest has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e6350d09506e4cc4ee9170cd18d04ab199ebc19676b9d449a551ae543f1874"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilerMarkdown.toMarkdown (cyclomatic 21): ProfilerMarkdown.toMarkdown has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerMarkdown.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"de834b01175f5b1265fd38ff8593124cbbf0677e105e1c4761f3fff0ee8bdc21"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetConsole.process (cyclomatic 21): TelnetConsole.process has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/com/taobao/arthas/client/TelnetConsole.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b600f57fa2988c3df0715dc0835468e11f1aa77bf1aae0ec35003eebfee5d05"}},{"ruleId":"D1","level":"warning","message":{"text":"RedefineCommand.process (cyclomatic 20): RedefineCommand.process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4a75b3f58e8a31daeca0e31e3296dab58b5820f622430868e4d89ac529ade"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertySource.arrayEquals (cyclomatic 19): PropertySource.arrayEquals has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/env/PropertySource.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e49b64dae750db8ada6e3e3daa68a87fcaa02cb9abf153bc79e861138cbdd3"}},{"ruleId":"D1","level":"warning","message":{"text":"WildcardMatcher.match (cyclomatic 19): WildcardMatcher.match has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/matcher/WildcardMatcher.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1be6da6c8fe5d0f435327828a5f20f8d0103f5ab0552db5974ed5754856a23a"}},{"ruleId":"D1","level":"warning","message":{"text":"OSUtils.normalizeArch (cyclomatic 19): OSUtils.normalizeArch has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/OSUtils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ed5a209de41161e84b7787c8d0001124463b8418716ba2216c68a2fec3c910"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetInputStream.read (cyclomatic 19): TelnetInputStream.read 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":"client/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e53ed93da2bf7fb5eb0f2ef4e902bc7b5082ae95f93e2d714f2948e070e88"}},{"ruleId":"D1","level":"warning","message":{"text":"BinderUtils.inject (cyclomatic 18): BinderUtils.inject has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/config/BinderUtils.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75ba7aea031e8d20bbd54825854db0821e53e63488ddd1a70c23e0d40127ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"VMToolTool.vmtool (cyclomatic 18): VMToolTool.vmtool has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/VMToolTool.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e514cf1f0a5d4fb87c7ff342e23d1818edab515273cc33e49899da7eb46b207"}},{"ruleId":"D1","level":"warning","message":{"text":"serializeBinaryToWriter (cyclomatic 18): serializeBinaryToWriter has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_pb.js"},"region":{"startLine":4966}}}],"partialFingerprints":{"codehealthFindingId/v1":"267625a96676a64afef4621bed2dd6c28dec5cfbfc2cdb8fb162031115658ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadSampler.sample (cyclomatic 17): ThreadSampler.sample 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":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ThreadSampler.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0146d898f89e4e5424313016e88a2361ade77601d37f2698d0be0a23bca79443"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletionUtils.completeFilePath (cyclomatic 17): CompletionUtils.completeFilePath 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":"core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a514fdef7ffee196b460c4899dc7e2e535e48eb033e6839060cff389e8653a81"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessUtils.select (cyclomatic 17): ProcessUtils.select 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":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e8bfbbb90bf813beb65fca7fbc668266132742804eb20ce20a6cdd3343d69"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaObjectConverter.toJavaObject (cyclomatic 17): JavaObjectConverter.toJavaObject 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":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/JavaObjectConverter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a352254fc438f4eba8ecf53f374c29746baf90abad4cd5bbc7b6a646ce8d2b6"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaGenerator.generateParameterProperties (cyclomatic 16): JsonSchemaGenerator.generateParameterProperties 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1dbc537fb0b4e12d4f81780aacd34cf32c5c5d925a71cf6be195e302bde139"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultConsumerHelper.getItemCount (cyclomatic 16): ResultConsumerHelper.getItemCount has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/distribution/ResultConsumerHelper.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fb73a14c06a02b597938809bcf204acf09640978f71a79c3bd3dce9a2ad07a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassLoaderTool.classloader (cyclomatic 16): ClassLoaderTool.classloader has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/ClassLoaderTool.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0548e02de1e87f276a666f047a4ea700f3920732938209355f0803a9148ff903"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeTunnelTool.validateParameters (cyclomatic 16): TimeTunnelTool.validateParameters has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/TimeTunnelTool.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5b8bbca9e6ea60d501bbfb26488128bdf58bc07c1474e0128d7481f32607da"}},{"ruleId":"D1","level":"warning","message":{"text":"GrepHandler.apply (cyclomatic 16): GrepHandler.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/command/internal/GrepHandler.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc920a9952326833069b97867b1259f8b3b7d74c2a4c50998d48e2e4c13a9040"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpApiHandler.processRequest (cyclomatic 16): HttpApiHandler.processRequest has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94c5eec8e623348632524d8667b9060a3124c6563e956d894a4658b37cc8a32"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRequestHandler.channelRead0 (cyclomatic 16): HttpRequestHandler.channelRead0 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/HttpRequestHandler.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab88dbc302f7121f54649474883d4ebb38e3c6a1ee1b4ae443bb0c57a9a091c"}},{"ruleId":"D1","level":"warning","message":{"text":"TunnelClientSocketClientHandler.channelRead0 (cyclomatic 16): TunnelClientSocketClientHandler.channelRead0 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":"tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/TunnelClientSocketClientHandler.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565c8e705416db40dc045b2ab0f3780c7dfc0a1d232f09c83c23be00564f8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectView.renderObject (cognitive 730): ObjectView.renderObject has cognitive complexity 730 (threshold 15). Drivers by points: loops 486, if/else 199, error handling 26, boolean chains 13, match/switch 6 (nesting depth added 625). 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":"core/src/main/java/com/taobao/arthas/core/view/ObjectView.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f8887db92fcf3f4339c4bdc9e77ed06365aa31fc4ab8d87632f7bcf2879033"}},{"ruleId":"D2","level":"warning","message":{"text":"JFRCommand.process (cognitive 142): JFRCommand.process has cognitive complexity 142 (threshold 15). Drivers by points: if/else 93, error handling 41, loops 5, boolean chains 3 (nesting depth added 93). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/basic1000/JFRCommand.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13440735a74281437e2e295c2192507235e8ab82361895db2f83009b052179b"}},{"ruleId":"D2","level":"warning","message":{"text":"Bootstrap.main (cognitive 106): Bootstrap.main has cognitive complexity 106 (threshold 15). Drivers by points: if/else 92, boolean chains 7, error handling 7 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df718e5a2523c52b59510d47c609552df9ea59db43fa6dc1c33768dd0fd0227"}},{"ruleId":"D2","level":"warning","message":{"text":"Enhancer.transform (cognitive 104): Enhancer.transform has cognitive complexity 104 (threshold 15). Drivers by points: if/else 74, loops 19, error handling 6, boolean chains 5 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aac08804eeb64c8f0f3c6fe05b60708bb2adecfbb4695e64fef202f7508c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 78): draw has cognitive complexity 78 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-core.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0155eb86f0da54c8fd40503e463de82d3bf9b5891eec0200dec3ebca23f5c068"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 78): draw has cognitive complexity 78 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-core.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e98367cedee6794354675a23c1073d9c93d824a94f526515d6933ee7368d88"}},{"ruleId":"D2","level":"warning","message":{"text":"VmToolCommand.process (cognitive 77): VmToolCommand.process has cognitive complexity 77 (threshold 15). Drivers by points: if/else 36, ternaries 33, error handling 7, boolean chains 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/VmToolCommand.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f3991c7d940e33c8c571936db5de9432469bb08e5335e13988a3d3aca9b00f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilerCommand.process (cognitive 75): ProfilerCommand.process has cognitive complexity 75 (threshold 15). Drivers by points: if/else 66, error handling 6, boolean chains 3 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerCommand.java"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d6c719b6c8c7b7bd32d3dc70baddc67b1275a8f71da142c994665e380f3df1"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectUtils.nullSafeEquals (cognitive 67): ObjectUtils.nullSafeEquals has cognitive complexity 67 (threshold 15). Drivers by points: if/else 56, boolean chains 11 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0681ad8611013629870140991b20ce6f1cf95e186f5b67badad398513aadec"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetInputStream.read (cognitive 67): TelnetInputStream.read has cognitive complexity 67 (threshold 15). Drivers by points: if/else 40, error handling 20, loops 5, boolean chains 2 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7863b46b5d7ae744de83290da9452e08f9a9b08e4245511dd800f49f77f412df"}},{"ruleId":"D2","level":"warning","message":{"text":"Enhancer.transform (cognitive 64): Enhancer.transform has cognitive complexity 64 (threshold 15). Drivers by points: if/else 43, loops 14, error handling 6, boolean chains 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd58f361b85f78828fec4d0ffcafd0da6fe42e75c5bbe081e92736509a7535ef"}},{"ruleId":"D2","level":"warning","message":{"text":"RetransformCommand.process (cognitive 60): RetransformCommand.process has cognitive complexity 60 (threshold 15). Drivers by points: if/else 38, error handling 11, loops 9, boolean chains 2 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"02477cbe7d4f62a5a5d190265c7d44de6c0bd55345676e45ab8ea5d778f0c1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectService.query (cognitive 52): ObjectService.query has cognitive complexity 52 (threshold 15). Drivers by points: if/else 31, error handling 14, boolean chains 4, loops 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77fc30f83a73e16c7469db109023715311b2669471572a36c3eebb06a4a9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"WildcardMatcher.match (cognitive 45): WildcardMatcher.match has cognitive complexity 45 (threshold 15). Drivers by points: if/else 35, loops 8, boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/matcher/WildcardMatcher.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"191509440a8c7ee94f00202c632636fe5a635794ed6e6c149d867c781ec1ee05"}},{"ruleId":"D2","level":"warning","message":{"text":"GrepHandler.apply (cognitive 44): GrepHandler.apply has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23, loops 10, ternaries 9, boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/command/internal/GrepHandler.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0157c35dedf6eed16216c58869ff739b734b9e600e28ff9d691da98e394141"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilerCommand.executeArgs (cognitive 43): ProfilerCommand.executeArgs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 36, loops 4, boolean chains 3 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerCommand.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6133552eef5167a34543d5ce76dcd17695d14227565ccf2afe2a4373f90a38"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasReflectUtils.getClasses (cognitive 43): ArthasReflectUtils.getClasses has cognitive complexity 43 (threshold 15). Drivers by points: if/else 25, error handling 12, loops 5, boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/reflect/ArthasReflectUtils.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bc12f3be17e8cd9b32e6948aa64a19fb83d3d128c381adbf0633dbc056c31e"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableToolUtils.executeAndCollectResults (cognitive 41): StreamableToolUtils.executeAndCollectResults has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19, error handling 8, boolean chains 7, ternaries 6, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/StreamableToolUtils.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa97fc79b197b3acc32cc04e8a5915065ffd197d90be65cad93547b471b5092a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectUtils.defineClass (cognitive 41): ReflectUtils.defineClass has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20, error handling 16, boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/ReflectUtils.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"24479b6555ea787583416547f6ae7ae27d8c88fdb7857565febc0c5e3ad092b2"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetInputStream.__read (cognitive 40): TelnetInputStream.__read has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27, match/switch 11, boolean chains 1, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb25e3e498dfeb374e7fbd1bbf04b17e3ae0a18ec1a4d435bd968acdd61f8efd"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadView.draw (cognitive 39): ThreadView.draw has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21, loops 18 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/ThreadView.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0025f04b2bcee8f1c907f4bac23bf6b5e82c81a5120fad8de94574f3f19278bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderCommand.processUrlClasses (cognitive 36): ClassLoaderCommand.processUrlClasses has cognitive complexity 36 (threshold 15). Drivers by points: if/else 25, boolean chains 4, ternaries 3, error handling 2, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2e5cf1c5c45d0a15f099c03efd856184da7559640934d16df767912be17e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetConsole.process (cognitive 36): TelnetConsole.process has cognitive complexity 36 (threshold 15). Drivers by points: if/else 26, error handling 7, loops 2, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/com/taobao/arthas/client/TelnetConsole.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218dcef20ce5bf30c043633a6c966000878b7fe6fef498f427cb831ea3b0ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordedEvent.init (cognitive 36): RecordedEvent.init has cognitive complexity 36 (threshold 15). Drivers by points: if/else 28, boolean chains 5, loops 2, ternaries 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":"labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/model/jfr/RecordedEvent.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4890f0a32202f740cc5df0c8398a2a2a7b825207a199a22b3be99bb136bd99ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderCommand.process (cognitive 35): ClassLoaderCommand.process has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26, boolean chains 7, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"644ec56b1f90c0d955e84ef82f2fd5b2185df920a2ecbdd211520b2aca36f089"}},{"ruleId":"D2","level":"warning","message":{"text":"RedefineCommand.process (cognitive 35): RedefineCommand.process has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24, error handling 6, loops 3, boolean chains 2 (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":"core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f644a23a3a824a45aa97b16229acbf8ef4875d0bbdf3ecc53206bfa615b7df8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadUtil.getFullStacktrace (cognitive 35): ThreadUtil.getFullStacktrace has cognitive complexity 35 (threshold 15). Drivers by points: if/else 25, loops 5, match/switch 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db3e2663ee3390c6e1a99dbee88a7b3a87724c5977a69123396f8de3c03ffcb"}},{"ruleId":"D2","level":"warning","message":{"text":"BinderUtils.inject (cognitive 34): BinderUtils.inject has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25, error handling 4, boolean chains 3, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/config/BinderUtils.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"48aef28ae3a6cd2b2fd31403b7b5bf42d128bad347bf7764eed39b9a1ea4277e"}},{"ruleId":"D2","level":"warning","message":{"text":"Log4jHelper.getLoggers (cognitive 33): Log4jHelper.getLoggers has cognitive complexity 33 (threshold 15). Drivers by points: if/else 27, boolean chains 3, loops 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a11afba499704860ca5767f1ce6941e4cd90998c1a58cf48c7b66ceffe4469"}},{"ruleId":"D2","level":"warning","message":{"text":"TunnelClientSocketClientHandler.channelRead0 (cognitive 32): TunnelClientSocketClientHandler.channelRead0 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, boolean chains 4, error handling 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/TunnelClientSocketClientHandler.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b92eae4019d5ef32ff257fb962aeb5535db594930f3ab805d5f99edeb7c9e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SharingResultDistributorImpl.distribute (cognitive 31): SharingResultDistributorImpl.distribute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18, loops 8, error handling 4, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/distribution/impl/SharingResultDistributorImpl.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033462a07d2b670bc247ca196fda288bd7adbd3d06425c8e31c850e3faf5182"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectUtils.nullSafeHashCode (cognitive 31): ObjectUtils.nullSafeHashCode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 31 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"071e9f83d74889115410e5d86a306075997b8875ebf74dc125f091f0591a3dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadUtil.getFullStacktrace (cognitive 31): ThreadUtil.getFullStacktrace has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21, loops 5, match/switch 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"46834491a48ca4d0e57019ac8ad39ec0551f9106c1ca24a8500d89b86f75c490"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasBootstrap.bind (cognitive 30): ArthasBootstrap.bind has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, boolean chains 6, error handling 3, 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":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa220b5d1890b15208f0162a183c8c2b62e0e6d1e071ea91863576a627b680"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRequestHandler.channelRead0 (cognitive 30): HttpRequestHandler.channelRead0 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27, error handling 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/HttpRequestHandler.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43718863e603ccb3e616c13163bd170a8ba5c93febe50aaa54c9dcef673755"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaObjectConverter.toJavaObject (cognitive 30): JavaObjectConverter.toJavaObject has cognitive complexity 30 (threshold 15). Drivers by points: if/else 26, error handling 2, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/JavaObjectConverter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c4619e067e6a2c9e365062dd15da9e411373e2659caeb4dcb12a45d509226"}},{"ruleId":"D2","level":"warning","message":{"text":"McpStreamableHttpRequestHandler.handlePostRequest (cognitive 29): McpStreamableHttpRequestHandler.handlePostRequest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16, error handling 10, boolean chains 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"343e4dd89ea4482547be6b16bc8653db5dfeff5152d16273a2376cdf61c1e510"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultConversionService.objectiveClass (cognitive 29): DefaultConversionService.objectiveClass has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/env/convert/DefaultConversionService.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e60ac4399e663f739f854f31cd31cdd2c8888d3aefeb765c9131f6445a0c79"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyPlaceholderHelper.parseStringValue (cognitive 29): PropertyPlaceholderHelper.parseStringValue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 27, boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/env/PropertyPlaceholderHelper.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"404dd50d47865fbd682c3fb044a679a22e7b8be35f3a4a0f9f74aab4d436a9ed"}},{"ruleId":"D2","level":"warning","message":{"text":"CPUTimeExtractor.buildThreadCPUTime (cognitive 29): CPUTimeExtractor.buildThreadCPUTime has cognitive complexity 29 (threshold 15). Drivers by points: if/else 25, ternaries 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/extractor/CPUTimeExtractor.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c1fdbd5af07856d35b2cf0969abdbf21ef7aa727877279e52993514de83cca"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderView.drawUrlClassStats (cognitive 28): ClassLoaderView.drawUrlClassStats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17, loops 7, ternaries 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/ClassLoaderView.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e26c2c46462c5c0a03dc076c215a48df4b3eb4ac623a17696cc2a3db869206"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionUtils.completeFilePath (cognitive 28): CompletionUtils.completeFilePath has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22, boolean chains 3, loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa384d16061824329a77e6ef21c7e9d0c391e7d7210af0ac65fd1a879b45029"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellImpl.\u003Cinit\u003E (cognitive 28): ShellImpl.\u003Cinit\u003E has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19, error handling 5, loops 3, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/impl/ShellImpl.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1f231fca74fd298dbb83051fdd62d57cb2ab7cde0f5340e34927aec024260d"}},{"ruleId":"D2","level":"warning","message":{"text":"StyledUsageFormatter.usage (cognitive 28): StyledUsageFormatter.usage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, loops 6, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/usage/StyledUsageFormatter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3300b1ce3b9051bca540b8671f3250cfb7f502f2a15c0e5dfbb92467185741a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadSampler.sample (cognitive 27): ThreadSampler.sample has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, loops 11, ternaries 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ThreadSampler.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af490845049a22fc2f4e95fb13fac563cba2be711ea16c8254b35eb59d0508a"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerView.renderLoggerInfo (cognitive 27): LoggerView.renderLoggerInfo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, loops 4, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/LoggerView.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ac0ea2c4be9c34abc9e63d750827415947ae30b579ebd8ddf344cbf582f7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectoryBrowser.directView (cognitive 27): DirectoryBrowser.directView has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/DirectoryBrowser.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b608837b20a2ba3b37227252a83fad49bb69d9d1e84e69c3e5b25e2d171c69"}},{"ruleId":"D2","level":"warning","message":{"text":"MBeanTimerTask.run (cognitive 26): MBeanTimerTask.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18, error handling 5, loops 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/MBeanCommand.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deabb47c85ee3345a8ea06c849849434e653f44240b6c6b4457d7225f389ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"1.run (cognitive 26): 1.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, loops 6, error handling 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"539766bcb17db1ce06036d528b3f76965c72779f6ba28a509be5c619e31feb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"JobControllerImpl.createCommandProcess (cognitive 26): JobControllerImpl.createCommandProcess has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/system/impl/JobControllerImpl.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb448e2bcba9a636a9f1e6b49163485ca2e6460da44af118a090c85f69c261f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderUtils.getClassLoader (cognitive 26): ClassLoaderUtils.getClassLoader has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ClassLoaderUtils.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91aa74488467679459e871dcc4fae1e3b96df11f9e09f205e19e48e71bc5136"}},{"ruleId":"D2","level":"warning","message":{"text":"1.run (cognitive 26): 1.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, loops 6, error handling 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d419a4239dfd792bf7d3d993c825b5a93865c23288186558f8b7a43a2c9ef83d"}},{"ruleId":"D2","level":"warning","message":{"text":"Telnet._processDo (cognitive 26): Telnet._processDo has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18, match/switch 6, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/Telnet.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f821b47c2503514e55ac497843d0f219674ee33524771d6325c7075f8636ae"}},{"ruleId":"D2","level":"warning","message":{"text":"touch (cognitive 26): touch has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-core.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"2225b89c981927ffd6039eb7f5d553a24209b4365f6215f3d4b45fc0f9d28eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"touch (cognitive 26): touch has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-core.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b2e6b61043acc37d16d30f2a995ddbf66b72567042a8f3528e12a28f68d792"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderCommand.urlStats (cognitive 25): ClassLoaderCommand.urlStats has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, loops 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b12304e9ad5eabdde526a7e6e767d7261ee3e1187088350799045533f662fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasMcpJavaSdkIT.createArgumentsForTool (cognitive 24): ArthasMcpJavaSdkIT.createArgumentsForTool has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, boolean chains 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":"arthas-mcp-integration-test/src/test/java/com/taobao/arthas/mcp/it/ArthasMcpJavaSdkIT.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"906e4611f97d3fe3733543265b6cd9bc8e10626f2a343c2f9159b525fafdb314"}},{"ruleId":"D2","level":"warning","message":{"text":"Log4j2Helper.getLoggers (cognitive 24): Log4j2Helper.getLoggers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, loops 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4j2Helper.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf67ffe778ee018a437d9e122b091c68b31f2bb40c250c5d24ea96abbfc0282"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultConsumerImpl.pollResults (cognitive 24): ResultConsumerImpl.pollResults has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, loops 2, boolean chains 1, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/distribution/impl/ResultConsumerImpl.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5a6203819db097691426320a50cb6f574adf657abe36098b8c65d9811ee980"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectUtils.nullSafeToString (cognitive 24): ObjectUtils.nullSafeToString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, ternaries 12 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"971167161895184989db480e945553761d29855b3bbfccedb41ca8d2010a1874"}},{"ruleId":"D2","level":"warning","message":{"text":"TableView.drawRow (cognitive 24): TableView.drawRow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, loops 4, ternaries 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/TableView.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f101e34be184bd3bb9e68fc7ee84d4aff94d34e5c11071e39a694924b28eec9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessUtils.select (cognitive 24): ProcessUtils.select has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, loops 4, boolean chains 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":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8005bc33776bc1640dfbdf7bce373e0bdb974cf6167c6b140caaf1a0d1870b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderCommand.getAllClassLoaderInfo (cognitive 23): ClassLoaderCommand.getAllClassLoaderInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, loops 7 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"839467a012a3b7e047421941a49101a259bfffcc3a6df5ed5e41ebbdb7caff8d"}},{"ruleId":"D2","level":"warning","message":{"text":"LineCommand.parseLines (cognitive 23): LineCommand.parseLines has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, error handling 3, loops 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommand.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b367a6bee4ed3b57f99c3cc406e0d06215c47ae17812a4c2f685edd2de5f29"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilerMarkdown.toMarkdown (cognitive 23): ProfilerMarkdown.toMarkdown has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9, loops 6, if/else 5, boolean chains 3 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerMarkdown.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae06c12e65cd4deed01f7b0bb7551d751f980cd9a7903fee4707acbb0d37928"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultConsumerHelper.getItemCount (cognitive 23): ResultConsumerHelper.getItemCount has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, loops 3, boolean chains 1, error handling 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":"core/src/main/java/com/taobao/arthas/core/distribution/ResultConsumerHelper.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"697b33e78bcab5d7417060d52c354e2d610d8e1f0ad12eb5d1fb9435ba62ec16"}},{"ruleId":"D2","level":"warning","message":{"text":"VMToolTool.vmtool (cognitive 23): VMToolTool.vmtool has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, boolean chains 7 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/VMToolTool.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e7fa26ce5a66fba44b9ab3359ad25cde561dc40ff79b9165ac3575b3a3f129"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadUtil.findMostBlockingLock (cognitive 23): ThreadUtil.findMostBlockingLock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, loops 6, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e1432338a6fbf0108a9b06e397e3522507feabc4f82eba72a763a4c7d1aef"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaObjectConverter.toArrayValue (cognitive 23): JavaObjectConverter.toArrayValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/objectUtils/JavaObjectConverter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"441d34c6d6cda4fe314faffa2b96013056e6379c665db0b8c997ee7782e1d460"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaGenerator.generateParameterProperties (cognitive 22): JsonSchemaGenerator.generateParameterProperties has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 6 (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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd396f8d8862add4e3e4b32cdd34ced1aa40b83261509e073860a5f5e57f7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonParser.toTypedObject (cognitive 22): JsonParser.toTypedObject has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22 (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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/JsonParser.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe98316973a4d52c39af4da4644550c3e94f16057bddb6814a33b2bb1476375f"}},{"ruleId":"D2","level":"warning","message":{"text":"LogbackHelper.getLoggers (cognitive 22): LogbackHelper.getLoggers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/LogbackHelper.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b29daa33b56d608c4c9514ced635bd1c5f848d2317bf2c71506d6f85c31e445"}},{"ruleId":"D2","level":"warning","message":{"text":"Enhancer.enhance (cognitive 22): Enhancer.enhance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, error handling 4, loops 4, 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":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0ed2ed93d4e8e442c53ba2c71a18e3c4e40ae1ddf8f40b5dff81fe45b23f78"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractArthasTool.executeStreamable (cognitive 22): AbstractArthasTool.executeStreamable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, ternaries 4, error handling 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/AbstractArthasTool.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12a3a5675c699d4d1a8c91b16ac4a56906de2bd7a9e766be8898a4fec611b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasBootstrap.createExternalCommandRegistry (cognitive 22): ArthasBootstrap.createExternalCommandRegistry has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, error handling 3, loops 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550beff3732c11880e2e77da212f13f2d86c73248e7a5cd0f6a5e021f2fb3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"IPUtils.getLocalIP (cognitive 22): IPUtils.getLocalIP has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, loops 7, boolean chains 1, error handling 1, ternaries 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":"core/src/main/java/com/taobao/arthas/core/util/IPUtils.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8436becbb3354af15b883e8a68bdd9b5e1fa8ff11a3a7c6d389f67a496457611"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassInfoView.drawField (cognitive 22): ClassInfoView.drawField has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, loops 6, error handling 4, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a7897a647e880e1f33dcfbbc3b0da049bdd8887834512c785769b1c8ae955"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessUtils.findJavaHome (cognitive 22): ProcessUtils.findJavaHome has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb8efd4dbfc128f88ca00282955e03c78956dbb80e6e42da55e7c32990555cd"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetInputStream.run (cognitive 22): TelnetInputStream.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, error handling 10, 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":"client/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d9ae5daef8930091c2f05b87ab1c2822572b509d86209f39d991117118c507"}},{"ruleId":"D2","level":"warning","message":{"text":"JFRAnalyzerImpl.generateCpuTime (cognitive 22): JFRAnalyzerImpl.generateCpuTime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, loops 8, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/service/impl/JFRAnalyzerImpl.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e2aa31ccebc76c42d3af314590cb82d40f1809f639d69b57bd0190f7fce420"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchClassCommand.process (cognitive 21): SearchClassCommand.process has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/SearchClassCommand.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5634b3f04385102681087fc207f5ea631c408f8c68a3f4e99b1bcd10e4c8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchMethodCommand.process (cognitive 21): SearchMethodCommand.process has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, loops 5, boolean chains 2, error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/SearchMethodCommand.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c5e88cc3de54745e29da47e442c5d72fdc4e75270cf04e9355f91ea89601b"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerCommand.updateLoggerType (cognitive 21): LoggerCommand.updateLoggerType has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, error handling 9 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/LoggerCommand.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5ea17d9ae1a6e0dac9bf8f3e40d81bcbcd11ed47a0d670913eead140d5d3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.humanReadableByteCount (cognitive 21): StringUtils.humanReadableByteCount has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 21 (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":"core/src/main/java/com/taobao/arthas/core/util/StringUtils.java"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6db782f059afe5198bc4a068d8acf8ddb54197618a5164f8586c08424b66e88"}},{"ruleId":"D2","level":"warning","message":{"text":"GrpcDispatcher.loadGrpcService (cognitive 21): GrpcDispatcher.loadGrpcService has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, loops 4, error handling 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-server/src/main/java/com/taobao/arthas/grpc/server/handler/GrpcDispatcher.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21630fef322201f98bba6ca356e888d324e63ed3475220887777d2e0e237fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"Enhancer.enhance (cognitive 21): Enhancer.enhance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, error handling 4, loops 4, 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":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e194af1087fdc35b7acbd3b3f45c150dec53cffe20f6e5d802d16aaa863622b"}},{"ruleId":"D2","level":"warning","message":{"text":"genFramesFromLineData (cognitive 21): genFramesFromLineData has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-class.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afcfa0f78337e259d897f283a554719ddfc4def1325826d7aaa5e0147d19206"}},{"ruleId":"D2","level":"warning","message":{"text":"genFramesFromLineData (cognitive 21): genFramesFromLineData has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-class.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d3d6b71ecd52bc8cb68ac37b7743277f9c0f6ee04dd443341407f65acf4328"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBootstrap.main (cognitive 20): AgentBootstrap.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, error handling 7 (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":"agent/src/main/java/com/taobao/arthas/agent334/AgentBootstrap.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28a294cadd060e3f250f3c752505ee65eb12566e6b123a7add166c0960c1ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderMetaspaceCommand.readRecording (cognitive 20): ClassLoaderMetaspaceCommand.readRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, ternaries 3, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"632cde4ff6a77b9f60b3c8f17007ef1615c4bd24b0414839afc2ba16d2e88b59"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerCommand.level (cognitive 20): LoggerCommand.level has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, error handling 6 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/LoggerCommand.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6f04d487e9961862cedbf8865c80ae4a4abef2e58499767a8aacf7b98e7af"}},{"ruleId":"D2","level":"warning","message":{"text":"MonitorAdviceListener.finishing (cognitive 20): MonitorAdviceListener.finishing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, loops 3, error handling 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":"core/src/main/java/com/taobao/arthas/core/command/monitor200/MonitorAdviceListener.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0448bb674518ce081d176acf751b960acc644f117226d81fe3211840f20edb"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewFileTool.loadAllowedRoots (cognitive 20): ViewFileTool.loadAllowedRoots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, error handling 5, ternaries 3, loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/basic1000/ViewFileTool.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"353286f2ec2e2e94f13d3a2287cc2ca5b6cef2e9e1d2a50ccac24a0d0c343bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionUtils.completeOptions (cognitive 20): CompletionUtils.completeOptions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e627bc7eb9af7a423d04851136b0a001172ff8aff61b6a10b60e64d4dcc4cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessImpl.updateStatus (cognitive 20): ProcessImpl.updateStatus has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/system/impl/ProcessImpl.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0f04e06b63847caa2d8ac551cfed1c29d7da9ed8e02ec24952645d948d1078"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpApiHandler.processRequest (cognitive 20): HttpApiHandler.processRequest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, error handling 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"93431504c8745c1866891faf07aa8823bb79cfcf3cb77952d77a179c1bfb2a75"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicHttpAuthenticatorHandler.channelRead (cognitive 20): BasicHttpAuthenticatorHandler.channelRead has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/BasicHttpAuthenticatorHandler.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aeb5e3b40b73e5c608bec5e441e13498b9b390c257a668e43fd03a80ea7311"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.delimitedListToStringArray (cognitive 20): StringUtils.delimitedListToStringArray has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 8, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/StringUtils.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"569adfdf94279c822a4a032f193fae4f2897f8e799b59f24dbe7ef14ac9f026c"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxyClientHandler.channelRead0 (cognitive 20): HttpProxyClientHandler.channelRead0 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 7 (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":"tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ProxyClient.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"223b989a436042463e2788137de169ba1f75a4ba48f45ef6fe3b39ce150dc4a5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTaskManager.processInboundResponse (cognitive 19): DefaultTaskManager.processInboundResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"67601919731b5fa3763deb23847dc375e601ac951327185d21c03800672c4abd"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderMetaspaceCommand.buildRows (cognitive 19): ClassLoaderMetaspaceCommand.buildRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, ternaries 4, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"37de64dbc575f86fbda506e27e795c09fb8ba5e728126784903e3e91e2717b35"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilerMarkdown.parseCollapsed (cognitive 19): ProfilerMarkdown.parseCollapsed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 2, error handling 2, ternaries 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerMarkdown.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b571c165b41fbc547770312d793483df8c6b8cd3fe86cf2e9cb159649d2dd173"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasBootstrap.collectCommandNames (cognitive 19): ArthasBootstrap.collectCommandNames has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 3, loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"afee828d8e9a22cc9ba0fd9040d129d3d6ec6a4120b29d8b6194b616374bba50"}},{"ruleId":"D2","level":"warning","message":{"text":"Arthas.attachAgent (cognitive 19): Arthas.attachAgent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 2, error handling 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/Arthas.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a27073a98059ebbe6a1b82152fca1f2122cad75d7633981ea96408afaea0f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Telnet._processSuboption (cognitive 19): Telnet._processSuboption has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, loops 5, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/Telnet.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98aaf508fa8880d8b31777ac13b095887027d6c9a1cd4356dea4e75adc07eac"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryCompilerCommand.process (cognitive 18): MemoryCompilerCommand.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 2, boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/MemoryCompilerCommand.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4afa0963d9a6bc5ac94cb4a64e0deec68b6f4dc5df4114ed20a036177ff7212"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertySource.arrayEquals (cognitive 18): PropertySource.arrayEquals has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/env/PropertySource.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94ba9f01d766027a4d88d620325c5e89c50e23b74ae9ea5a61ca2ffe9b231b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderUtils.getUrls (cognitive 18): ClassLoaderUtils.getUrls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, error handling 7, loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ClassLoaderUtils.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa3f5244b2cb3c74f0dbfc462feb080c96070825f082b7072032c31a2a9971a"}},{"ruleId":"D2","level":"warning","message":{"text":"OSUtils.normalizeArch (cognitive 18): OSUtils.normalizeArch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/OSUtils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadaa9428065958056cdfbf7502b159577038ac12ccf2980209ed2557b98767e"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetOutputStream.write (cognitive 18): TelnetOutputStream.write has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d1d468d6dc074c1804b220c57227df5da0b64e8e19634ada8f3b7761cd7d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"drawSelf (cognitive 18): drawSelf has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-core.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"80647603d7f14470b4f40fb28ca429fcff158e0e831e386394573bc6eb226297"}},{"ruleId":"D2","level":"warning","message":{"text":"drawSelf (cognitive 18): drawSelf has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-core.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5065697a58917d3b7b04992f7e697896c929a3c8efd3c57a02d25bd890728ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"HelpCommand.createCommandVO (cognitive 17): HelpCommand.createCommandVO has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/basic1000/HelpCommand.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"43262366ee6658af81cdad1fee496fbf3818646829c9600b18e760f76c13858e"}},{"ruleId":"D2","level":"warning","message":{"text":"JadCommand.process (cognitive 17): JadCommand.process has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c93df0660072941eef1806c030c43bec6d987cdf6d5de6ec87f0aa8b24f8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Log4jHelper.doGetLoggerAppenders (cognitive 17): Log4jHelper.doGetLoggerAppenders has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7046fc21864856832ca39c28f23cebf6854ed550288f373f5e33c55ad798bb9"}},{"ruleId":"D2","level":"warning","message":{"text":"MBeanCommand.completeBeanName (cognitive 17): MBeanCommand.completeBeanName has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/MBeanCommand.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"be00ee1c0f7c8fb5e97b6b8a82a258c4ef5bb5b1dc452346276fd0344c6eb23c"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeTunnelView.draw (cognitive 17): TimeTunnelView.draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/TimeTunnelView.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9cff11af6a7d14419c678150062336b6b1f8dc3a3e97a55430023b405f8775"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceView.renderNode (cognitive 17): TraceView.renderNode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"core/src/main/java/com/taobao/arthas/core/command/view/TraceView.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b043e28e8714852ffda40cabef65a9e61fd1a1340ad0596b81595cae223f4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Enhancer.filter (cognitive 17): Enhancer.filter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"932941d598e6e24d014e41d3f11f4e0515c6da7fffc82f8a88547ef2b43313fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasBootstrap.destroy (cognitive 17): ArthasBootstrap.destroy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, error handling 6 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf521861094beb358bc48e2c4d61b3b9738ec55097543e3e0b4812321ae816"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessUtils.findJcmd (cognitive 17): ProcessUtils.findJcmd has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a0fe1dc41617c94a8f9490a7e57a434628aef695a1a78a553cb5c3789f70a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectUtils.getClass (cognitive 17): ReflectUtils.getClass has cognitive complexity 17 (threshold 15). Drivers by points: error handling 6, if/else 6, loops 3, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/ReflectUtils.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef4cfea7270826bbfdcc16607f503c5421d15a1cbf9c38ed9e4e0bdaba88802"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 17): render has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/public/flame-graph/flame-graph-class.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e15a2d1cbe3c0ff25c54028d6cd0702fe5e6d864e9bedeb74a291f62358e4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 17): render has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/components/FlameGraph/flame-graph-class.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9a0a3772cbe51ae356f73562fa51bac64e84f1a676a868e39d910e35b2518"}},{"ruleId":"D2","level":"warning","message":{"text":"serializeBinaryToWriter (cognitive 17): serializeBinaryToWriter has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_pb.js"},"region":{"startLine":4966}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6908ae9f67429bd73ab62d25886453d6f5e288be5624b85db3d42a510cb39e3"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServerConfig.\u003Cinit\u003E (cognitive 16): McpServerConfig.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 14, boolean chains 1, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpServerFeatures.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd191875938ff94a6562beff83475f2ab5320c7a3ef9eeaa921aed5d3988ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderMetaspaceCommand.emitMappings (cognitive 16): ClassLoaderMetaspaceCommand.emitMappings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2, ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"621555f020fda06c5c40f00dff9fef0d6d4537a7378fac5c7a6bb70fb1c5f55f"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerCommand.loggers (cognitive 16): LoggerCommand.loggers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/LoggerCommand.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5af7bbc99741baa8163585c118fb2fd4f851383b5c80d863f514624963425f4"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancerCommand.enhance (cognitive 16): EnhancerCommand.enhance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffb9731900949508cdcf3ea9aa3cf35b03a90a36936534e0dce31790d991e77"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeTunnelCommand.process (cognitive 16): TimeTunnelCommand.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb0040d0eec5478b7dc6a012a6e0c93ddc2f49600c13a534bc7a2e17e435ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"ArthasBootstrap.resolveCommandLocationUrls (cognitive 16): ArthasBootstrap.resolveCommandLocationUrls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff731c6e8f92acd1c1c435cf4ee8863019baae6e0cd3c592f213a37717b9380"}},{"ruleId":"D2","level":"warning","message":{"text":"InternalCommandManager.completeSingleCommand (cognitive 16): InternalCommandManager.completeSingleCommand has cognitive complexity 16 (threshold 15). Drivers by points: loops 10, if/else 6 (nesting depth added 10). 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":"core/src/main/java/com/taobao/arthas/core/shell/system/impl/InternalCommandManager.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1d713e8cb8b51facdab44827eea72d2e44a0409aac208395be77063c869763"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionAdaptor.complete (cognitive 16): CompletionAdaptor.complete has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/CompletionAdaptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43b417bf904543d54cb46b5a4e1c64e29fe7b50d74a911f5572a31a8a7471ed"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.tokenizeToStringArray (cognitive 16): StringUtils.tokenizeToStringArray has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 5, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/StringUtils.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2c3309bdd77f37665a89ea44bd99ab4e9743442778f16cb638a2336a775d82"}},{"ruleId":"D2","level":"warning","message":{"text":"Telnet.addOptionHandler (cognitive 16): Telnet.addOptionHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"client/src/main/java/org/apache/commons/net/telnet/Telnet.java"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9318bc88372392f157c73c689b41e8453a465b0adf3a1d6ee2a68b8dd5f1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketClient.isAvailable (cognitive 16): SocketClient.isAvailable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/SocketClient.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af94eb204d128f825ace27c6edbf1be33376ef191b9705b4d94901004171f83"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ansi: TooManyMethods \u2014 87 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/Ansi.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d082385f94b6824fcaf70de2a05abfb86eefef6a31f17bf20a14680ce75ab16"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StringUtils: TooManyMethods \u2014 65 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/StringUtils.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a2cfc437eff80395d836eadcfe53139907100fed12f1fbbdba54308940fd31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Bootstrap: TooManyMethods \u2014 61 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a67fe67cd82fe0fc26022c29811b552d90f30ef7c80fa30c3980f0ad37f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SocketClient: TooManyMethods \u2014 50 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":"client/src/main/java/org/apache/commons/net/SocketClient.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9715677cdc0b178c7d2f6dba9796468458f7b21daea463129952ed526be7ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Telnet: TooManyMethods \u2014 47 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":"client/src/main/java/org/apache/commons/net/telnet/Telnet.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"272def33fbab646e4865755c73a522d4a897790b8681e1c166201c08233ab896"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArthasBootstrap: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acc87919268fd99f69060cc3a900008b15e11ded4f3d540961dc762e7b33345"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TimeTunnelCommand: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0124d0c629cbc89e10ea7ee1d4b858c1e9b396f66a8c947257e1d5ecef8c739"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassLoaderMetaspaceCommand: TooManyMethods \u2014 44 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"06628e397fb5c0398bf912355bbbd1d474a2bb739ac9d5426ecba3c8781c9385"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Configure: TooManyMethods \u2014 43 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/config/Configure.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"397ecc8e652d7390dcddd57fc48fed2a21e41b8b19fe55d94f0ea626b9ca4ad8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchRequestModel: TooManyMethods \u2014 43 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":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/WatchRequestModel.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d2e653e507bd1ca8d6970b04d996fdd87e200fae266462f6429519cf0bd4ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: klass100/ClassLoaderCommand.java: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ClassLoaderCommand (62-1067). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2311967f11e714b4d2ea726a37301dec5b3e8c5697f7e31cd6ebba6a3eb3c9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: klass100/ClassLoaderMetaspaceCommand.java: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ClassLoaderMetaspaceCommand (56-920). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"763c930d68fff6cc8ee9ecdbd435154c66bba8c0daf8a3c719d8880d75e09eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: monitor200/ProfilerCommand.java: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ProfilerCommand (73-1107). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/ProfilerCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e42ea6cd70b1c3d83834949cad1513ecf6a3863e058a308f53feccc0cc9d03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassLoaderCommand: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd6108de4445d1b66fcc2ec129fac6bb3c7a24d5f9a7a000b8f50b199e5e82f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LineCommand: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommand.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b78f1e16766cd8601839088c957301500ece0988cf7f267c8b4be8feec62a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/ArthasBootstrap.java: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ArthasBootstrap (104-1018). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/server/ArthasBootstrap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b92223de2fd349184bdc0b9aa5acee043db9fee861c4f64f2f325b8483d6d93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassDetailVO: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/model/ClassDetailVO.java"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4954411a7dfe386ff63c58cd39c049c3554317e39604c215ef1072ab7c725ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: boot/Bootstrap.java: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: Bootstrap (64-893). 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":"boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d3a4a95b984eb04bec43bfefba3bcf638db8e3ba6453287ffd9baeb98885a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultTaskManager: 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"157e3c2672924bd3a91da83377a6160b5573f6d8ae05ab5ca988bcad784d9ce2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchCommand: 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":"core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchCommand.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3e3aa5c4a75c1aafb3e1ce31f7cac0569fae602416c6417d3997c5b9dd0242"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnsiLog: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/AnsiLog.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"109971b7a76bfbfe7f50f4b33093e70d5e45347797bc3f39210828d88da029fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandProcessImpl: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/system/impl/ProcessImpl.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"748311a1dc408a45beecd2d9dbad1ca4a0e7aa1f75da0ab5770d50bba951c528"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpNettyServer: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e14f0f6f0831bfc40cd61f43520a77fa8f653e3dfb271781b04b00f12aa3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpNettyServerExchange: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServerExchange.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd6818f11bffc7ebb18a325a4aca016e399a5c9c2107a0bb77f9c6f2281de59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StreamableServerNettySpecification: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpServer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77ddaf8bf68364cc1ad2d7f5552fffae51d59c480100c282521913d48414847"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessImpl: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/system/impl/ProcessImpl.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f160e9c1bde9f644bc1dfaacd2264a3a59af90340665e10bea5e331c57d53504"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/StringUtils.java: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: StringUtils (38-998). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/StringUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf72e9451c0693abdc987f641ca82f5615a9f573a8db06c1fca58a83d5fe10bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java:68-86 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/EtcdNativeAgentRegistry.java:67-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 \u0060labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java:68\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":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cad6dde89581f95f9fe0d98c984252571af8dda4840364b80993e9fc30a1946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:108-124 | core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java:229-245 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb48516a9d45a768d4c504892ff01379cef7cad2814cfa61a63ab5c5023fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:239-255 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:148-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d0f57c4007d1483730c8d068bd5bc34ffd54e9be5d8bd59983a79b9d9b1df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:298-312 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:333-347 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:368-382 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:403-417 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:438-452 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:473-487 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:508-522 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ObjectView.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"31769580584c133288f68f17e27fc7ce4a3d5da73296d2b50f09bd0d2d4aa1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:370-384 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:519-533 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:370\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3b7cdbaeafabfe9a9e04fa41f16268a7f285ef9818e385921977fad5e5b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:152-166 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:100-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb499df931e61496fccf7177742b321e0c9df00a3c44e8b912486c440744cd5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:354-368 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:245-259 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:354\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ed519a1892e13b6a3f1d3ddcb1cb4918afd7edb2d76da8436689d531eb38ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:691-705 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:447-461 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cca6dd88e839deca390fc4576b28d53c81d01dc3f0fd8b0cf9131dad0c9cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:733-747 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:479-493 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:733\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36139311a0d06cda739d28d786900f039e395ec6d1ab01f4d0043120ad249df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:444-458 | common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:488-503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:444\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/com/taobao/arthas/common/ReflectUtils.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f65e59f51bda07eb6b81f614803fb658e3d671816e68d7710e64bc20069cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java:36-50 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/ZookeeperNativeAgentRegistry.java:32-46 \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 \u0060labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java:36\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":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"670632791babb8f14630ea9a4a9e8dbafe3b591e6127062a267c3bc8da170da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:279-292 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:314-327 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:349-362 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:384-397 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:419-432 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:454-467 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:489-502 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:524-537 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:558-571 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:279\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ObjectView.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca9e236f06ba1641296ffdb1a538c005c8654ecbfb41678deac627889eb3db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java:88-101 | core/src/main/java/com/taobao/arthas/core/command/monitor200/MBeanCommand.java:170-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"115449b69b96e12512ff30727ca9e7496054eb58a99536a04c727c4d3f352396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java:77-90 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java:78-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce63e9ebd128f162eb935d9c44125c1e566493236d2acffa4293e6c3af007a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/impl/ShellServerImpl.java:163-176 | core/src/main/java/com/taobao/arthas/core/shell/session/impl/SessionManagerImpl.java:122-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 \u0060core/src/main/java/com/taobao/arthas/core/shell/impl/ShellServerImpl.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/impl/ShellServerImpl.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"65412d42f046bfb12fdfb1de7b08a2bd5119d72d5a527345d9a0f51cbefa73ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/ZookeeperNativeAgentProxyDiscovery.java:24-37 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/discovery/impl/ZookeeperNativeAgentDiscovery.java:27-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/ZookeeperNativeAgentProxyDiscovery.java:24\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":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/discovery/impl/ZookeeperNativeAgentProxyDiscovery.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"980c4a2e6f27f15a2cb93a0c106f5ff1165e5a39277dcab55ae0b83c11ba8d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:222-235 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:298-310 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:333-345 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:368-380 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:403-415 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:438-450 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:473-485 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:508-520 | core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:543-555 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/view/ObjectView.java:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ObjectView.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"210409c752fe3b8a261f9dd0d668aef55ba740ea9c6daf839eddc609d9f25d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:445-457 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:469-481 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:493-505 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:541-553 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:565-577 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:589-601 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:613-625 | core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:637-649 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java:445\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ObjectUtils.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6589fd6604b54178bc4f21d058e2bc497df70805743b74c74ea84fbf40eb2999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): arthas-agent-attach/src/main/java/com/taobao/arthas/agent/attach/AttachArthasClassloader.java:29-41 | agent/src/main/java/com/taobao/arthas/agent/ArthasClassloader.java:27-39 \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 \u0060arthas-agent-attach/src/main/java/com/taobao/arthas/agent/attach/AttachArthasClassloader.java:29\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":"arthas-agent-attach/src/main/java/com/taobao/arthas/agent/attach/AttachArthasClassloader.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a744c18a590019f9b8da6a9d2f2650995e745da7a69147ae8aff48bfada4f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:175-187 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:115-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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:175\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b4639027be47dfae3f8c59d9c685daefb70837fd32123f0b7b41465a62dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:524-536 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:289-301 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfb1a29d009bc673e713c6450f4ae9c939fa58e07c2ea94f80e6ffd07ec0b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java:128-139 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:208-219 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:535-546 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java:128\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7772f5ac3e39bab587f6755b33167a7e8c3f7f93e1c9240aecea09f71d2752b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java:242-253 | core/src/main/java/com/taobao/arthas/core/command/klass100/SearchMethodCommand.java:182-193 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c080eb8f1f50188dd1be24d095b3799c6697ebe4b4cf8f5ca78cb2a87edf8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:135-146 | core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java:261-272 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31509bc82e00498d3921153b7b2ed6009c9bace8e6a6687ab9ddc52f6e61546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:298-309 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:195-206 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b283437d41e7e4c21bc3a7398538dfaf442f66e9872f1e46343c12f5d6321e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:39-50 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:39-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b11ff80fa78c1ae07f0d4cc70964e0846ca51f19561b2a3249b849aab8c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/util/McpToolUtils.java:24-35 | core/src/main/java/com/taobao/arthas/core/mcp/tool/util/McpToolUtils.java:75-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/util/McpToolUtils.java:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/util/McpToolUtils.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e392a88d7e610588cc325b7611903731d31a8a0c11142184f2ca930a4cb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:222-233 | core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:322-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e76c572ccbecd87afb7bda9c22834e2474e8cde4eb8aa27c71078dfac3ad0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:426-437 | boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:557-568 \u2014 both copies are in the same file, so extract the block 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 \u0060boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:426\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"28407fa30d6a294f08d33a02360d5f67d1e7ca877592760e11c9d4af2fe582ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java:112-122 | core/src/main/java/com/taobao/arthas/core/command/klass100/GetStaticCommand.java:114-125 | core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java:139-150 | core/src/main/java/com/taobao/arthas/core/command/klass100/SearchMethodCommand.java:118-129 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c3b9a6c621ce05f99f061b9662a0ce9a3ff7333bd2b83d59cc8ed1a858d4b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:86-96 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:177-187 \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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea314f9a3f56164f80d895509c5fa9540aeea25a19c9348b2348d0731dd8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java:90-100 | core/src/main/java/com/taobao/arthas/core/command/monitor200/VmToolCommand.java:236-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b057546bc4de9e33d1ba393ea9ef5a494d6065deff9d921d0c4a81dd5ba813e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:197-207 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:119-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"617041bb29dc47efd3fb6838b410520473603f1ba3dc063a2625ca700a8efb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:568-578 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:332-342 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:568\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"406ff863afe55dae7cfc802972456854f77bab93bfd9652a68bf030e63c59d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:64-74 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:64-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe8379c51d4f19e08ccb3c17195f53c85a340191a4f17aef1cafdab038bcd3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:88-98 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:88-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3512477b579143f40d000e6c0d7ac2a2eddb5bcfc2a0bfd0709e7f8d0c36f939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpRequestHandler.java:25-35 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpRequestHandler.java:28-38 \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 \u0060labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpRequestHandler.java:25\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":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpRequestHandler.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa776d89362edca15dba900ca6b068ac39ffcc52e9d45f140324c89b0b455dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:256-265 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:291-300 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:187-196 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:216-225 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"545f4761a9008de9f9b78a266ae0b0bcf492091cf5463f3446521d6171fb785a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:423-432 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:455-464 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:279-288 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:307-316 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:423\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc26a2e02989a62b8566bc4d11c4ec918037d85b24aa9bfaf1da5ab525c317de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:526-535 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:561-570 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:369-378 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:399-408 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:526\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff354ad699c9cc7b126505152efd9c309e32a8d27e522cc787ab31a68d0b7b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java:73-82 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/factory/NativeAgentDiscoveryFactory.java:73-82 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/factory/NativeAgentProxyRegistryFactory.java:73-82 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/factory/NativeAgentRegistryFactory.java:70-79 \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 \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java:73\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":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe609d495273557b11f1d32820dd3992579fc8d5a8b01fe3cdce006628788a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:108-117 | core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:133-142 | core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:160-169 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"059d55101cfc27b73a0ef4537ed25b05969b65cd13e7f82e5fd92d30968293be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java:83-92 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/HttpTermServer.java:79-88 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/TelnetTermServer.java:70-79 \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 \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6be8df84d2924d5add03be4292b84baf95acc1aa51df76e0dd0411e3d68587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:109-118 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:134-143 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:161-170 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"004072d04c1e436f7f4d0afae63520d40b4d6d04e7eab66c711d0a24df417558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:222-231 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:391-400 \u2014 both copies are in the same file, so extract the block 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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"279e40dde7b96fad9c5e828904e83ebebb9805a105a6ff3f4dc98a4f47abd769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:347-356 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:578-587 \u2014 both copies are in the same file, so extract the block 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d478dec750151b18695c4b84276f6eca45576f9afbc446944aee565d1a1580a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java:36-45 | core/src/main/java/com/taobao/arthas/core/mcp/util/McpAuthExtractor.java:41-50 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java:36\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"929bf4362052013c79c125055a3cd0db802f0d56099c61637c302a41387bb19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java:57-66 | core/src/main/java/com/taobao/arthas/core/mcp/util/McpAuthExtractor.java:65-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/util/McpAuthExtractor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5afc91f830da2c19b8f3d9a0eaa8c8de000e5efbfa36b522d7b6f2ca08c32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java:196-205 | core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java:263-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/AdviceListenerManager.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f9b3e033c138770b6e9bd0fd65028ac83bcbc4d002e734b3c160717e187e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:134-143 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:134-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eda196a564fe1a3057a46cae2e27cc5128a3e356e53f66dcf76d2ee7f568c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:161-170 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:161-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/SpyImpl.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3ba2cea5cfb6f1ff3249cd446e02de7b26e505303d2adf83cc0a117e8623d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/command/internal/RedirectHandler.java:27-36 | core/src/main/java/com/taobao/arthas/core/shell/command/internal/TeeHandler.java:25-34 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/command/internal/RedirectHandler.java:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/command/internal/RedirectHandler.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5341e5e22be7a7499640bd19cb1c87a0bb61df49dfcf216d6a1edf855063c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:327-336 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:414-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:327\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"488dbca6d6ed55a9f379336a41018fd01508b1ecf05087caae043c2fc373be1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/NettyWebsocketTtyBootstrap.java:98-107 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/NettyHttpTelnetBootstrap.java:72-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/NettyWebsocketTtyBootstrap.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/NettyWebsocketTtyBootstrap.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b0c524f08211a7f386c366ceb81f15f57397ebceb0a7c451d2e77ba1aa336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:144-153 | boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:194-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:144\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":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc34cbf9546fe90b70423c1d057db7be0a8f5a1a989c885c83e50cc5b9c9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:470-479 | boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:530-539 \u2014 both copies are in the same file, so extract the block 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 \u0060boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java:470\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":"boot/src/main/java/com/taobao/arthas/boot/ProcessUtils.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a35599c26ef04e83bfb20abc076c60411fb705c20fad4fe7f894262681ddb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): labs/arthas-grpc-server/src/main/java/com/taobao/arthas/grpc/server/handler/executor/BiStreamExecutor.java:33-42 | labs/arthas-grpc-server/src/main/java/com/taobao/arthas/grpc/server/handler/executor/ClientStreamExecutor.java:33-42 \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 \u0060labs/arthas-grpc-server/src/main/java/com/taobao/arthas/grpc/server/handler/executor/BiStreamExecutor.java:33\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":"labs/arthas-grpc-server/src/main/java/com/taobao/arthas/grpc/server/handler/executor/BiStreamExecutor.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe373604737580661864f223f221443b31a88762131880ae70d43310b750695e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java:98-107 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/NativeAgentProxyBootstrap.java:141-151 \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 \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cfd5337c84b8889819579b33147637078f5b74a5f4fc011b5239cdd981462f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/ForwardClientSocketClientHandler.java:87-96 | tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClientSocketClientHandler.java:96-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/ForwardClientSocketClientHandler.java:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/forward/ForwardClientSocketClientHandler.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9524e093279deb1d9b5d13625c8c44a304ac12167aedce704f0af5e4f321b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClient.java:66-76 | tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/TunnelClient.java:102-111 \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":"tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClient.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbfae6badb2f907184b91f00a5b580444d536d855e8cf7cf99c1fcbad6fc2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java:69-77 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:86-94 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:177-185 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b6c57675cf7d2c85288f5d6b328ffbe39250226aab6a8c988bc551e18026f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:281-289 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:324-332 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:626-634 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd685f055ab7d94743eccd1e7a360dde80279cbf9da3f8b554917a79fd0824f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/MonitorTool.java:74-82 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/StackTool.java:60-68 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/TraceTool.java:61-69 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/MonitorTool.java:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/MonitorTool.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1407c4563599595efd7de10f927ad8fa1be3e7c00791c505ecf3312e0cec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java:81-89 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/NativeAgentProxyBootstrap.java:123-131 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/NativeAgentBootstrap.java:170-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java:81\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":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/NativeAgentManagementWebBootstrap.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"31887dacbb4198a99d3dafc4df3121b276cc7254c7803a049562ecaa1ba1885c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:154-162 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:178-186 \u2014 both copies are in the same file, so extract the block 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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:154\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e197d454831f988bfbd42d05d344c2ca62864ce5e8010b141f208a7b4559e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:229-237 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:160-168 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:229\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"89475c4b93c17649caa18525e10bb21ffdf9dfea651daf255aaef762f3d3253b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpServerFeatures.java:56-64 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessServerFeatures.java:42-51 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpServerFeatures.java:56\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpServerFeatures.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f24cf3eadd7e37c35c9c5b55c7e96c5dabf8f98aabae693486000b5ed44b0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:232-240 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:256-264 \u2014 both copies are in the same file, so extract the block 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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:232\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"919bde61b013611628849bc874d23334407fd46ab52874e37acd4f08fb325863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java:76-84 | core/src/main/java/com/taobao/arthas/core/command/monitor200/VmToolCommand.java:218-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab10ba1254a25544450bd3a45c86dfc498a05d62408ce1abe86997c4a419885b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java:210-219 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/EnhancerRequestModel.java:76-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java:210\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":"core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"07423131a8222a970ae28d762509df875797ad2d034e97f77b6f4244178bc3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/OgnlView.java:16-24 | core/src/main/java/com/taobao/arthas/core/command/view/VmToolView.java:17-25 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/OgnlView.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6406545f7953faff7de9d122456ade17aa1142d85d5d48e4b01e39e5f9d5d3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:605-613 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:369-377 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:605\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa5476828ac3ad4bd7566f9d8add18422152c33600f4b01bd20b7c69a994bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java:55-63 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchMethodTool.java:46-54 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec54c479ad63f34a995c5038c045bbed77dea17e2e862598b7ef558a55889a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java:377-386 | core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java:396-404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/cli/CompletionUtils.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"af072b52218614cd9b2e27598395fc765200ef352a104db1a527629cfac34f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/handlers/shell/ShellLineHandler.java:112-120 | core/src/main/java/com/taobao/arthas/core/shell/handlers/shell/ShellLineHandler.java:135-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/handlers/shell/ShellLineHandler.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":"core/src/main/java/com/taobao/arthas/core/shell/handlers/shell/ShellLineHandler.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d78c91200910f98da63aee989776d73bceae46e31813f1b567760fd03beb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/DirectoryBrowser.java:102-110 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/DirectoryBrowser.java:120-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/DirectoryBrowser.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"817176068282d8db74dec6aeb19d5511ca1b3b9c34299bb58de76828bdad1fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:203-211 | core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:302-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dfeff714c06be5908da67301fb28cd43a52b6b39a66affb9b0b7d8e39b2bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:247-255 | core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:346-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba03f100c8a81180c9f3cc35e0f99d21d0877d0945133d0e347e2d16b66e454b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:134-142 | core/src/main/java/com/taobao/arthas/core/view/MethodInfoView.java:52-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d848a33f102db2928fb4fd6d0c2299a0c93f3f5ac83bd4e1342f173c3fdcec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java:95-103 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java:162-170 \u2014 both copies are in the same file, so extract the block 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 \u0060labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java:95\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":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/ObjectService.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f675b1ea2d0f8301729594a9e2df9d64b2c97aca9346c02d5dc339000f9966e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpNativeAgentHandler.java:82-90 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpNativeAgentHandler.java:129-138 \u2014 both copies are in the same file, so extract the block 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":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpNativeAgentHandler.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de251f2bb35ba1ac23732dab1623807ee0cf9308c13e79f5c3c539892e1fe61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:233-240 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:322-329 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:415-422 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:233\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f5f11984f31b3829741a711ed94dd6d1bc83e39855f65a4e370f44cd2ab26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:308-315 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:347-354 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:578-585 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b62e8fccf1a16b8cc9e4d06963678164bd43473ad01247380e94ef77a5aba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:79-86 | core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:93-100 | core/src/main/java/com/taobao/arthas/core/command/logger/LogbackHelper.java:96-104 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d97d28aece031c269e981302c87f3033e215ef615c9bfea45a6b1e73b6817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java:83-90 | core/src/main/java/com/taobao/arthas/core/command/monitor200/StackAdviceListener.java:65-72 | core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:104-111 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855c69d8670950f4bbab2fb43085c68e5c1cb899276a8e1310ad5d61a4667d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java:55-62 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/HttpTermServer.java:51-58 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/TelnetTermServer.java:47-54 \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 \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/HttpTelnetTermServer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe6fe25ecbab867e241160f14f7bd35488d9c77727dd3148f84d0bce6ae324d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:36-43 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:61-68 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:85-92 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java:36\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":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/SpyImpl.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c78c8a2fd529acd8d777e8c49d90a397321d956e634646cdadb1facc65f1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java:147-154 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:554-561 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java:147\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpHttpRequestHandler.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0b26cbb333a99ee9a0060225b6f2f2629bd40aa5f2896e6217e58c82ba675b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:222-229 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:550-557 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551a3218e4fdd1d4e475c636e39349b84e472d9dcf744d239f513d544deb5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:410-417 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:427-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:410\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"862aef9faf7b5ab5aa67beef75dcfab48154189fa1d25e04102d7885b4002f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:137-144 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:81-88 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:137\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a2bd581fdcb0918bd0ab200003892e34c82619c754fa0e551076c23600771f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:331-338 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:347-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef68c3db8c89c0330daf264606dde86800bf5a941e1c9d9947aad781caffca00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java:388-395 | core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java:401-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"519eb0f8ea203a37465403b5f79ad4daa29551b162f21bea51149bd19d00ffc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:143-150 | core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:200-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"252bb47575047e76e5dba81e8b6842d7ae911947d85378f86061b0fd37efdda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:225-232 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:138-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"63acd900552a05290200b766a9e53a9302a815a1cc67fa82c2c4b2a69d3995cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java:64-71 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchMethodTool.java:53-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"18557a3b6c04357a75b328de3320e28d489a3f1fa86bdf4e29c4c7eb5eb809da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/MonitorTool.java:62-69 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/TraceTool.java:49-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/MonitorTool.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a33fbc27630301534da4f30d958cd5fd1a5c75aab1ebfef78dcd0bff55ea707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:160-167 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/ExtHttpTtyConnection.java:75-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2756364419d53b95e1048b9f0fbe2e5bce67d8d9858d7d525097837134032904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java:121-128 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java:147-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/AdviceListenerManager.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fc8cf29be886687c12c7f7dee97c6b9d31695bb14dfd7cdd03f3a660d2a128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/commons/net/DefaultSocketFactory.java:144-151 | client/src/main/java/org/apache/commons/net/DefaultSocketFactory.java:170-177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/commons/net/DefaultSocketFactory.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e93b5606b1c911655860dccc619598396e2e9cbf1b2fafd1c3aea861b89db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/JadTool.java:38-44 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/MemoryCompilerTool.java:32-38 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/RedefineTool.java:25-31 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/RetransformTool.java:25-31 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/JadTool.java:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/JadTool.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bcad4a366146460e3297f9a3ac79fddd703e1ed5245fb2cbb59aab15af3bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java:42-48 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/factory/NativeAgentDiscoveryFactory.java:42-48 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/factory/NativeAgentProxyRegistryFactory.java:42-48 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/factory/NativeAgentRegistryFactory.java:41-47 \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 \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java:42\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":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/factory/NativeAgentProxyDiscoveryFactory.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9af2a06258164f4bcf117e152bb33d6d143d17b9f9528ed85f1d43c63790a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpRequestHandler.java:56-62 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpRequestHandler.java:35-41 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/server/http/HttpRequestHandler.java:38-44 \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 \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpRequestHandler.java:56\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":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpRequestHandler.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd32d5478f455dffaa921db5d4bfd8a765c03ce2da557b987955869255f2e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:142-148 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:216-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java:142\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStatelessHttpRequestHandler.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e247180273062ea1d243dae4fc93eb83abe35b4781653db847a39e7000118c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:253-259 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:447-453 \u2014 both copies are in the same file, so extract the block 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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java:253\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/handler/McpStreamableHttpRequestHandler.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c854bda217acdf2141c49495fbc10604edd150292552f0726e71fcdee7a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:312-318 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:476-482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:312\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a329504258093745af1160be1d3b6c6aada96c5f8e85b86452433c455477d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java:100-106 | core/src/main/java/com/taobao/arthas/core/command/klass100/JadCommand.java:126-133 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/DumpClassCommand.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34c1499c8dd7309c8089b75210dd9119139c7baf71d89cd536961c725a82fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java:254-260 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/model/EnhancerRequestModel.java:111-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3398c0b399df9bcb29335ed1429b475d3981f2e07c3b94ce2ff6c3bec66285b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java:59-65 | core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:80-87 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8ed4c496cc59f299a85e95b9710f18edef580dc07891d7b9962afb2bd0239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/StackAdviceListener.java:55-61 | core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:77-84 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/StackAdviceListener.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/StackAdviceListener.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d8c4fba5c7d8cd1b26ba2227c87271617f63a11fd177378b0b0a5cefe233fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java:389-395 | core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java:434-440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java:389\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1ab99d3172c65ef05f0db258d03590a3f9df3cdf0b791941cf6a5b3a12fc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java:310-316 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java:235-242 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/CommandExecutorImpl.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"32348e00478dd969992af9160dc3c7014f7178e4310fdcee7cbd66ca0f4a5cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:548-554 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:313-319 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:548\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80be18af12d346685e7b1bdf05607d2361217b74f0f331de6d3174dc228c275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/ProfilerTool.java:174-180 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/ProfilerTool.java:209-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/ProfilerTool.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fba3b844b82d78300b9f46363a7c074df89582be8f7190ef4c26d97d40a6cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java:55-61 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/ZookeeperNativeAgentRegistry.java:51-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java:55\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":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/ZookeeperNativeAgentProxyRegistry.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd9ca63eb3b64fe1158792134b3c671b041931978cb6baea78d2c919a55d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClient.java:90-96 | tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/TunnelClient.java:125-132 \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 \u0060tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClient.java:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ForwardClient.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf386cc214fa1c6fddb36a3ac95aed2fb449db7e41efdf38d8a1b90aa27001c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/OgnlTool.java:32-37 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/VMToolTool.java:52-57 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/MemoryCompilerTool.java:37-42 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchClassTool.java:64-70 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/SearchMethodTool.java:53-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/OgnlTool.java:32\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":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/OgnlTool.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b282f24731eb578ef81e47f54fd8ccc18e80f2195d77b68537cf774a055cece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/basic1000/OptionsTool.java:37-42 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/SysPropTool.java:25-30 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/VMOptionTool.java:25-30 \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 \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/basic1000/OptionsTool.java:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/basic1000/OptionsTool.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"42704c7c3e9181eba008170a3f70ca69f34e8d0f4d2d165d4950984b93d91ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:95-100 | core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:131-136 | core/src/main/java/com/taobao/arthas/core/view/MethodInfoView.java:49-54 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85ea3e369f1aed5c7a7097bec4a632354c73a5cb4c71c8ca7d3c69ac13b707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentHandler.java:31-36 | labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentProxyHandler.java:28-33 | labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/server/handler/http/HttpNativeAgentHandler.java:34-39 \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 \u0060labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentHandler.java:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/cluster-management/native-agent-management-web/src/main/java/com/alibaba/arthas/nat/agent/management/web/server/http/HttpNativeAgentHandler.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb93903e116732453dcc4f1ca394ccd0579c8ddd6ce0e3f2ca8503f3a272860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:393-398 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:576-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/DefaultTaskManager.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7d76fc3b3c5d4431577c9a0fe0406bf3a538f7d8915bb61b61694c68bf4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java:214-219 | core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java:83-88 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderCommand.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b879a0894739cd02e6dac43917839771a0e3714c307a74be02f71c799e64e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/GetStaticCommand.java:105-110 | core/src/main/java/com/taobao/arthas/core/command/klass100/MemoryCompilerCommand.java:89-94 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/GetStaticCommand.java:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/GetStaticCommand.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f47cb81506abbbf380fad43789d95e1f263241ed114f0d5e870a5f5cab5723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:125-130 | core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java:249-255 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/klass100/RedefineCommand.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7afd34f40a799a4670b7079c9ac7987e890013caa971d2974f486de86d4a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/logger/Log4j2Helper.java:171-176 | core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:140-145 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/logger/Log4j2Helper.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4j2Helper.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aa108a68079e8694f29922825fff59f0611288bed9b02b4a2b04d9a93ae1ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:108-113 | core/src/main/java/com/taobao/arthas/core/command/logger/LogbackHelper.java:113-118 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d55e6a3f6cf0c4c6806fdee6a2b4e44c26bf09037c64cb1099e32c8a123b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:115-120 | core/src/main/java/com/taobao/arthas/core/command/logger/LogbackHelper.java:120-125 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a2f3e8a6bd81e70e2fe33560b1cdd4d639b2f52843dea1d59e88edf33d0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java:154-159 | core/src/main/java/com/taobao/arthas/core/command/logger/LogbackHelper.java:150-155 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/logger/Log4jHelper.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7003d79646170c0661bb90d01d7c86c93287b09002858c13e72724e7f10a3b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:96-101 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/WatchRpcAdviceListener.java:114-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9f3ebe1f40051394c42fb95c30a7479c7644689482b52d77143f7a1d214792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/LineView.java:17-22 | core/src/main/java/com/taobao/arthas/core/command/view/WatchView.java:19-24 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/LineView.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5f6b5451d982577bef47fca33d74b3923db79873ea153a388ef6e201e62bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/TraceView.java:101-106 | core/src/main/java/com/taobao/arthas/core/util/ThreadUtil.java:445-450 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/TraceView.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a7ad87514cef33f06f3e72ac20aa84e52ef4e4456d65dac203b80ea81ec056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:753-758 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:499-504 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eeadb6ca00f70d84af842f48850318d7e88379cbe0112079235f206bdefaae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/GetStaticTool.java:33-38 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/OgnlTool.java:29-34 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/GetStaticTool.java:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/jvm300/GetStaticTool.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c12e42d99e8ce5c16b4aa58292cb1115a0ad88ec074623662b201ecafa178d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/DumpClassTool.java:45-50 | core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/JadTool.java:43-48 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/DumpClassTool.java:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/mcp/tool/function/klass100/DumpClassTool.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a4997f3196d62f170e62acf873c2f8020b3aeb69672b22f9de781c67336834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/mcp/ArthasMcpServer.java:219-224 | core/src/main/java/com/taobao/arthas/core/mcp/ArthasMcpServer.java:290-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/mcp/ArthasMcpServer.java:219\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":"core/src/main/java/com/taobao/arthas/core/mcp/ArthasMcpServer.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb1cea489087f76f3a2e51f3ff3facc0a2ce61c1326ed0e58b5afc5eb866c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/BasicHttpAuthenticatorHandler.java:206-211 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/BasicHttpAuthenticatorHandler.java:284-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/BasicHttpAuthenticatorHandler.java:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/BasicHttpAuthenticatorHandler.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"41708d944eeefc3a23313dead2549388b5357aa51efcfb408aa404f56a692194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:459-464 | common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:504-509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/com/taobao/arthas/common/ReflectUtils.java:459\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":"common/src/main/java/com/taobao/arthas/common/ReflectUtils.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceceb18ca57e0484219eb8e778c2f3cd1700c91bfd60fd2f554c85a1980773f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java:89-94 | labs/cluster-management/native-agent/src/main/java/com/alibaba/arthas/nat/agent/registry/impl/EtcdNativeAgentRegistry.java:88-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/cluster-management/native-agent-proxy/src/main/java/com/alibaba/arthas/nat/agent/proxy/registry/impl/EtcdNativeAgentProxyRegistry.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1c7ff7943d0075b4a4927783814bf1988dfeed59d71d2ea0c7ca6f96bc92c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:268-272 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpStatelessNettyServer.java:199-203 \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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java:268\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/protocol/server/McpNettyServer.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a226a9e11c2dcc83fbc94fc6be1ccff9a94964f2b94bf4c77cf7d5d477c9a8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java:94-98 | arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java:109-113 \u2014 both copies are in the same file, so extract the block 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 \u0060arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java:94\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":"arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/util/JsonSchemaGenerator.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b823ad8328d19e739f5b3db9d8452b186da495d1897f3221ed6de23ef73700b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java:172-176 | core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java:207-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bf59d47cedd6a5a2e79d495dc56ecc50f399fbe74e58f2c814c6e8beae32d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java:69-73 | core/src/main/java/com/taobao/arthas/core/command/monitor200/WatchAdviceListener.java:90-94 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/LineCommandAdviceListener.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"004797e7f3ed0e74c98c8976af73ec1ab3263c388c216506ec0c640525ee1403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/DumpClassView.java:43-47 | core/src/main/java/com/taobao/arthas/core/util/ClassUtils.java:235-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/view/DumpClassView.java:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/DumpClassView.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2932bc86fe4d60819609e5ddc021f74dd06efe2e4bc077b89aad76bef81979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/OptionsView.java:35-39 | core/src/main/java/com/taobao/arthas/core/command/view/VMOptionView.java:32-36 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/view/OptionsView.java:35\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":"core/src/main/java/com/taobao/arthas/core/command/view/OptionsView.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba84f9c70da8f0b01b7db77b6a357b9f39d686beb57062a3d952d8a99de3e53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/command/view/ResultViewResolver.java:128-132 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/view/GrpcResultViewResolver.java:125-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/command/view/ResultViewResolver.java:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/view/ResultViewResolver.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e24453ff81f627fc801edd0c60a04f96314f2df9ccdcf0eec94026a574733e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java:647-651 | labs/arthas-grpc-web-proxy/src/main/java/com/taobao/arthas/grpcweb/grpc/service/advisor/Enhancer.java:415-419 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"92846a74169a2dfae4e2414225fe26d36689d139ca7476f8b1979727d523991f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/TtyServerInitializer.java:41-45 | core/src/main/java/com/taobao/arthas/core/shell/term/impl/httptelnet/ProtocolDetectHandler.java:92-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/TtyServerInitializer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"622d211486ba3d27215ed8970667547970ce1d60ec7945a3cbe6b58c10b33079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java:181-185 | boot/src/main/java/com/taobao/arthas/boot/DownloadUtils.java:144-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ec96876bb5c4fff68084ab094d3a5c140b17fbe218bf0aebeefdd085a63eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:46-50 | core/src/main/java/com/taobao/arthas/core/view/MethodInfoView.java:27-31 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java:46\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":"core/src/main/java/com/taobao/arthas/core/view/ClassInfoView.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e51031587618a291b8a57d675f2ae6c86a4aa8b098983312a488c6b2e2088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/service/impl/JFRAnalyzerImpl.java:143-147 | labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/service/impl/JFRAnalyzerImpl.java:191-195 \u2014 both copies are in the same file, so extract the block 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":"labs/arthas-jfr-backend/src/main/java/org/example/jfranalyzerbackend/service/impl/JFRAnalyzerImpl.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0667bd4cb084e3b796af0d8e5a4a83680da19bc243ce0a2174e3862565dbab42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java: boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java changed 8 times in last 90 days, max complexity 60. 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":"boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5d0f6791ed825065f68b77ebdd733f782e36f7153d813568d2c6ea66aef488"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: core/src/main/java/com/taobao/arthas/core/command/klass100/ClassLoaderMetaspaceCommand.java, core/src/main/java/com/taobao/arthas/core/advisor/Enhancer.java, boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java, core/src/main/java/com/taobao/arthas/core/command/monitor200/TimeTunnelCommand.java, core/src/main/java/com/taobao/arthas/core/mcp/tool/function/basic1000/ViewFileTool.java, core/src/main/java/com/taobao/arthas/core/command/monitor200/EnhancerCommand.java, core/src/main/java/com/taobao/arthas/core/mcp/tool/function/monitor200/ProfilerTool.java, core/src/main/java/one/profiler/AsyncProfiler.java (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5bdb91cc783a3e7ebc189367b439c84206d6d053130a8777d03b22a6c53454c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/InMemoryTaskStore.java, arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/tool/ToolCallbackCreateTaskHandler.java, arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/task/TaskDefaults.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6cda44b8141432a5f29effa5ef2561071285704a1c80e585cd71d61d0a242f60"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 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 (34 single-owned of 330 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"214dd4b08075c209cba64a466d22495cdbfa1e29456f625fb0768a198bb04394"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f45b6173f00233abfbd9f566f004823472275c0a0b246a6931f78518b28c548"},"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":"dc86dd74523eab247dff2aeb2e9e297aecca9183b40094612a8dced92b408a6a"},"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":"ff745c61d2d59cb9c43cce185438e2e666eceb3faf3000c8cd07610f32acd973"},"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":"cbe06816623be1d45db7d1843455f0ce1ff971fdb410b34c01e93961abab5b25"},"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":"ed700da5b44769ebd1ef87b69e3e78914df737c4f0e54720bae532bb1b891303"},"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":"c441314113ff4202024d2c8f7509757632b46215967235f7438f6c930dbe014c"},"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":"cb81c7f0d144ad0fc4f5b3fc3edad1cabd3e7aa02ae707b4c3f7455976b84133"},"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":"2ce227aa53ec0b1c74a1c734bb0b56f56c730f553cb1e278bb0db8f7a4767ead"},"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":"7db115f3c1c8184b6f69cf2d967eacb84e9dfff2b71015e213d778ca9dd564c2"},"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":"4ddd4266df220fd316eac289cdbb99a31c5f099e48fbcb2dc78132ff3aae3574"},"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":"9269838b5fc966c34e3a7de4af76960cd060c7a1b87e3610e0c45f757963d6d6"},"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":"a3e416585a31389c7a8dcf56c608ca7fa284915c86b9c5948cda6d1d7ceae75d"},"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":"8d4ed9fe9e309029ff4ead897efd735e79f68b2474129f73c0fdcfed3406d905"},"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":"02772c152a2a067f1b1c5c40e3cbcaa8e5f0dd4790058e8b5e20763358e2bcf1"},"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":"8c044e30dbc1ff0ef5b71aaeb6659ae44a63437f712de95cf8ee1ead49fe7cc8"},"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":"b2f63be9d35e3db93fbea82641a29704cf824545a1db77d356b95cb31c22a694"},"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":"4a590ca08c01dc32b6dd6c19894d120940cd3b914a717985a8d7a57965c97f73"},"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":"50e465bcbb566be940bb60b3f4db8100fe8be5d71ff93b8301ddf73c7966b693"},"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":"8539e2512ce35f6de4e1038188e001e44e2703cd67349cec34528e6a502bb7f3"},"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":"e73d73fdf3594c621f7be1688221d305d3c98f30b71d669412b77e1c2541fdd9"},"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":"37306e95412b932aa20fe3e4428620d107b21e4452623ac8307f3c6258dbbd2b"},"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":"b85ec446608fbb1d5c3aff9f2e6142cf028276c345c34eb39f7d02d76a3fc592"},"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":"6ceb523b6a575ef5f2a469beca4a0ead7d1f184a9eec1e9e14121d42e5d6d885"},"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":"d2b07aad1919e91e905f441483a38ebba0272eb94021524efecf195978380791"},"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":"2a6b81ff5d3dbbeb5d181000c9977fae50191a802624cfd046420b9e5c9bbbdf"},"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":"7172f6f79fd8389dd330221a52fc614ea0082779d14971da19c47ecda0e76207"},"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":"5c5542ec8b43b8d9755045607d889633e7b3b5a08e825c9785a7e50736beaf10"},"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":"027056d288fc8d43df5c7d52a9e26662bbe938825c88f8531edd0e5ea63a3c59"},"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":"b6183e29131cdd03d8c5ece631a23b4f7931953ad51b0e1899a1496f8667f888"},"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":"74b32924bd94811f351918b12f9578e983246be149265f8386eae14fc0264cfb"},"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":"e6a38c0a7127a4d7b66e1111c5a6c76eeeeacc16cabbadf1d6cbbfbbc3529883"},"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":"9ed714d642c50d390b1747698f2fc62e2e6216630e4a6ba63a9040d63b7f767e"},"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":"7dc5db3fb556c21c639c6723ffba8ee9586d32a6587bfd3de87d7f4797dad2e6"},"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":"db572b4b6ebfa4863e9cd49eaf64fa9b025e53e7a748e781dbb52f26b598e054"},"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":"48de7ef42589b8e791c9bbfb8ef9c45e2c46c403d0c718acee2bab1c2000f011"},"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":"eb0a7a97ba16a809a94c29ae7f33cd752468bb6440dd2e177d5ae0778d8ff84c"},"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":"f2d16f2ae890b6fb9e80197821f30d1780089945ea9bd45449bd6ab7cd93ae80"},"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":"7e801b66f4e2838a468bc7cfe7b1d62528ddb3104046e8433455c9becd6ff3de"},"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":"25a482154fdacdf950cd893cfcc7b62638aa5b0550fda0633c4dbe14b9730f1b"},"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":"c980fde9414780b7b580d13e370975da4f2958c57d7dbeb1e1561efc7b143796"},"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":"af757d5643dcbea5e2a5c67d4f070cfd765d5a6562c2bbc14605372067b865ae"},"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":"e7e0f979e47fd696c5eae0e5d5092d51c33daae7ed1821aa9ce626136536a405"},"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":"fdae476f2fd92282376c34f044e7bf2a9c30bcc39d6aa1522fe746946ad1b404"},"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":"ea5c8bc4661b10c3bc81029ad23fcfe8e573a7688d9deccb843b41144c012172"},"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":"19df2f042de82e27438c0bcc025aff5c3cc61b799788e1af31a0b9a8683a9ed0"},"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":"df6c84a7d0ecd745effc83eb1fc703571ebf0a1ad5d93d849340473cbed0b72b"},"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":"93c16e4b1091c6a1d9983e6bd0b18a98e728fc896680b5b9dd010c334a7d8df5"},"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":"b7d9c92033618a15bb5dbc4fd574cc3357747b82944eaf99f0a0a0cc72b536f7"},"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":"e204398d1e8af83decc6c4cee0cad8c0195f20d23de0f3ce67acc372aa781e6b"},"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":"3d1000dee2a5fb78651490b233170fd44d69280220f209be8dccb50788e41713"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b67787f58bbdcde79a43cc08af597219f8bc8ccd5a82b8588a8f7af6b62ec402"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa068817913a3c67ee092b4dfc01ad0d99bb13afca23d886894f0961f96341c4"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c5eb956c53085498a8e239bce5db300d51e77724c623326a834e6ddcc9ceb2c"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85ad78f5dc6364e7b9612aecabb5305b211f4dfe763550d69eb396a9d272a6e2"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b04d657ad5217783268070eb49dd0976fab549693a190df75fedd587c6b1a464"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56356230dbcbcf3c2be0dca369195528632a674dbc0e8cd078cb895705cf3d70"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a050a906df2996df8fb12dc093cc4139db378ce2960cbe87236a3b5156b024a"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87d0bb7cd49899dc069431c1a5d389a6bffd898d2a785fdf08c79999336ba757"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"869b2ddd78447af5dba50851c971efc2963a7f5aa5974322e7197e188bb845ee"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb5092fcf2bf6e0a4a8e4a09980eca60bc31df1d90d36981bbc22eae72dc971f"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"941bc5c002a5630073384093cd1730c3bfa8c380d8a1c6f778793e3faf314860"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d56bae1b39862815a2a213232df9a4a159f07511410221cb0cf354a3db59fad2"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13199f823a5d947f9beadbb06cbcd1613b937a1cbc22efce1d7473e0668d6bd5"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d005a90ba5dcd1fbfd88222315d9781cc8b7377b48e4aae10dc2efd549eb2366"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b3525ef2d14b5640d3f1ff01b789384839d887c52eeff7df15c578bd8fb9c09"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad354a0507717894c079f93ea3d56ebe47c55b4ce92c51789c054db6cc28ef9"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1898673f176504793fb4868629762b7cac91d0f70bd4d2e77a1b373358fec31e"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dbaf707340cf3e3461709f920d77823b803994e6a882a5772743204a4aa9dcf"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"678ac8c5a5963f3c960989bc6dd602ae1dd463c930b53a3eac612c9ba63fdfd6"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"578ce8cf23a60bce115f10c9a9d420b5a3adcbb0f843c6070e58d81468e62a20"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5631a16f2b619e0cd2b70ffe0b9bb7f283ccc88c197706651db027a98f37eb3"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2758998f4c06f4ef87d159c8590d7a7eb7d9597cdd20886f60ab10e14d5ab37b"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"994dd7d4323fc9b9e4ce53e29d9b9962be3029ed2f72771a27a1d66039ee5132"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dad4cfc9fb6bf9a252bad7fc115a33f66a9f60362e2186abc91e4f0147393647"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4a91cda180923f86395ee2c27fdab5f39a833a1e34c31de66da135b4f110960"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b03ff3b72d4d084bcbd4815ba77d4d4796aefe28c5b824619820f7a9bab95c4a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"labs/arthas-jfr-frontend/src/pages/Analysis/Analysis.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd0169adaff55043f3054595e5fb77399ee400c8707d6a28457b9a053694894"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/shell/term/impl/http/api/HttpApiHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b5d5d9972bff5cc4f7aaf9ba46ee160f66d3d32c980e467faaa3e57ad8ef7"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/taobao/arthas/core/command/monitor200/MBeanCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac4d2ee568235d7bd6def1f9ee2079a487085dbfc724ff2f573e76cd8f727ad"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 66 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than listed individually (69 orphaned of 387 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: en.js \u2194 zh.js: \u0060site/docs/.vuepress/configs/sidebar/en.js\u0060 and \u0060site/docs/.vuepress/configs/sidebar/zh.js\u0060 change together 92% of the time (12 of the 13 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":"site/docs/.vuepress/configs/sidebar/en.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a8d29270a4f8158c96461eae87a7f7aa12469b43912b66d2b4495f2ec41852"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: zh.js \u2194 zh.js: \u0060site/docs/.vuepress/configs/navbar/zh.js\u0060 and \u0060site/docs/.vuepress/configs/sidebar/zh.js\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/docs/.vuepress/configs/navbar/zh.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab165fd2ab3399b6efcafddf6383c3f6b11397d30003bf1b115aab5e14900df"}},{"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"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8018c322668e07ab8535df5cd417a18a92e434d12a4dc8b1da3a2761a35a0c92"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6f60212a965a99741c0b790a43c944be7a3a090acc7e6a1970cbee6697f163b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b54e39a3d2c220d7b0ffd8eddcf039dddb95e2ec333327c31421d5668c18a183"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d8a989429805dfba146d5106016700cd692b6b93d2847aeab16601006679bc2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8d6f3586d4d9faaf7b71e9b2a5e8549d3f4c075bfa54d163509d79409e37ebf"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5260b22274b0e69e2a7beb5eb748d53f6f4ff1fc0c8fc7ef6f2154f0b4b4a57b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40a5beccb0f0f2e50e69db47fc42592414ecdd67bab65d17f8dba734f73b35be"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66f31917df4cbe0564ebc13b0db5c5845c0f0eb8516324abd98b12ae98d044e8"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8f56f8cfea6a7a98147b478cd4da2933783b2ec6b4aeaa80eeb6deb790d72f1"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07d0b73e677427ccede4861737a7129d4baf7fc4bec633b830f0622f20b5f5d5"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80ea1addfeab9dbaf090d498ff2e8852c80620b07f4fa353388d4524d6daea0b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"738cfa79d249656602fb97a36d78fa73bcd2428884be9b13708c33d094fe8cf7"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2f157565096df76534d06299efe39fdb7f1ada448b74d2125adc16af69c19ff"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9af0af298d4d6b91b0d275fc3d4dd6e877c191e716bfa2dd51b0ae278158b7de"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abffa408c313035d54a1b0148e239cf635a81509f9ba82b306c5c9322a7bc93c"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"868a0e8587494a652c47b2dc62ebb4baf1ee9eb82c62b17609d26a8d497f5040"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"616521372c1e4511914e9dd4dfc5ac5d661c5958e5780c51b898be812a518ffb"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b609a56ae5856b40553fa9cd28a5a408ac3f19397d9bb9530faa4e52e08cc2e"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"297bd962958d03976df802743a69b2e490f5a9162a08427d7a68e3750364b30e"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24f8a0a2162dfded7c7326ce4e3208d64bb8eee152fe80a2d59a0c8207120f8c"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"300eb2ae047f61911e2017a2ca6c5ce311579277e041562a5faf7a4bc2db669b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca78a11b0bcb302df4cd12ca8cbc4b4ddbd08da1755f6021953a46809555c539"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a1f0ee0ee2c0842f8ac433bfbbdab7619fdb50f335166a8bbad85921a6f1e19"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd3a2d3ef8bfdcf79d0ecd6c6cbf5cd44b02b69f112a0409ee2f7b31e8dce85d"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e764a1389140573524a4327db1ff63e0855b9d7baf1f319db5903877ec5cfce6"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdd0f23cbc654825fe38f34c824c29c5b8d379d9f28e5fceeb59f249ebb86875"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca3c1e7745ee1b9c00e89a5a2760e2555c7e3984a818492d068019414c7e582d"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63c877b337f6f261182a0afce333807575f8e6f486d43b33cd10dec052802ca9"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f84d3c444e098367b68608e7e0ad77b268ef4353bb1ee5803234c59f8eae17f2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73b41d595b42620c61499f9da91f5d30b7114b4aebaad4d59ec0c8f1c8fe783e"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d236c0d2099c4131ecddfbd71e07b44f09897b141652b13c20523f407f4ec796"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e5b8b246877a5a116c36ec62ccc4c2e62f6e6cc97291229ee9acbbaf767f2af"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4129b76226ac299ba23bc77eac03651d364dcb380082054b50eace058a176b7"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86f0def13c18026fd153831b73231a4ea6a50d6fdc438052e4d7e31f0f04f1a5"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86db0e389ec99573d57ec4c71a13e64f4141dbdcf2a79191557138e0e7592220"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f014893ff1313c5d15e8252b0485c1f734e2df939b09dae76b19b76f74f163aa"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c2d357312cedba3a2c14c55584d05d3626ed54c44332b8960af7f67bade62c2"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfc34a92df70db6f84831376762ecb0e621e0351b418609cddfd503da082bfa6"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e388bb46107d0faa8776487c9fe2e33eba2edcebf3f28a6a22009977deabcaac"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c45c0f0f305ecbb869ef2c6486880654e00b1cc87c660def7cfccce8f10fb228"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8286f0d6ae5ad4bcd6d97561ce9207fa767a2450350dc80352e2741a69d94209"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a12c8f357613858b3319b40eb53c86d1c9ee6e143e1bf4fbe70d96f25d5c782"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fba5c249fa9e2af64e0174ea5875e3c8ae0dc35bf818531971b14a4b650cac4"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c976d934aeb8aa7d73d73d74d3b87e2ff749b8a1ec8e1bc781b4373cd49064a9"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6ee01831932c1e506d1e2e7c02372829501b856a8a60fc2f9d5273077af79f7"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7d792b1b6464fba8a26b51997fcae9543015f2487e2e8864047f01c28ecb0bc"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d60fff5f390bbbf2a87d5d08937f17d4ce3aa7b138571c215c1b6d045d6565bd"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9589e27cc70aa7907513deac64f6c2dc377de5544a67ce8c563b65901d7124b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d544be3683d76a53d8defdb96abdf5d0ff417ae24121fb0152e9df36e99cf5f7"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a8a41ce9e9eb5022861624f7af786a1438a225c075e8dc083b4bca9e96899c7"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":133,"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."]}]}