{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.set_user_cart_coord (cyclomatic 84): CDsrRobot.set_user_cart_coord has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_user_cart_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10085}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5217a680203b273f536a75809575c8312cf05da74e87b50782ac64b018481e"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.set_user_cart_coord (cyclomatic 84): DSR_ROBOT2.set_user_cart_coord has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CDsrRobot.set_user_cart_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3be03728c709dbac2d1c4d2b3fb3bac6d4c6d52a9d7c5b76d825ca4e339e1b"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.align_axis (cyclomatic 68): CDsrRobot.align_axis has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DSR_ROBOT2.align_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0cf3a4c9faa231f6d1b91efc6d941d834290f9598a22291330fc1edc4216ca"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.align_axis (cyclomatic 68): DSR_ROBOT2.align_axis has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CDsrRobot.align_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5ea85ba8c676b5b4a6f1e659211c3f3598b9a616ea900f9b7f0b7ff0e2dcb5"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.parallel_axis (cyclomatic 62): CDsrRobot.parallel_axis has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DSR_ROBOT2.parallel_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9319}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d0863867d45bcad4589d06c40e182092d70dd139701173e9c3be60af161ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.parallel_axis (cyclomatic 62): DSR_ROBOT2.parallel_axis has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CDsrRobot.parallel_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51356019bc84affea91def5f35bfad014f0812e4ec7b1c9a302a8b429224eed"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.check_orientation_condition (cyclomatic 57): CDsrRobot.check_orientation_condition has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DSR_ROBOT2.check_orientation_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9976b1a4426d12ed3b3fafa59f71b75bf5145b7e349d80abb2fb4e49361ae8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.check_orientation_condition (cyclomatic 57): DSR_ROBOT2.check_orientation_condition has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CDsrRobot.check_orientation_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b3ca965d2ccca28aa51592a28f011b8eb50cf7159e958347d85b12039ded51"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movec (cyclomatic 54): DSR_ROBOT2._movec has cyclomatic complexity 54 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12fac573e9decfe4d81aaae1da1490738e1a7f61e6aa351cbd27f3c23fa51e1"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movec (cyclomatic 53): CDsrRobot._movec has cyclomatic complexity 53 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8134}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fabca7e40247a7392a94ff996f95dafba8ab05e9d0863fc81bc7be6514402b"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.calc_coord (cyclomatic 45): CDsrRobot.calc_coord has cyclomatic complexity 45 (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. This shape REPEATS in the file: one other method here (DSR_ROBOT2.calc_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9928}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32efe62a013559b887106ac25ccd92582952746d245d797dbdbbf79a6951193"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movejx (cyclomatic 45): DSR_ROBOT2._movejx has cyclomatic complexity 45 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28bbe9b38163d8baad588aeb7885333e8790e7988c0e766d1a778b5708c561"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movel (cyclomatic 45): DSR_ROBOT2._movel has cyclomatic complexity 45 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab142c0f05a43d57d40e4c7e3fa02d043e525e409166a3c112f3bd2b22f7395"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.calc_coord (cyclomatic 45): DSR_ROBOT2.calc_coord has cyclomatic complexity 45 (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. This shape REPEATS in the file: one other method here (CDsrRobot.calc_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e51995b76412b88d462fc79cb2e409467a93122255237e1e504f8ad6e67a99a"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movejx (cyclomatic 44): CDsrRobot._movejx has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8c9161e31deb956c7a1917d89ee764c554494df98308b3e01486309907709"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movel (cyclomatic 44): CDsrRobot._movel has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4dfb05cd31897902a00638163ea299ec8c4acbbd345509bb5eb91229d07131"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._moveb (cyclomatic 42): CDsrRobot._moveb 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. This shape REPEATS in the file: one other method here (DSR_ROBOT2._moveb) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8587}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a0c180499ed7be3499b3d402105072222d502c6a269bbe13e7a2a7822a8cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._moveb (cyclomatic 42): DSR_ROBOT2._moveb 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. This shape REPEATS in the file: one other method here (CDsrRobot._moveb) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0bac507eba4efe8c4669fa4e72c4bbdc22ca184f60749dec1249368a4e6329"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._move_spiral (cyclomatic 42): DSR_ROBOT2._move_spiral 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e76db11081bce49242caecdca086ab0e97981a7f6fb041ff83d814c88478b"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movesx (cyclomatic 41): CDsrRobot._movesx has cyclomatic complexity 41 (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. This shape REPEATS in the file: one other method here (DSR_ROBOT2._movesx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb1d88b65f9c8b5aa4bfe3459c47d83c5d3a836d0c76bdf23b52fac93f1cb9c"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._move_spiral (cyclomatic 41): CDsrRobot._move_spiral has cyclomatic complexity 41 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8741}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9425ed8abc73777eadd82b9e1b8442204eace941b0aec464b97bec8a7cc3ce"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movesx (cyclomatic 41): DSR_ROBOT2._movesx has cyclomatic complexity 41 (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. This shape REPEATS in the file: one other method here (CDsrRobot._movesx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2e7f770c6b305af4080b9e3b6a30e5bad7fe2b0407c05cbe2853f31be6b966"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movej (cyclomatic 38): DSR_ROBOT2._movej has cyclomatic complexity 38 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a6ed0123daec87242b38f94e00aa60ad540ce1c019abef97adf538d641d1d1"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movej (cyclomatic 37): CDsrRobot._movej has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014ad704e9b776e204175b53bea20890edc6cea59533a500f34d6562965eb0e"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._movesj (cyclomatic 34): CDsrRobot._movesj has cyclomatic complexity 34 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8323}}}],"partialFingerprints":{"codehealthFindingId/v1":"623261fe10b13a001abb1ee8495c0fcb89bc515db0e9f071117a463b6efdef85"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._movesj (cyclomatic 32): DSR_ROBOT2._movesj has cyclomatic complexity 32 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e727c7670287ed95f5f4b8f95e30bb6853f1d337c66e3c9267ecdd12b275e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.check_position_condition (cyclomatic 29): CDsrRobot.check_position_condition has cyclomatic complexity 29 (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. This shape REPEATS in the file: one other method here (DSR_ROBOT2.check_position_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10565}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a67223db8a5e75bf4f5b9759d9bef6c1e85c1e1a0cfdd44fc8233dc10ec45f"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.check_position_condition (cyclomatic 29): DSR_ROBOT2.check_position_condition has cyclomatic complexity 29 (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. This shape REPEATS in the file: one other method here (CDsrRobot.check_position_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2430f6af4909e5033c215a35c39acc0c59ebf5d271cffb20ac7095dce0f144a"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.check_force_condition (cyclomatic 27): CDsrRobot.check_force_condition 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6b67cae6b0a2ce17bc1ce58fefc2d508bd41220b0a90fc6da0adb439ca007"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.servoj (cyclomatic 27): DSR_ROBOT2.servoj 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8215f162895f4a190a16eb9b5e455a59d69cfebd2d1b593788d369dc774c77"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.add_modbus_signal (cyclomatic 26): CDsrRobot.add_modbus_signal has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (DSR_ROBOT2.add_modbus_signal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afb4514e8bb9066bda52a651e25daa49e303c12209d0f785f8536327f5649bf"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2._move_periodic (cyclomatic 26): DSR_ROBOT2._move_periodic 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a584f1511893c75fd2b19f9246afa36371fe6acb46b364bf9e60b7dbf2aab115"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.add_modbus_signal (cyclomatic 26): DSR_ROBOT2.add_modbus_signal has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (CDsrRobot.add_modbus_signal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa93428168bf7275da2af8bbe0f90f137671f25104d473ff5f0ec427a657c246"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot._move_periodic (cyclomatic 25): CDsrRobot._move_periodic 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63064fbdbd29d27e47f8dd0145cf23bf8aa12cbd7bae805176edae361967520"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.set_analog_output (cyclomatic 24): CDsrRobot.set_analog_output 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. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11089}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c858eecb8d0e228851444e471b6237699aa65d3104fcb371d688a1dda5f40d6"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.set_analog_output (cyclomatic 24): DSR_ROBOT2.set_analog_output 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. This shape REPEATS in the file: one other method here (CDsrRobot.set_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ff97b6f481c39b9e52a4c91e17e1ca53183876a9fd12e23f584b613e0633a7"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.servoj_rt (cyclomatic 23): DSR_ROBOT2.servoj_rt has cyclomatic complexity 23 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36108918149c54d38abacf578ec34c2552f56df4ac384291a95b93d92798145"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.check_force_condition (cyclomatic 23): DSR_ROBOT2.check_force_condition has cyclomatic complexity 23 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2957504b182406ccea0a02cb9a11300877a82c176ca50c838066910489b763"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.servol (cyclomatic 20): DSR_ROBOT2.servol has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eabdfc12630d006b548e74c6a779d2a9561a768212a533b450d2dad3e34a1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"DR_tcp_client2.client_socket_read (cyclomatic 18): DR_tcp_client2.client_socket_read 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":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dee2299d7bcf7e89b1a030cea2aef53fcb9cc9b3cd982262ea4c7bddbc06438"}},{"ruleId":"D1","level":"warning","message":{"text":"DR_tcp_server2.server_socket_read (cyclomatic 18): DR_tcp_server2.server_socket_read 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":"dsr_common2/imp/DR_tcp_server2.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ffd2e4ac149eb1bd3dda3cd46bfe4f57407ceedcfaf27ac219b5906fe48f3"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.speedl (cyclomatic 18): DSR_ROBOT2.speedl has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"201aa9c6f3416155702dacb8e26a812efb7b422a7be3580f362c83120ce3a06b"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.enable_alter_motion (cyclomatic 17): CDsrRobot.enable_alter_motion has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (DSR_ROBOT2.enable_alter_motion) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9061}}}],"partialFingerprints":{"codehealthFindingId/v1":"53735b35d8d6f5900c1ebb9248a0ca0653dd3d06aa8ccf36225ed30b5a29bd90"}},{"ruleId":"D1","level":"warning","message":{"text":"CDsrRobot.set_desired_force (cyclomatic 17): CDsrRobot.set_desired_force has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_desired_force) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4af9403fb2c4a27dc8a4b3f7e3b972c60bdc9cc80af382f7f484cc0778b23e"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.enable_alter_motion (cyclomatic 17): DSR_ROBOT2.enable_alter_motion has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (CDsrRobot.enable_alter_motion) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d5e5cbf7b2f4b5e2ea93d6bbe512e522e8a1e1ad73b8064324bb9ab907a45"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.set_desired_force (cyclomatic 17): DSR_ROBOT2.set_desired_force has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (CDsrRobot.set_desired_force) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b265b577ddb582a722f0031fc265e2a4d22f8b7119bfbf2333c00f92252dc9f"}},{"ruleId":"D1","level":"warning","message":{"text":"DSR_ROBOT2.servol_rt (cyclomatic 16): DSR_ROBOT2.servol_rt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 45 of the 47 methods over the threshold \u2014 including the worst \u2014 and 1063 of the 1069 points over it (99%), 354.3\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bad73c55b8b3284ea25288532270808bf8d622be4d36c049582169cd911f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_user_cart_coord (cognitive 144): CDsrRobot.set_user_cart_coord has cognitive complexity 144 (threshold 15). Drivers by points: if/else 61 (115 pts), error handling 5 (15 pts), boolean chains 13, loops 1 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_user_cart_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10085}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c71cb5d1b6ce5a03feb205e7c7e70cbcfbaa6574e3f4cf96753db207bca13e"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_user_cart_coord (cognitive 144): DSR_ROBOT2.set_user_cart_coord has cognitive complexity 144 (threshold 15). Drivers by points: if/else 61 (115 pts), error handling 5 (15 pts), boolean chains 13, loops 1 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CDsrRobot.set_user_cart_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"001a715309d70882b4961f5b77a850b0a77ae920b81da8130a507d150c09b437"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.align_axis (cognitive 130): CDsrRobot.align_axis has cognitive complexity 130 (threshold 15). Drivers by points: if/else 46 (91 pts), ternaries 4 (17 pts), error handling 4 (13 pts), boolean chains 8, loops 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (DSR_ROBOT2.align_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d1091d6e7e24c7fb570372d24a485d99bfffa992ceae848f232b156fa3f83"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.align_axis (cognitive 130): DSR_ROBOT2.align_axis has cognitive complexity 130 (threshold 15). Drivers by points: if/else 46 (91 pts), ternaries 4 (17 pts), error handling 4 (13 pts), boolean chains 8, loops 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CDsrRobot.align_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f71525c52e2a5e31559b33c98ae43f1b23be0b4efc96e4aecc3cc2566145691"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.parallel_axis (cognitive 125): CDsrRobot.parallel_axis has cognitive complexity 125 (threshold 15). Drivers by points: if/else 44 (86 pts), ternaries 4 (17 pts), error handling 4 (13 pts), boolean chains 8, loops 1 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (DSR_ROBOT2.parallel_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9319}}}],"partialFingerprints":{"codehealthFindingId/v1":"077bb429e96f351210e89a0e620d3a10d00ca38d313b07d18a5ac110dd3705c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.parallel_axis (cognitive 125): DSR_ROBOT2.parallel_axis has cognitive complexity 125 (threshold 15). Drivers by points: if/else 44 (86 pts), ternaries 4 (17 pts), error handling 4 (13 pts), boolean chains 8, loops 1 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CDsrRobot.parallel_axis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6624bdc86a7ac80b90a5e0d6976d9396ab128861b5f1f3960ecad8de5f1177"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.check_orientation_condition (cognitive 97): CDsrRobot.check_orientation_condition has cognitive complexity 97 (threshold 15). Drivers by points: if/else 43 (74 pts), boolean chains 11, ternaries 2 (7 pts), error handling 2 (5 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DSR_ROBOT2.check_orientation_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10725}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed62b3e503e19e0676ed658b0005c20caec7bd6389725920a7effcb5850a3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.check_orientation_condition (cognitive 97): DSR_ROBOT2.check_orientation_condition has cognitive complexity 97 (threshold 15). Drivers by points: if/else 43 (74 pts), boolean chains 11, ternaries 2 (7 pts), error handling 2 (5 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CDsrRobot.check_orientation_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9632dab228dfb5018476229e362e5db9f782bb24b2b9faeef95eb2d44cad7376"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movec (cognitive 64): DSR_ROBOT2._movec has cognitive complexity 64 (threshold 15). Drivers by points: if/else 36 (41 pts), boolean chains 13, loops 4 (5 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5af1c50c9497b96600cd097a75da32905956fe81e8d856e52adf457f0b9054e"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movec (cognitive 62): CDsrRobot._movec has cognitive complexity 62 (threshold 15). Drivers by points: if/else 36 (41 pts), boolean chains 13, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfdf18e3af75b617afb9e97fcaf5e646aa2c3b41e936a3c2d3d04b3de1214f6"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._moveb (cognitive 60): CDsrRobot._moveb has cognitive complexity 60 (threshold 15). Drivers by points: if/else 28 (36 pts), loops 6 (11 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DSR_ROBOT2._moveb) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8587}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d421c892ddfe43bdeced30fee6618b141faa6a375560a3b370501b0554f25f"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._moveb (cognitive 60): DSR_ROBOT2._moveb has cognitive complexity 60 (threshold 15). Drivers by points: if/else 28 (36 pts), loops 6 (11 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CDsrRobot._moveb) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a00722b8b70147b4805ed113cb5c3ec27aaf76102a804fe62b0247005f57d9"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movel (cognitive 55): DSR_ROBOT2._movel has cognitive complexity 55 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 11, loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a51f22585195c4299328bc7ee1e44362fe6f7c7b3e300d182d667506e61d9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movejx (cognitive 54): DSR_ROBOT2._movejx has cognitive complexity 54 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 10, loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ecf71f6070a13b45fe203efc90fa958e0271425a55e7d8fa837d553114944e"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movel (cognitive 53): CDsrRobot._movel has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 11, ternaries 1 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7975}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd764d805af253c77fb7fdfccb61cdafa6686de17af02412d7d68ecb897dfc5"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movejx (cognitive 52): CDsrRobot._movejx has cognitive complexity 52 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 10, ternaries 1 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7824}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ff7b67a7590b972118db4bc67020e7e9d2f600f75a0995c9b814a383cd8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movesx (cognitive 48): CDsrRobot._movesx has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 10, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2._movesx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a923a542408fd0586c70f0d8fff6a6310d7ffa72e531ec7f953887203ec77f6"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movesx (cognitive 48): DSR_ROBOT2._movesx has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 10, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot._movesx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"79455a078d7c686a15a838efb66a0acdac07b5b45ccd484a46c9a82e47647d22"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._move_spiral (cognitive 48): DSR_ROBOT2._move_spiral has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (28 pts), boolean chains 11, loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6ad23a7999cb7bcfb24a3347e417d9a38a907b31409b067f9263dbdb079b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._move_spiral (cognitive 46): CDsrRobot._move_spiral has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (28 pts), boolean chains 11, ternaries 1 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8741}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cedb10c403a7bba1c53affc751a96fd1cbb072a38ef89c5fde5f7b37778543"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movej (cognitive 46): DSR_ROBOT2._movej has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 8, loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2eff5a240340832afa749d6fe54997b2b9c6befe6a80cbf8f10c7788260f55"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movej (cognitive 44): CDsrRobot._movej has cognitive complexity 44 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9724f48da8a5c6a76f866fe644f9d4d27859d0f3bd9d72d1fc3ab4b09255f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._move_periodic (cognitive 43): DSR_ROBOT2._move_periodic has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd22a3adb85032e8b81ab9d9e9a8470a821289434d6238a4b7eff6304d288b77"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._movesj (cognitive 42): CDsrRobot._movesj has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 6, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a46f7cf42d5d5b8ea6dc5fd94ab1f2a4b784e0caa9c04dd2a221bb37bcfd19f"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot._move_periodic (cognitive 41): CDsrRobot._move_periodic has cognitive complexity 41 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":8870}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9cc3cc51e55d21da4ff97b567b5e2f0ff50b09eae176943ce000725972ce45"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.calc_coord (cognitive 40): CDsrRobot.calc_coord has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 15, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.calc_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9928}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaba51112b5c6e176645b2adfafe659f83a4ab753bbd4593d55a9433cf97f65"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.calc_coord (cognitive 40): DSR_ROBOT2.calc_coord has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 15, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.calc_coord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be40427e5bb2b4f6f1594449b2989313685f2a5cf4af4a374366eb4a16b1d51"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_analog_output (cognitive 38): CDsrRobot.set_analog_output has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11089}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61db72aa1888cccc915d4d4d8d2ed0f819d11516ac9fd544eb1e7179d445977"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2._movesj (cognitive 38): DSR_ROBOT2._movesj has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 6, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080d3e669c3363efbc4125eeb1e055fcadaa9f707e29cb2fb3ed046cc1a1582"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_analog_output (cognitive 38): DSR_ROBOT2.set_analog_output has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CDsrRobot.set_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bfd969a23688a732d9a558886593dfe750c335d88087d25dbb642141760bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.check_position_condition (cognitive 37): CDsrRobot.check_position_condition has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.check_position_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10565}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab410bf0f063e2644f6e03036a2176fa4a51da984aaee85c76ae433b140742c1"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.check_position_condition (cognitive 37): DSR_ROBOT2.check_position_condition has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.check_position_condition) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8429fe0e32be7a957d628155b48eb6393d26aaf38a5844dfe1bdd68d6220932e"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.check_force_condition (cognitive 35): CDsrRobot.check_force_condition has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10651}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0e35505f807b6800620a92c345f9dc01f9f625f2600d10a7b851f501dab74"}},{"ruleId":"D2","level":"warning","message":{"text":"DR_tcp_client2.client_socket_read (cognitive 34): DR_tcp_client2.client_socket_read has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), error handling 2 (4 pts), boolean chains 3, 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":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a81bdf26743d12c56961c876258487a3eb4b71c47caf7a7da9eb96e5a9fbd9"}},{"ruleId":"D2","level":"warning","message":{"text":"DR_tcp_server2.server_socket_read (cognitive 34): DR_tcp_server2.server_socket_read has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), error handling 2 (4 pts), boolean chains 3, 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":"dsr_common2/imp/DR_tcp_server2.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6017270b00fa2e514df9de7417864b612970dddddd29c27b89825465c398e26"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.add_modbus_signal (cognitive 30): CDsrRobot.add_modbus_signal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.add_modbus_signal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2f17758c3d3fc2513ff97457dc4e9d7db603acf0d228c7d7800392aaf7bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.add_modbus_signal (cognitive 30): DSR_ROBOT2.add_modbus_signal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.add_modbus_signal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5975f5cb937cd5a86681c7b2ea4daf8868080015f1bb795ea3281ee9ddd39ced"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.check_force_condition (cognitive 29): DSR_ROBOT2.check_force_condition has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f922436b6210374afe6faa5fe9a9e4b4cbb7c7017099ba2db71b8e0e72efbd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.servoj (cognitive 26): DSR_ROBOT2.servoj has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 7, loops 2 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a963e7702453b5cccf511d79c803ba79c017d341cb55869577e52de0bd20d"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.enable_alter_motion (cognitive 24): CDsrRobot.enable_alter_motion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.enable_alter_motion) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9061}}}],"partialFingerprints":{"codehealthFindingId/v1":"02486b55372ff853222f01552629b9999505408a00f05dca31c9633c7d955591"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.enable_alter_motion (cognitive 24): DSR_ROBOT2.enable_alter_motion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.enable_alter_motion) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e6a609c9de884bb3d3ee5fa5dda94092624523b4d7254ab1b7d151d3fa06b1"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_desired_force (cognitive 22): CDsrRobot.set_desired_force has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_desired_force) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4741a722c9aa21b9a6ebddf9aec2fa18ffddf17bbcce87d1624cd1fad9e958a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.servoj_rt (cognitive 22): DSR_ROBOT2.servoj_rt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, loops 2 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4b501754b5d2a72f0732171dd0f8c096b69ebb614d860302e923f244b5cf90"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_desired_force (cognitive 22): DSR_ROBOT2.set_desired_force has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.set_desired_force) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5340}}}],"partialFingerprints":{"codehealthFindingId/v1":"eead7bfea3d8bbec34f43732c8b27d41fb8515157534a49f4a5c09a4fdf874ad"}},{"ruleId":"D2","level":"warning","message":{"text":"launch.prepare_mjcf_files_for_mujoco (cognitive 22): launch.prepare_mjcf_files_for_mujoco has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/launch/dsr_mujoco.launch.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39244eb1ba20f28a28a4bfc03b7c24c278174cc5132daeb300fdaf4c0ead94"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_digital_output (cognitive 21): CDsrRobot.set_digital_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.set_digital_output, DSR_ROBOT2.set_tool_digital_output, CDsrRobot.set_tool_digital_output) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11018}}}],"partialFingerprints":{"codehealthFindingId/v1":"979926beca57a4ea4c473c989e2e38596088e4774a316c329bf0379c905d44ad"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_tool_digital_output (cognitive 21): CDsrRobot.set_tool_digital_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.set_digital_output, DSR_ROBOT2.set_tool_digital_output, CDsrRobot.set_digital_output) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11218}}}],"partialFingerprints":{"codehealthFindingId/v1":"458528cdbc70d5acd40bb8c577151a605e0f2f357e5423d53850a1557073b7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_digital_output (cognitive 21): DSR_ROBOT2.set_digital_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.set_tool_digital_output, CDsrRobot.set_digital_output, CDsrRobot.set_tool_digital_output) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5885}}}],"partialFingerprints":{"codehealthFindingId/v1":"674591d5871a84dee0bf35b84c9637a37e3031a6adef142903931c22abdd7b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_tool_digital_output (cognitive 21): DSR_ROBOT2.set_tool_digital_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.set_digital_output, CDsrRobot.set_digital_output, CDsrRobot.set_tool_digital_output) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6085}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23b389bcd31c162298b8ad67f804a5dd42ee5c199f9e69dd90ff9b17c41eacd"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.servol (cognitive 19): DSR_ROBOT2.servol has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, loops 2 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b9a2b1c47169be58fed1382c7f1afa6d01a0571622ca64be6d98f47013716b"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.speedl_rt (cognitive 19): DSR_ROBOT2.speedl_rt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f28c6815724b4a1f9344172a7a2573599fd9b60198b29b2ce3ae70ab1a1140"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.write_data_rt (cognitive 19): DSR_ROBOT2.write_data_rt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"567a954b8126dc22957888d6d030e9ae598086dfe31e4b7c2f25ee8d7f1ad031"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.task_compliance_ctrl (cognitive 18): CDsrRobot.task_compliance_ctrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.task_compliance_ctrl, DSR_ROBOT2.set_stiffnessx, CDsrRobot.set_stiffnessx) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0b15e85ef3277871a946db81162b41545f22873c421409c4f7c54372342b29"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_stiffnessx (cognitive 18): CDsrRobot.set_stiffnessx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.task_compliance_ctrl, DSR_ROBOT2.set_stiffnessx, CDsrRobot.task_compliance_ctrl) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9885}}}],"partialFingerprints":{"codehealthFindingId/v1":"473cb722b8264b9427e8374b72f1bcba6dd9a88f8f42ccfde8abbd1f58fe59d3"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.speedl (cognitive 18): DSR_ROBOT2.speedl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c584ed1bd2dd5a6c382ff8e5f989b9d4092a6cc4705d7f3d02daba223b480"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.connect_rt_control (cognitive 18): DSR_ROBOT2.connect_rt_control has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1159ed7f5411c0e177e3ad6c30dceb9f0dc8f78cc365b71bcce7b93d1c36a61"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.task_compliance_ctrl (cognitive 18): DSR_ROBOT2.task_compliance_ctrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.set_stiffnessx, CDsrRobot.task_compliance_ctrl, CDsrRobot.set_stiffnessx) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c0a1541993840d7215a31579199d24d2b58f55592db547e27289febb3c838b"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_stiffnessx (cognitive 18): DSR_ROBOT2.set_stiffnessx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (DSR_ROBOT2.task_compliance_ctrl, CDsrRobot.task_compliance_ctrl, CDsrRobot.set_stiffnessx) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed88ec0f467d58452f1cf36ff70c0e1b6b92e8e4f596dad6b2cba74448eab18"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.set_mode_analog_output (cognitive 17): CDsrRobot.set_mode_analog_output has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (DSR_ROBOT2.set_mode_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":11143}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ba792f87957b2e0431389c74b95f649539b9425b78840ebc9a130be9df91a8"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.set_mode_analog_output (cognitive 17): DSR_ROBOT2.set_mode_analog_output has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CDsrRobot.set_mode_analog_output) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6010}}}],"partialFingerprints":{"codehealthFindingId/v1":"417c848c21062f57fc2105de1ce5a604a8f6dd342c63e5319138d83a92a5d951"}},{"ruleId":"D2","level":"warning","message":{"text":"posj.__init__ (cognitive 16): posj.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_common2.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f2e9076c828866eafd5d5538c05af50caad8095f7d071f23e2162ea7b8f0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.trans (cognitive 16): CDsrRobot.trans has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (DSR_ROBOT2.trans) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7543}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a6c035974c1a0489e22484f17685ce433676c9393c933d1140359c5955713"}},{"ruleId":"D2","level":"warning","message":{"text":"CDsrRobot.is_done_bolt_tightening (cognitive 16): CDsrRobot.is_done_bolt_tightening has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (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. This shape REPEATS in the file: one other method here (DSR_ROBOT2.is_done_bolt_tightening) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9785}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb34d609783d9c32f2131e26202bf92acdc50860687371f8aad6c50ea2bcf3b"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.trans (cognitive 16): DSR_ROBOT2.trans has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (CDsrRobot.trans) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ac0daa196406e2a6a4b6dbc967af095cf0a67e4ae688ad9596f8ec613d36f"}},{"ruleId":"D2","level":"warning","message":{"text":"DSR_ROBOT2.is_done_bolt_tightening (cognitive 16): DSR_ROBOT2.is_done_bolt_tightening has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (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. This shape REPEATS in the file: one other method here (CDsrRobot.is_done_bolt_tightening) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: dsr_common2/imp/DSR_ROBOT2.py holds 61 of the 66 methods over the threshold \u2014 including the worst \u2014 and 1822 of the 1869 points over it (97%), 95.9\u00D7 the next-largest file (dsr_common2/imp/DR_tcp_client2.py at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d50d97c1e9438ba31e43eb4bf637fdc9d28b816a5dcd0a0dff272dafa39efc"}},{"ruleId":"D2","level":"warning","message":{"text":"dsr_build_scene.build_scene (cognitive 16): dsr_build_scene.build_scene has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/dsr_mujoco/dsr_build_scene.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17e2cb863cf5ed77fdd584711de9d1cb202fcdeecadfc15dc4bd44943096e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imp/DSR_ROBOT2.py: FileTooLong \u2014 8764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8264 over it, 17.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca776876de476e7995fbefae94e6699e98588b5ee6cc775de316028dfa49fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CDsrRobot: TooManyMethods \u2014 121 methods. The bar is 30 methods; this is 91 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19a33d1ae241f5a6ad47b24964dde7ec805b9569370c80e3ddcee81070ae940"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: launch/start.launch.py: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f84f385ec2078640d256f07db18e3a1662ba97605664373c3c3863c0005487"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: launch/start.launch.py: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b90c032fedb3fa2199f172cac31f84e6930a0a9d43a663f7ea796bf2031e930"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: launch/start.launch.py: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2f13f825a710d6d40b886faadb964b61182e30a2ee4625fc4ffcdbc9ce34ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (16 members, 34 shared lines): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:38-85 | dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:39-124 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:39-144 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:39-124 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:39-144 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:39-124 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:39-144 \u2014 These 16 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 16 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a504ccaf3d3c1c8b7db8ef118416c603f727fc549ebc97dcca7e9205641de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 87 shared lines): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:88-177 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:88-175 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:88-175 \u2014 These 10 members are variants of one another: a block of 87 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d054349538c36ffb72a91e879a4d201923a6487ac910ac77c124661b85eb996d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 32 shared lines): dsr_common2/imp/DSR_ROBOT2.py:1511-1585 | dsr_common2/imp/DSR_ROBOT2.py:1781-1845 | dsr_common2/imp/DSR_ROBOT2.py:2545-2667 | dsr_common2/imp/DSR_ROBOT2.py:2678-2823 | dsr_common2/imp/DSR_ROBOT2.py:3192-3296 | dsr_common2/imp/DSR_ROBOT2.py:3604-3726 | dsr_common2/imp/DSR_ROBOT2.py:7698-7816 | dsr_common2/imp/DSR_ROBOT2.py:7826-7966 | dsr_common2/imp/DSR_ROBOT2.py:8325-8435 | dsr_common2/imp/DSR_ROBOT2.py:8743-8862 \u2014 These 10 members are variants of one another: a block of 32 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"679cfe3d7a413429316e8b0872ddff16cc279da8a630e95fa6559db5d4a228bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 63 shared lines): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:127-212 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:147-231 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:127-212 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:147-231 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:127-212 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:147-231 \u2014 These 6 members are variants of one another: a block of 63 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"45580334f774f3476b0c1d2cee51f26e246f45442c37fd32d6246e574417f4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 18 shared lines): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:259-303 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:286-329 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:259-303 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:286-329 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:259-303 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:286-329 \u2014 These 6 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"373a721abe6306b6059102816bbff6cf9106c1d4ab58b987c9d069543529716c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 75 shared lines): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:33-308 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:35-335 | dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:37-626 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:23-417 \u2014 These 4 members are variants of one another: a block of 75 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5813cd19b4fd29500ec4de54c122b378772cda629e10f122a252341788a6940"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 280 shared lines): dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:332-779 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:332-779 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:332-779 \u2014 These 3 members are variants of one another: a block of 280 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e44d08fafa94f1cc16bac5d6bbcde8cc2b5336cece922a44a2378d0dd107fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 278 shared lines): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:306-621 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:306-621 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:306-621 \u2014 These 3 members are variants of one another: a block of 278 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e566708f9512605054865c5399db9bb437a4a5fedafd157a01b001ff55423261"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 89 shared lines): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:44-251 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:43-254 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:47-254 \u2014 These 3 members are variants of one another: a block of 89 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7cd89570a72fb357331f7f74ece0caea736dc0d9d972105832307a5a7126e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (172 corresponding lines): dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py:16-198 | dsr_bringup2/launch/dsr_mobile_manipulator_moveit.launch.py:16-187 \u2014 These two members are one piece of code written twice and then edited apart: 172 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a56c2e283a704ca8c2ab3c043bf376deee47ba8019d592186d2ba840ca165e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (115 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:622-647 | dsr_common2/imp/DSR_ROBOT2.py:733-753 | dsr_common2/imp/DSR_ROBOT2.py:775-795 | dsr_common2/imp/DSR_ROBOT2.py:859-881 | dsr_common2/imp/DSR_ROBOT2.py:1464-1494 | dsr_common2/imp/DSR_ROBOT2.py:2026-2054 | dsr_common2/imp/DSR_ROBOT2.py:2545-2667 | dsr_common2/imp/DSR_ROBOT2.py:2678-2823 | dsr_common2/imp/DSR_ROBOT2.py:2833-2987 | dsr_common2/imp/DSR_ROBOT2.py:3001-3181 | dsr_common2/imp/DSR_ROBOT2.py:3192-3296 | dsr_common2/imp/DSR_ROBOT2.py:3308-3440 | dsr_common2/imp/DSR_ROBOT2.py:3451-3593 | dsr_common2/imp/DSR_ROBOT2.py:3604-3726 | dsr_common2/imp/DSR_ROBOT2.py:3735-3827 | dsr_common2/imp/DSR_ROBOT2.py:3832-3853 | dsr_common2/imp/DSR_ROBOT2.py:3859-3881 | dsr_common2/imp/DSR_ROBOT2.py:3903-3925 | dsr_common2/imp/DSR_ROBOT2.py:3929-3983 | dsr_common2/imp/DSR_ROBOT2.py:3988-4009 | dsr_common2/imp/DSR_ROBOT2.py:4013-4028 | dsr_common2/imp/DSR_ROBOT2.py:4031-4053 | dsr_common2/imp/DSR_ROBOT2.py:4083-4110 | dsr_common2/imp/DSR_ROBOT2.py:4113-4139 | dsr_common2/imp/DSR_ROBOT2.py:4168-4183 | dsr_common2/imp/DSR_ROBOT2.py:4186-4401 | dsr_common2/imp/DSR_ROBOT2.py:4404-4649 | dsr_common2/imp/DSR_ROBOT2.py:4653-4685 | dsr_common2/imp/DSR_ROBOT2.py:4689-4705 | dsr_common2/imp/DSR_ROBOT2.py:4709-4748 | dsr_common2/imp/DSR_ROBOT2.py:4753-4792 | dsr_common2/imp/DSR_ROBOT2.py:4811-4949 | dsr_common2/imp/DSR_ROBOT2.py:4952-5266 | dsr_common2/imp/DSR_ROBOT2.py:5271-5313 | dsr_common2/imp/DSR_ROBOT2.py:5342-5395 | dsr_common2/imp/DSR_ROBOT2.py:5399-5427 | dsr_common2/imp/DSR_ROBOT2.py:5433-5513 | dsr_common2/imp/DSR_ROBOT2.py:5519-5588 | dsr_common2/imp/DSR_ROBOT2.py:5592-5765 | dsr_common2/imp/DSR_ROBOT2.py:5886-5927 | dsr_common2/imp/DSR_ROBOT2.py:5957-6008 | dsr_common2/imp/DSR_ROBOT2.py:6011-6049 | dsr_common2/imp/DSR_ROBOT2.py:6052-6082 | dsr_common2/imp/DSR_ROBOT2.py:6086-6127 | dsr_common2/imp/DSR_ROBOT2.py:6161-6239 | dsr_common2/imp/DSR_ROBOT2.py:6243-6264 | dsr_common2/imp/DSR_ROBOT2.py:6268-6296 | dsr_common2/imp/DSR_ROBOT2.py:6326-6351 | dsr_common2/imp/DSR_ROBOT2.py:6375-6400 | dsr_common2/imp/DSR_ROBOT2.py:6425-6445 | dsr_common2/imp/DSR_ROBOT2.py:6448-6470 | dsr_common2/imp/DSR_ROBOT2.py:6473-6494 | dsr_common2/imp/DSR_ROBOT2.py:6497-6521 | dsr_common2/imp/DSR_ROBOT2.py:6524-6545 | dsr_common2/imp/DSR_ROBOT2.py:6550-6571 | dsr_common2/imp/DSR_ROBOT2.py:6575-6595 | dsr_common2/imp/DSR_ROBOT2.py:6599-6614 | dsr_common2/imp/DSR_ROBOT2.py:6618-6633 | dsr_common2/imp/DSR_ROBOT2.py:6827-6850 | dsr_common2/imp/DSR_ROBOT2.py:6936-6956 | dsr_common2/imp/DSR_ROBOT2.py:6978-6998 | dsr_common2/imp/DSR_ROBOT2.py:7062-7084 | dsr_common2/imp/DSR_ROBOT2.py:7658-7688 | dsr_common2/imp/DSR_ROBOT2.py:7698-7816 | dsr_common2/imp/DSR_ROBOT2.py:7826-7966 | dsr_common2/imp/DSR_ROBOT2.py:7977-8126 | dsr_common2/imp/DSR_ROBOT2.py:8138-8314 | dsr_common2/imp/DSR_ROBOT2.py:8325-8435 | dsr_common2/imp/DSR_ROBOT2.py:8447-8579 | dsr_common2/imp/DSR_ROBOT2.py:8590-8732 | dsr_common2/imp/DSR_ROBOT2.py:8743-8862 | dsr_common2/imp/DSR_ROBOT2.py:8871-8960 | dsr_common2/imp/DSR_ROBOT2.py:8965-8986 | dsr_common2/imp/DSR_ROBOT2.py:8993-9015 | dsr_common2/imp/DSR_ROBOT2.py:9037-9059 | dsr_common2/imp/DSR_ROBOT2.py:9063-9117 | dsr_common2/imp/DSR_ROBOT2.py:9122-9143 | dsr_common2/imp/DSR_ROBOT2.py:9147-9162 | dsr_common2/imp/DSR_ROBOT2.py:9165-9187 | dsr_common2/imp/DSR_ROBOT2.py:9217-9244 | dsr_common2/imp/DSR_ROBOT2.py:9247-9274 | dsr_common2/imp/DSR_ROBOT2.py:9302-9317 | dsr_common2/imp/DSR_ROBOT2.py:9320-9535 | dsr_common2/imp/DSR_ROBOT2.py:9538-9783 | dsr_common2/imp/DSR_ROBOT2.py:9787-9819 | dsr_common2/imp/DSR_ROBOT2.py:9823-9839 | dsr_common2/imp/DSR_ROBOT2.py:9843-9882 | dsr_common2/imp/DSR_ROBOT2.py:9887-9926 | dsr_common2/imp/DSR_ROBOT2.py:9945-10083 | dsr_common2/imp/DSR_ROBOT2.py:10086-10400 | dsr_common2/imp/DSR_ROBOT2.py:10405-10447 | dsr_common2/imp/DSR_ROBOT2.py:10476-10529 | dsr_common2/imp/DSR_ROBOT2.py:10533-10561 | dsr_common2/imp/DSR_ROBOT2.py:10567-10647 | dsr_common2/imp/DSR_ROBOT2.py:10653-10722 | dsr_common2/imp/DSR_ROBOT2.py:10726-10899 | dsr_common2/imp/DSR_ROBOT2.py:11019-11060 | dsr_common2/imp/DSR_ROBOT2.py:11090-11141 | dsr_common2/imp/DSR_ROBOT2.py:11144-11182 | dsr_common2/imp/DSR_ROBOT2.py:11185-11215 | dsr_common2/imp/DSR_ROBOT2.py:11219-11260 | dsr_common2/imp/DSR_ROBOT2.py:11294-11372 | dsr_common2/imp/DSR_ROBOT2.py:11376-11397 | dsr_common2/imp/DSR_ROBOT2.py:11401-11430 | dsr_common2/imp/DSR_ROBOT2.py:11459-11484 | dsr_common2/imp/DSR_ROBOT2.py:11508-11533 | dsr_common2/imp/DSR_ROBOT2.py:11558-11578 | dsr_common2/imp/DSR_ROBOT2.py:11581-11603 | dsr_common2/imp/DSR_ROBOT2.py:11606-11627 | dsr_common2/imp/DSR_ROBOT2.py:11630-11654 | dsr_common2/imp/DSR_ROBOT2.py:11657-11678 | dsr_common2/imp/DSR_ROBOT2.py:11683-11704 | dsr_common2/imp/DSR_ROBOT2.py:11708-11728 | dsr_common2/imp/DSR_ROBOT2.py:11732-11747 | dsr_common2/imp/DSR_ROBOT2.py:11751-11766 \u2014 These 115 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 115 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 115 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dcb92425ec17b7b5ce304460cbbf04ffa227000985ecc836df2eb2e50f841a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:971-987 | dsr_common2/imp/DSR_ROBOT2.py:990-1005 | dsr_common2/imp/DSR_ROBOT2.py:1108-1138 | dsr_common2/imp/DSR_ROBOT2.py:1142-1165 | dsr_common2/imp/DSR_ROBOT2.py:1215-1230 | dsr_common2/imp/DSR_ROBOT2.py:1233-1248 | dsr_common2/imp/DSR_ROBOT2.py:4811-4949 | dsr_common2/imp/DSR_ROBOT2.py:5770-5800 | dsr_common2/imp/DSR_ROBOT2.py:7143-7159 | dsr_common2/imp/DSR_ROBOT2.py:7162-7178 | dsr_common2/imp/DSR_ROBOT2.py:7181-7196 | dsr_common2/imp/DSR_ROBOT2.py:7300-7330 | dsr_common2/imp/DSR_ROBOT2.py:7334-7357 | dsr_common2/imp/DSR_ROBOT2.py:7407-7422 | dsr_common2/imp/DSR_ROBOT2.py:7425-7440 | dsr_common2/imp/DSR_ROBOT2.py:7445-7468 | dsr_common2/imp/DSR_ROBOT2.py:9945-10083 | dsr_common2/imp/DSR_ROBOT2.py:10904-10934 \u2014 These 18 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 18 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732d51101f4853025fabfdce9adce511113ecaf60c95bc6f814d2c3bc4de68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:181-196 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:179-194 | dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:216-241 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:235-267 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:216-241 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:235-267 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:216-241 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:235-267 \u2014 These 16 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 16 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06319da446149abe29c738e9c1fcb6ad2d98bb81b1bc9306aae124dca6b61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:5834-5857 | dsr_common2/imp/DSR_ROBOT2.py:5860-5883 | dsr_common2/imp/DSR_ROBOT2.py:5930-5953 | dsr_common2/imp/DSR_ROBOT2.py:6130-6154 | dsr_common2/imp/DSR_ROBOT2.py:6300-6321 | dsr_common2/imp/DSR_ROBOT2.py:10967-10990 | dsr_common2/imp/DSR_ROBOT2.py:10993-11016 | dsr_common2/imp/DSR_ROBOT2.py:11063-11086 | dsr_common2/imp/DSR_ROBOT2.py:11263-11287 | dsr_common2/imp/DSR_ROBOT2.py:11433-11454 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cd24d59dab550a57c19d9b094c975ddd7e3c9ef3a1181493a3b82f665484ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:214-366 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:212-364 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca0b19f92f393b30d92cadfbd02f301b66615627d6f5bafc6537061fefd6e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:2252-2272 | dsr_common2/imp/DSR_ROBOT2.py:2275-2295 | dsr_common2/imp/DSR_ROBOT2.py:2298-2328 | dsr_common2/imp/DSR_ROBOT2.py:2331-2361 | dsr_common2/imp/DSR_ROBOT2.py:2364-2390 | dsr_common2/imp/DSR_ROBOT2.py:2393-2419 | dsr_common2/imp/DSR_ROBOT2.py:2422-2446 | dsr_common2/imp/DSR_ROBOT2.py:2449-2473 | dsr_common2/imp/DSR_ROBOT2.py:2499-2535 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317e399c6b68bd1c846bfd1f7d3fe09a1f55b655263cb062d5e9f069f528dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_a0912/launch/demo.launch.py:34-206 | dsr_moveit2/dsr_moveit_config_e0509/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_h2017/launch/demo.launch.py:34-206 | dsr_moveit2/dsr_moveit_config_h2515/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m0609/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m0617/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m1509/launch/demo.launch.py:35-207 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a813411bba1349eabe4a13f6c733da191e9280854ed2e2529cad710a22b03d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:822-837 | dsr_common2/imp/DSR_ROBOT2.py:1168-1183 | dsr_common2/imp/DSR_ROBOT2.py:1278-1296 | dsr_common2/imp/DSR_ROBOT2.py:7025-7040 | dsr_common2/imp/DSR_ROBOT2.py:7360-7375 | dsr_common2/imp/DSR_ROBOT2.py:7471-7489 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850a6d9238067c39ca93e6bf8c7a69ad2e223d9a90cb1e3c46141ce63f45077"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:1108-1138 | dsr_common2/imp/DSR_ROBOT2.py:1351-1388 | dsr_common2/imp/DSR_ROBOT2.py:3929-3983 | dsr_common2/imp/DSR_ROBOT2.py:7300-7330 | dsr_common2/imp/DSR_ROBOT2.py:7545-7582 | dsr_common2/imp/DSR_ROBOT2.py:9063-9117 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09c7dc27af0fe1adfdd0c182ac8781d1d9d21fefcdcf1573e3896e8fa6bee1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:1589-1657 | dsr_common2/imp/DSR_ROBOT2.py:1661-1713 | dsr_common2/imp/DSR_ROBOT2.py:1717-1777 | dsr_common2/imp/DSR_ROBOT2.py:1904-1939 | dsr_common2/imp/DSR_ROBOT2.py:1942-1992 | dsr_common2/imp/DSR_ROBOT2.py:1996-2022 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8d9fa91e897ee7937b538898e19b3fc927dc56963e9561b10636a079a01131"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:799-818 | dsr_common2/imp/DSR_ROBOT2.py:1049-1076 | dsr_common2/imp/DSR_ROBOT2.py:7002-7021 | dsr_common2/imp/DSR_ROBOT2.py:7241-7268 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"beae3768d559e7a646a5bbf6900a90da09dfe0d3c3947c5d5304d9ff32b539a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): dsr_common2/imp/DSR_ROBOT2.py:6355-6371 | dsr_common2/imp/DSR_ROBOT2.py:6405-6421 | dsr_common2/imp/DSR_ROBOT2.py:11488-11504 | dsr_common2/imp/DSR_ROBOT2.py:11538-11554 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6355}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d13312f488d3767ad6dc9c7935ddfcffc731c6cd43ba5263091139cd89a4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 128\u002B corresponding lines): dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:52-179 | dsr_gazebo2/launch/dsr_gazebo.launch.py:54-221 | dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py:54-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 128 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5176c90b48d388b64c19225b6ec3fe81311274ff118b7c4a1e192d6ce0cfd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (184 corresponding lines): dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:24-215 | dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:45-228 \u2014 These two members are one piece of code written twice and then edited apart: 184 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b727a9cf0cef6e43066f6040e1a150177c4b4a414baba3d6476ddb33f3a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): dsr_common2/imp/DR_tcp_client2.py:240-313 | dsr_common2/imp/DR_tcp_server2.py:263-336 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"94863f4ad34c3bf98f7dcc21024640f4466ddfcc376ae63c0a58c7b716a444d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): dsr_mujoco/launch/dsr_mujoco.launch.py:135-268 | dsr_mujoco/launch/dsr_mujoco_default.launch.py:26-146 \u2014 These two members are one piece of code written twice and then edited apart: 121 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/launch/dsr_mujoco.launch.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"469c6570649d241cc0c2c3d2c74c508179c7e291c3856712065bd35a1209fbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1010-1044 | dsr_common2/imp/DSR_ROBOT2.py:7201-7236 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf3ff0d66480942df69256fe592cf293a3c3c62e5d1f05c22567d020152800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1300-1329 | dsr_common2/imp/DSR_ROBOT2.py:7493-7522 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"24044e3293656fcfc7d2c8f2405b32acbb69708d18cf1d519e0dac554b8bb90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): dsr_common2/imp/DR_tcp_client2.py:50-94 | dsr_common2/imp/DR_tcp_server2.py:52-101 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3b54ed8d76488104421d6a745d44722ab40c4e207ccec42f3acf014d2c5a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1392-1420 | dsr_common2/imp/DSR_ROBOT2.py:1424-1460 | dsr_common2/imp/DSR_ROBOT2.py:7586-7614 | dsr_common2/imp/DSR_ROBOT2.py:7618-7654 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1426cde9ca7edf44ee0b8a249975162b33f8f5fb078a1e1fc41d8573494ce005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:5806-5831 | dsr_common2/imp/DSR_ROBOT2.py:10939-10964 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5806}}}],"partialFingerprints":{"codehealthFindingId/v1":"003590b23708eeb9486779eb8140754c04b4518173550ed24fefa7413ec1b064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): dsr_common2/imp/DR_tcp_client2.py:327-361 | dsr_common2/imp/DR_tcp_server2.py:349-383 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4074b4f9906d5606690cdc95b7d2015d35cba457833ea1dd3c8e6a253404e888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1188-1212 | dsr_common2/imp/DSR_ROBOT2.py:7380-7404 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9755d6e1bc9802ee65b04626957e432e6fc9c5002fed7a9e42ccca37c4606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:5317-5338 | dsr_common2/imp/DSR_ROBOT2.py:10451-10472 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b859c5eb7c315ba0aa077246e91d37cf607d6c400f11cd251898437b34f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:671-691 | dsr_common2/imp/DSR_ROBOT2.py:6874-6894 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ac3f72bc01aae3e77e1487d445b9002405328132d99df0f326d793088b488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1080-1104 | dsr_common2/imp/DSR_ROBOT2.py:7272-7296 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be7177814481914bbf1f50bf3445dbc7598d5cfef13dd8f6f35846319c3a85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:2100-2120 | dsr_common2/imp/DSR_ROBOT2.py:2123-2149 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5284560cba03de50b9e8e8c6100e172f0f3dcc3995d706e5fc781013699696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:2152-2172 | dsr_common2/imp/DSR_ROBOT2.py:2175-2195 | dsr_common2/imp/DSR_ROBOT2.py:2198-2222 | dsr_common2/imp/DSR_ROBOT2.py:2225-2249 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cabe98cf92193f2de318dcf1d6635ab7113ea6715e95d564a93657eefc2824a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:4060-4080 | dsr_common2/imp/DSR_ROBOT2.py:9194-9214 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9efe4ef8e24f30339666f8804fcd77a07c7da32c2067b24ed5a09ddcc7247e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:921-943 | dsr_common2/imp/DSR_ROBOT2.py:946-968 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"7674d0f2324123f8b208a6196ddc9c901bea0dfafa4f9e3d57900124c7b93d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): dsr_common2/imp/DR_tcp_client2.py:196-218 | dsr_common2/imp/DR_tcp_server2.py:221-242 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57ec716263ece9b1cfdf83dcee7429a63237b3311752b1e04f16b75ab9f7fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:4147-4163 | dsr_common2/imp/DSR_ROBOT2.py:9281-9297 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2553bce39d9628c9affd7af433acb617c571d8a0557714244fe0fd04e98b0b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:1332-1346 | dsr_common2/imp/DSR_ROBOT2.py:7525-7539 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d9b333716ebb6c823e083ab7cec369ea502d75459320a8ae1b6c62b0c5c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): dsr_common2/imp/DR_common2.py:238-247 | dsr_common2/imp/DR_common2.py:261-270 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_common2.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbb566d4f0b709389cacf58080f01a5846ad3d3f7d1a6dea1650e6917479a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:652-668 | dsr_common2/imp/DSR_ROBOT2.py:6855-6871 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c8e915f9a0b5e313362c1d8f76f12e7f5e696945d2975b5a4aaaaf83bfd345"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:696-711 | dsr_common2/imp/DSR_ROBOT2.py:6899-6914 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7dbbbf3ba0431fd18830be820a5e7aa4ff093389729395408aadb07a6d9712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:715-730 | dsr_common2/imp/DSR_ROBOT2.py:6918-6933 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1dd83ac6d41ce1a0971c8a419c6d956d7b5878627537f60cda88c8c38cceef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:757-772 | dsr_common2/imp/DSR_ROBOT2.py:6960-6975 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e13cda574a60e98bae7a136d105c50cde78b84963bf18bc3947300cbf1169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:841-856 | dsr_common2/imp/DSR_ROBOT2.py:7044-7059 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1d22d9efce86feb9e5780aa08223f7bcaa96a807da6971372a55a49ed4dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:885-900 | dsr_common2/imp/DSR_ROBOT2.py:7088-7103 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bebe88e639d271752d6f928ff3ff9a8dcfd7d40e0e793ecbedab88b84bfadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:903-918 | dsr_common2/imp/DSR_ROBOT2.py:7106-7121 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fe8345c42ca6eae3513642a82c36eae1fcfa8d8ccfaf6ae873dea70a2afd52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:3885-3900 | dsr_common2/imp/DSR_ROBOT2.py:9019-9034 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23afaa328ce2a40cd29e9f4770575c1c9d4e07b3756a52e52405d3ad56a46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dsr_common2/imp/DSR_ROBOT2.py:6637-6653 | dsr_common2/imp/DSR_ROBOT2.py:11770-11785 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6637}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a76827573cc4840458a633f5e4eb57ad21ce875b09b25fe128bf1b0a1a7336"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): dsr_common2/imp/DR_tcp_client2.py:173-183 | dsr_common2/imp/DR_tcp_server2.py:198-208 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"915753aff51ec4bc22a2664a6aa67eea5a43307c88daab455069d9a5ee90454d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): dsr_example2/dsr_visualservoing/dsr_visualservoing/camera_publisher.py:55-64 | dsr_example2/dsr_visualservoing/dsr_visualservoing/detect_marker_gz.py:215-224 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/camera_publisher.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f92fc58b6b6af7e103c8e86a1bd18206afbbe82d31a6b0734ff57886950742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (174\u2013177 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:377-550 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:462-638 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:377-550 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:462-638 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:377-550 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:462-638 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f810f9d6c184edd33c7d4f605d89402a3c8b0256bf7f097d58f6bd0d4e1f1ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (173 lines \u00D7 8): dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_a0912/launch/demo.launch.py:34-206 | dsr_moveit2/dsr_moveit_config_e0509/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_h2017/launch/demo.launch.py:34-206 | dsr_moveit2/dsr_moveit_config_h2515/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m0609/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m0617/launch/demo.launch.py:35-207 | dsr_moveit2/dsr_moveit_config_m1509/launch/demo.launch.py:35-207 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/demo.launch.py\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bea21269b3c08b4c57295a3d75fcc9548d5f4c906c3378d94dca40f36c9c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (153 lines \u00D7 10): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:214-366 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:212-364 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:212-364 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f31842f1372b38bbf80f0c9441462b45aeea76d856dbd7c0dc5af402742811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (148 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4404-4551 | dsr_common2/imp/DSR_ROBOT2.py:9538-9685 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5329a30b177c3b836ae4be182b34fe0ff4e7be17876dc725177081b2719af75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (189 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4952-5140 | dsr_common2/imp/DSR_ROBOT2.py:10086-10274 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4952}}}],"partialFingerprints":{"codehealthFindingId/v1":"c119ed84c31b26938eaa1e1e061045ed9de7ae60883be3096b1d8b34c388726b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (119 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4193-4311 | dsr_common2/imp/DSR_ROBOT2.py:9327-9445 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed359f1d6a31d25762e74ef9b85f7622af6e61805ede9b54629c4b5f046359c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u2013110 lines \u00D7 4): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:97-200 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:100-209 | dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:168-271 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:118-175 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 379 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:97\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":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e7af0d79d292741ccc2903a8dca94b50ca10f128e3d183f0954029c11868c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (107 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4818-4924 | dsr_common2/imp/DSR_ROBOT2.py:9952-10058 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4818}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c00409af76e27d42c8290bdc7413707fb181fe65c3a407bc5eaf92ec055ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (131 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5592-5722 | dsr_common2/imp/DSR_ROBOT2.py:10726-10856 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f13f4d1fcb6612b33063d443483ce5f2cf8f93cc1229f06f1e49bb086222e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201373 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:549-621 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:686-755 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:549-621 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:686-755 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:549-621 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:686-755 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:549\u0060 it begins part-way through the construct above it, so those exact 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf250c3f3427a8e45d39a995b6a66023c4af4702a707cabd9314f4ba2d28dd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72\u201373 lines \u00D7 4): dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py:101-172 | dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:497-569 | dsr_bringup2/launch/dsr_mobile_manipulator_moveit.launch.py:90-161 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:305-376 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_mobile_manipulator_moveit.launch.py\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b12b618b911be47f93f89a088fc7a06060e7aeb2fcf90a282fb7bcf52b569c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:60-123 | dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py:62-126 \u2014 before extracting anything, compare \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py\u0060 and \u0060dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 170 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30906d7647b64d55fb29e59368c0d989d0967f6c8f5099a21c57a797590564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:172-234 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:173-236 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:172\u0060 calls \u0060PathJoinSubstitution\u0060, \u0060FindPackageShare\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:171\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24f9a733f5f6d4e02b5167aafb7066e9648798a574fb7c2fecd5c32b86e360a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201364 lines \u00D7 2): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:262-308 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:272-335 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 379 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:262\u0060 it begins part-way through the construct above it, so those exact 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"becaa376ed8ea052b12afcaf5acefc417cec40599d7da5a685b9c4f356c941a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3735-3796 | dsr_common2/imp/DSR_ROBOT2.py:8871-8932 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"06974e5d53ef9d96c0a9a24c099c29c48ffdb74fc49c8e52673596c2c5357749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 3): dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:52-112 | dsr_gazebo2/launch/dsr_gazebo.launch.py:54-114 | dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py:54-114 \u2014 before extracting anything, compare \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py\u0060 and \u0060dsr_gazebo2/launch/dsr_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8ee2aef7196e40f923771dd4de4e43a466fbe2d4bb618f2ca97fa6ef491f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 3): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:132-190 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:132-190 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:132-190 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 541 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"79761acd664850108a4d34bf495bd986c5f1c18dcd21b2e2186c223a381687e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 3): dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:152-210 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:152-210 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:152-210 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 576 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db0126c6146164a28ec4052c9722e97049c9ae41cdba1dd0200735f4c2384c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:6161-6216 | dsr_common2/imp/DSR_ROBOT2.py:11294-11349 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7405eac9b34f0931224a743bb50ceb328a0bf0d3f64a1c93f993faa77ab2f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201354 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:73-125 | dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:47-100 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:71-124 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:71\u0060 calls \u0060show_git_info\u0060 and \u0060dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:69\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3321b2b51f151491841512d4fbf93906ea20ac90226f81dfa13b6b8f292f2776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201354 lines \u00D7 2): dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:310-356 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:184-237 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 351 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:310\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c329ec9ccb0b560107895e86dbe9a994dc29a9b79eea9c53ae382b951ae19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:149-200 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:169-219 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:149-200 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:169-219 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:149-200 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:169-219 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:149\u0060 it begins part-way through the construct above it, so those exact 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":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"77af987d696444045e2faabc3f6855815dca33d34e41ea0c74d749befb61ebd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3092-3143 | dsr_common2/imp/DSR_ROBOT2.py:8227-8278 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be541b8178478fe5677861c33aab2fda5ebae678b741474c1bbdac7afb90f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 2): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:44-93 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:43-93 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:44\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":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38d4f26e14a1ec886c599f3063c5fcf60fb05868c90eb38a6bfe116ff822f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 10): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:129-177 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:127-175 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:127-175 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13daad1f2543defea4f5f765e95204fb0b866333144f6f7220a8f111884b3685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:205-251 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:206-254 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:210-254 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:205\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b48aaa523f2203cbebcaa1ec6ed628e0a881279f2e38ed6694fcc4177ecde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3362-3410 | dsr_common2/imp/DSR_ROBOT2.py:8501-8549 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a316a9cebc185d8d3f3f405e977b672cc051127bd8e58559a03d1f3dd7027350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201347 lines \u00D7 2): dsr_mujoco/launch/dsr_mujoco.launch.py:171-214 | dsr_mujoco/launch/dsr_mujoco_default.launch.py:67-113 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_mujoco/launch/dsr_mujoco_default.launch.py:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_mujoco/launch/dsr_mujoco.launch.py:166\u0060 calls \u0060ParameterValue\u0060, \u0060LaunchConfiguration\u0060, \u0060Node\u0060 and \u0060dsr_mujoco/launch/dsr_mujoco_default.launch.py:67\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/launch/dsr_mujoco.launch.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaed8da0cde55aeab5263ec5fff78fa42bb70c24a75fd05454758449f4509d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 3): dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:286-329 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:286-329 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:286-329 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 576 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99ef0409f8a727b161fc8f7bcfbf0b00d97b591b1f79a72dd0cc766572d46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201342 lines \u00D7 2): dsr_example2/dsr_visualservoing/launch/camera_calibration.launch.py:33-71 | dsr_example2/dsr_visualservoing/launch/rgbd_camera.launch.py:51-92 \u2014 before extracting anything, compare \u0060dsr_example2/dsr_visualservoing/launch/camera_calibration.launch.py\u0060 and \u0060dsr_example2/dsr_visualservoing/launch/rgbd_camera.launch.py\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"dsr_example2/dsr_visualservoing/launch/camera_calibration.launch.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d358e642fdefa4230a41bb9bab77b240a4c111391408e85d8744e4c8b0577d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 2): dsr_controller2/launch/dsr_controller2.launch.py:118-158 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:176-211 \u2014 before extracting anything, compare \u0060dsr_controller2/launch/dsr_controller2.launch.py\u0060 and \u0060dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_controller2/launch/dsr_controller2.launch.py:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:172\u0060 calls \u0060IfCondition\u0060 and \u0060dsr_controller2/launch/dsr_controller2.launch.py:114\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_controller2/launch/dsr_controller2.launch.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"83122767270140fa6e2a8b6ec01eb5c551c8739c0e2591c13b5a2cd41676e7f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 10): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:88-127 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:88-125 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:88-125 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:88\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":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8b044d33ac21eab9d09643f02587d1cc7c4507dc92687b2283838dee7217f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:264-303 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:264-303 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:264-303 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 541 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f618b2f2a00c13eb8f8d723fd7bb6ee22276e2d98a62b730bd13c185f64d937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5456-5492 | dsr_common2/imp/DSR_ROBOT2.py:10590-10626 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1346e4144aa47c89c61f585821ae77e8c4ddc2130ba3beb778cc01dab2f91906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3451-3485 | dsr_common2/imp/DSR_ROBOT2.py:8590-8624 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7d0275b280ad7eb7c703a7208a27ef7491629f8bd071a3a287ab967b9af87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3929-3963 | dsr_common2/imp/DSR_ROBOT2.py:9063-9097 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3929}}}],"partialFingerprints":{"codehealthFindingId/v1":"418dd8d671e6879da9c773ed479066d847c96da0154c9e27f10304399e40ae39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:344-377 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:398-430 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:344-377 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:398-430 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:344-377 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:398-430 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:397\u0060 calls \u0060IfCondition\u0060, \u0060PythonExpression\u0060, \u0060LaunchConfiguration\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:343\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c88e6ea0f7e1c41b017d62579850cb05e58829cad22207d7d87a6c5ba9b4d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5957-5990 | dsr_common2/imp/DSR_ROBOT2.py:11090-11123 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5957}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e93ce634228f0483ed5ac57bdc759fd8b38edb0a6a465891299f255aad2c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 4): dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:170-200 | dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:232-263 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:242-273 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:217-249 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:170\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_rviz.launch.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5599bec67da3cfeb4a00e531c57b0f2e3865f98496b764b1334edc44ee04ae0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:104-134 | dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:101-130 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:102-133 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:104\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":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efab364a38369244cf624bb003597237b5543403bc9e0eb197a41038dec502a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:125-155 | dsr_gazebo2/launch/dsr_gazebo.launch.py:127-158 | dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py:144-175 \u2014 before extracting anything, compare \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py\u0060 and \u0060dsr_gazebo2/launch/dsr_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5101b79bb8d327e855d0f3b2a95df5ccb3967766e42f8c42cb36c127866870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201331 lines \u00D7 4): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:257-279 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:267-297 | dsr_controller2/launch/dsr_controller2.launch.py:129-155 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:187-208 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 379 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:257\u0060 it begins part-way through the construct above it, so those exact 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":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26f30f3176750d7553841b0a0bdc5dc31fa7dd38c3f3a4e5cebba65b51c211d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:414-444 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:271-298 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 351 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:414\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"190f8db4b680364a69742e78844c33e3e46e80d95e9fd189f23bba53e6e1047d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201331 lines \u00D7 2): dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:284-305 | dsr_controller2/launch/dsr_controller2.launch.py:136-166 \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 \u0060dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5676ed7967bfd91e33f68053a850e496808fa85b2124de804ee0d017ea8bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201330 lines \u00D7 5): dsr_common2/imp/DSR_ROBOT2.py:5444-5463 | dsr_common2/imp/DSR_ROBOT2.py:5531-5560 | dsr_common2/imp/DSR_ROBOT2.py:5675-5694 | dsr_common2/imp/DSR_ROBOT2.py:10578-10597 | dsr_common2/imp/DSR_ROBOT2.py:10809-10828 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5444}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc3469fb3e4a97afa69fadaa16159c8b4706909239d2e7a859942e649fdf09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201329 lines \u00D7 6): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:168-187 | dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:191-217 | dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:253-273 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:263-291 | dsr_controller2/launch/dsr_controller2.launch.py:125-150 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:183-203 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:189\u0060 calls \u0060GroupAction\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:219\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02cf482b532dc8b68956ad65f68d7241f82cddfad3899b2ce9e5a57f811bb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 5): dsr_common2/imp/DSR_ROBOT2.py:1514-1542 | dsr_common2/imp/DSR_ROBOT2.py:1784-1812 | dsr_common2/imp/DSR_ROBOT2.py:2548-2576 | dsr_common2/imp/DSR_ROBOT2.py:2681-2709 | dsr_common2/imp/DSR_ROBOT2.py:3200-3228 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"874a135006398d28f4ae78f3c50d3446040e822e7906240171c666faa9a6613c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:7701-7729 | dsr_common2/imp/DSR_ROBOT2.py:7829-7857 | dsr_common2/imp/DSR_ROBOT2.py:8333-8361 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7701}}}],"partialFingerprints":{"codehealthFindingId/v1":"05676c662e6cf37405ecff41f9cac777f971c24168b0b4fff3e1173fe0b62731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201329 lines \u00D7 2): dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:370-398 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:244-263 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 351 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py: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":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e892bc44e882d283843f8621230285672ed6ce0eb88d6b763269cbf0451236a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2607-2635 | dsr_common2/imp/DSR_ROBOT2.py:7760-7788 \u2014 both copies are in the same file, so extract the block 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 \u0060dsr_common2/imp/DSR_ROBOT2.py:2607\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"a732b687ab523f0bab8bc89ed32c108af549d0bd9706307877447e60134edf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3665-3693 | dsr_common2/imp/DSR_ROBOT2.py:8804-8832 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ec18afe089af11df01712f17fbff89bded7007253008961bb7ad67f9c1839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 16): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:58-85 | dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:97-124 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:117-144 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:97-124 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:117-144 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:97-124 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:117-144 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6e6bbf938dde3dba7c2ace3e4c0b8e4f0650f5c2b53ab249f40373057a0d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:70-97 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:50-77 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 351 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f4e29f140b8a860bc8c7a4890edbe7a1501c28b592607bebe5d679f703699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:127-153 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:127-152 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:126-151 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13c8f62d7dc484eb214ca071fdcf75bad96ee548648ea8abd8d947ee1a90195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:265-294 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:275-312 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:265-291 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 379 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec6dc4cb12dd7e30f1d5a305c0f96310ffe7a592f17b1dfe16049a0c339f9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201327 lines \u00D7 2): dsr_bringup2/dsr_bringup2/run_emulator.py:29-43 | dsr_bringup2/dsr_bringup2/set_config.py:29-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"dsr_bringup2/dsr_bringup2/run_emulator.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5764f477d81302993e2fa5e4723c5cbee7bba44de8abd9fb770aaa8be2062818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201326 lines \u00D7 4): dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:202-226 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:211-236 | dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py:274-283 | dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py:178-194 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 379 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:202\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8983fa7f4a18c503cde10a8eb4071dbfdc3f1da2a4bfeba1d241093f9e368e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:7884-7909 | dsr_common2/imp/DSR_ROBOT2.py:8047-8072 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7884}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d16e5d02abe77a7ba1db6a62b43e818aecc3784525626cb0355a63e73ae876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 8): dsr_common2/imp/DSR_ROBOT2.py:2864-2888 | dsr_common2/imp/DSR_ROBOT2.py:3034-3056 | dsr_common2/imp/DSR_ROBOT2.py:3342-3364 | dsr_common2/imp/DSR_ROBOT2.py:3510-3532 | dsr_common2/imp/DSR_ROBOT2.py:8008-8032 | dsr_common2/imp/DSR_ROBOT2.py:8171-8193 | dsr_common2/imp/DSR_ROBOT2.py:8481-8503 | dsr_common2/imp/DSR_ROBOT2.py:8649-8671 \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 \u0060dsr_common2/imp/DSR_ROBOT2.py:2864\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ceafe1588b3e8ab9ad48c4284bc2dcc56e91043b575261d84bc20e0177023f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:179-205 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:180-206 | dsr_gazebo2/launch/dsr_gazebo.launch.py:150-174 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7792dea55310860a82a1453a75ce037019eb2ed19f3bc958cb74876b4d536a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2764-2788 | dsr_common2/imp/DSR_ROBOT2.py:7910-7934 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a978c9c9cee52910b6bd76d9b2fb733ea04b34a60e3d4014e80cbb5db739785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:2740-2763 | dsr_common2/imp/DSR_ROBOT2.py:2907-2930 | dsr_common2/imp/DSR_ROBOT2.py:3075-3098 | dsr_common2/imp/DSR_ROBOT2.py:8210-8233 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_common2/imp/DSR_ROBOT2.py:2740\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02475c185f0a93d45eeae5d88d6663e65ef9478cba097448f4cfde10f927e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2588-2611 | dsr_common2/imp/DSR_ROBOT2.py:2721-2744 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47c408e0f34a97c034bb5d75abcfa05c6fb78ce23a8f28637382f268b703f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3243-3266 | dsr_common2/imp/DSR_ROBOT2.py:8376-8399 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e99bf8e57e85ac3154909cd586c622679ac692e664c5ed8ca70f27bd71dfed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5886-5909 | dsr_common2/imp/DSR_ROBOT2.py:11019-11042 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71f34977267f0a5dd05937dcff8bb3a7c8daa4c43a4e40eef79afd25dc40289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:6086-6109 | dsr_common2/imp/DSR_ROBOT2.py:11219-11242 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6086}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9944745541a234542c520f81829d0a199c3caad7234a02ad8fbe80a08b2bbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:7741-7764 | dsr_common2/imp/DSR_ROBOT2.py:7869-7890 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7741}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab87b8685d1c23db348563d14ea789cd86ff333b48c53c68186f9026ff499c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5174-5196 | dsr_common2/imp/DSR_ROBOT2.py:10308-10330 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1febd1e2d18b77a40446b40a3095b37f62ca117a72ff19f8407451fd3d38e1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): dsr_common2/imp/DR_tcp_client2.py:240-261 | dsr_common2/imp/DR_tcp_server2.py:263-284 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc336dc19fcabb0a1779cda9aa212547f91623e89f5050642e3a108c0d97d145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:2934-2954 | dsr_common2/imp/DSR_ROBOT2.py:3121-3141 | dsr_common2/imp/DSR_ROBOT2.py:8076-8096 | dsr_common2/imp/DSR_ROBOT2.py:8256-8276 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc47e6b671f68e2e6ca1ca9c029d5670230dea6d576dc2b7b0efa9f6a95b7d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:548-568 | dsr_common2/imp/DSR_ROBOT2.py:574-594 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2510b2fa8a2a5939cd1d528d237aae2793ffa066279faae8f675998a9c86a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1622-1642 | dsr_common2/imp/DSR_ROBOT2.py:1743-1763 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7b84c92ebc2afc284f96e4a076ecc5dca9a96f4e305dda7c223f5ca23a8704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:6011-6031 | dsr_common2/imp/DSR_ROBOT2.py:11144-11164 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2853477f95a7d4e585dacf1a0bf3bef099efbbf3ceaf4fd614155d3a3d6c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:4709-4728 | dsr_common2/imp/DSR_ROBOT2.py:4753-4772 | dsr_common2/imp/DSR_ROBOT2.py:5349-5368 | dsr_common2/imp/DSR_ROBOT2.py:9843-9862 | dsr_common2/imp/DSR_ROBOT2.py:9887-9906 | dsr_common2/imp/DSR_ROBOT2.py:10483-10502 \u2014 all 6 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:5372\u0060 calls \u0060DR_Error\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:4730\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4709}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7004bd5b5bab90e36eb776ecbdde60ce5d0f29752119f90f5fe13ccde28bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3604-3623 | dsr_common2/imp/DSR_ROBOT2.py:8743-8762 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b6acd3a8c8e6d15891bcbd5be322c61b62dc31789e37edfbb7487df86808bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4554-4573 | dsr_common2/imp/DSR_ROBOT2.py:4605-4624 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4554}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cd8d1182910502ee01f8161b71d9f5180f23538bbf5d6654a29c28d2ae0c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:9688-9707 | dsr_common2/imp/DSR_ROBOT2.py:9739-9758 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c595454eb7ec5c75d177d3a6f9b4d5e55e8ca7c0a15c7ceae9b887cb31202108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:259-277 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:287-304 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:259-277 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:287-304 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:259-277 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:287-304 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:259\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:286\u0060 calls \u0060LaunchConfiguration\u0060, \u0060perform\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:258\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e790d9f7bc4a1d3df58282896925df6f7eced7f57ae20c4dc26a4c3a45c63194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 4): dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:115-133 | dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:195-210 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:204-219 | dsr_tests/launch/dsr_bringup_without_spawner_test.launch.py:101-116 \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 \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:115\u0060 it begins part-way through the construct above it, so those exact 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":"dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aab7ae811932bfe5305b184bb2221c68f7c4520a92ae61693fbc5c6a85a40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1027-1044 | dsr_common2/imp/DSR_ROBOT2.py:7218-7236 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f953c19cc8e02739bd7849ac4522e8814aab5466119dd940491dd005e2f1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1351-1369 | dsr_common2/imp/DSR_ROBOT2.py:7545-7563 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"900edc18505f373261cbe8658b8ea5fe7924da207853bd47e0940b6e644aaef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1424-1442 | dsr_common2/imp/DSR_ROBOT2.py:7618-7636 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"081ebb74c75ffed4c41a30843e2ed64a9b257750ce885c0a7569799a3df388e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1476-1494 | dsr_common2/imp/DSR_ROBOT2.py:7670-7688 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a3f8e6aaff0df2f440adb3c77b24549bde85b8e8f1d6037003d093c0e06b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3546-3564 | dsr_common2/imp/DSR_ROBOT2.py:8685-8703 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68d428fbf61e8afcb68561d8a1ec2cd7096e15bfb71c162458143f8c5d888d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4313-4331 | dsr_common2/imp/DSR_ROBOT2.py:4359-4377 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0ac5e78339e9e03a5b94e8c4a43346c886a1a2b6c1613c3e26a0c703cb5a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5140-5158 | dsr_common2/imp/DSR_ROBOT2.py:5196-5214 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5140}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5617640a4b7518644b49afe0a698db84c2412c171317e47934198d6e367d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5151-5169 | dsr_common2/imp/DSR_ROBOT2.py:10285-10303 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1017b9506214156c18ab7c3476d0ca1008651545dbe0922725d1ebd9509b339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5164-5181 | dsr_common2/imp/DSR_ROBOT2.py:5220-5238 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6312d2c97624c26a9e34662de1a60960d6347a3d3fda2df1d706c5028ed7be3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:9447-9465 | dsr_common2/imp/DSR_ROBOT2.py:9493-9511 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be59c94cdbb28eda987044b87753a882a25b1b562069e40328abfe352fb488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:10274-10292 | dsr_common2/imp/DSR_ROBOT2.py:10330-10348 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a93a75a19fce6a65e3c056a51cf537ee3e16ca14ea431909e962cf5373f501f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:10298-10315 | dsr_common2/imp/DSR_ROBOT2.py:10354-10372 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":10298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20e5d7efd0b639e726c851b4fb04d6b97cfe016dec106d0f33f902241eabb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 10): dsr_common2/imp/DSR_ROBOT2.py:1540-1557 | dsr_common2/imp/DSR_ROBOT2.py:1810-1827 | dsr_common2/imp/DSR_ROBOT2.py:2574-2591 | dsr_common2/imp/DSR_ROBOT2.py:2707-2724 | dsr_common2/imp/DSR_ROBOT2.py:3226-3243 | dsr_common2/imp/DSR_ROBOT2.py:3648-3665 | dsr_common2/imp/DSR_ROBOT2.py:7727-7744 | dsr_common2/imp/DSR_ROBOT2.py:7855-7872 | dsr_common2/imp/DSR_ROBOT2.py:8359-8376 | dsr_common2/imp/DSR_ROBOT2.py:8787-8804 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea3bbffa1f72354ab64faf4313543365ec4a2913c7420e89548fd1060491e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): dsr_common2/imp/DSR_ROBOT2.py:1517-1534 | dsr_common2/imp/DSR_ROBOT2.py:1787-1804 | dsr_common2/imp/DSR_ROBOT2.py:2551-2568 | dsr_common2/imp/DSR_ROBOT2.py:2684-2701 | dsr_common2/imp/DSR_ROBOT2.py:3203-3220 | dsr_common2/imp/DSR_ROBOT2.py:7704-7721 | dsr_common2/imp/DSR_ROBOT2.py:7832-7849 | dsr_common2/imp/DSR_ROBOT2.py:8336-8353 \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 \u0060dsr_common2/imp/DSR_ROBOT2.py:1517\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"193d675c43cc28df52d0fe2206f6103b21a907038c9228226ea7e6286a8eefb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): dsr_common2/imp/DSR_ROBOT2.py:2839-2856 | dsr_common2/imp/DSR_ROBOT2.py:3011-3028 | dsr_common2/imp/DSR_ROBOT2.py:3319-3336 | dsr_common2/imp/DSR_ROBOT2.py:3487-3504 | dsr_common2/imp/DSR_ROBOT2.py:7983-8000 | dsr_common2/imp/DSR_ROBOT2.py:8148-8165 | dsr_common2/imp/DSR_ROBOT2.py:8458-8475 | dsr_common2/imp/DSR_ROBOT2.py:8626-8643 \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 \u0060dsr_common2/imp/DSR_ROBOT2.py:2839\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be011e50d454f0305bf9ff64beac24766a7e97efc60c5bec005cfab83b96fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4286-4302 | dsr_common2/imp/DSR_ROBOT2.py:4524-4541 | dsr_common2/imp/DSR_ROBOT2.py:9420-9436 | dsr_common2/imp/DSR_ROBOT2.py:9658-9675 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcc79ecdd7fe478655f4b2ee7d6b39a287970e6df1e396c2031db924d72fbac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:155-171 | dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:157-171 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:162-179 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_spawn_on_gazebo.launch.py:172\u0060 calls \u0060PathJoinSubstitution\u0060, \u0060FindPackageShare\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:172\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcf9830ce533990edf11dc590ab63698fc1e6259fb320f3151067d1b006967b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:250-267 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:250-267 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:250-267 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 576 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"213031b90f9fb693772560d420cc6d29389fead86b123610043e8a23c0123b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1688-1705 | dsr_common2/imp/DSR_ROBOT2.py:1914-1931 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0e8bc163ddc9036dcc101f25aae96a63aafadf5bf69558df86d49642ca6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3625-3642 | dsr_common2/imp/DSR_ROBOT2.py:8764-8781 \u2014 both copies are in the same file, so extract the block 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 \u0060dsr_common2/imp/DSR_ROBOT2.py:3625\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9358fb433ea7ac3336aae3536842c45914b606d2acb0298f87846a169e31591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 16): dsr_common2/imp/DSR_ROBOT2.py:2846-2862 | dsr_common2/imp/DSR_ROBOT2.py:2871-2887 | dsr_common2/imp/DSR_ROBOT2.py:3018-3032 | dsr_common2/imp/DSR_ROBOT2.py:3041-3055 | dsr_common2/imp/DSR_ROBOT2.py:3326-3340 | dsr_common2/imp/DSR_ROBOT2.py:3349-3363 | dsr_common2/imp/DSR_ROBOT2.py:3494-3508 | dsr_common2/imp/DSR_ROBOT2.py:3517-3531 | dsr_common2/imp/DSR_ROBOT2.py:7990-8006 | dsr_common2/imp/DSR_ROBOT2.py:8015-8031 | dsr_common2/imp/DSR_ROBOT2.py:8155-8169 | dsr_common2/imp/DSR_ROBOT2.py:8178-8192 | dsr_common2/imp/DSR_ROBOT2.py:8465-8479 | dsr_common2/imp/DSR_ROBOT2.py:8488-8502 | dsr_common2/imp/DSR_ROBOT2.py:8633-8647 | dsr_common2/imp/DSR_ROBOT2.py:8656-8670 \u2014 all 16 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:3536\u0060 calls \u0060_check_valid_vel_acc_task\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:2863\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"60969b8765f6a8c8e75a6b3ce80bf4a3cc15c76cc9ec9757828ca9f233910738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:3374-3390 | dsr_common2/imp/DSR_ROBOT2.py:3536-3552 | dsr_common2/imp/DSR_ROBOT2.py:8513-8529 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a28ac57c510bdfb56fda7a7c065907ae8546bf2be59e5fa329b5d21f0e5caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3811-3827 | dsr_common2/imp/DSR_ROBOT2.py:8944-8960 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fa42a248472aa00fc164181acb545b1168b4aea679b7856098dd74452f57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5553-5569 | dsr_common2/imp/DSR_ROBOT2.py:10687-10703 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae769a0ffe60c8dfbed454ffec44e2716d1ece5f9a561128fabc2af1ca40767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 10): dsr_common2/imp/DSR_ROBOT2.py:2752-2767 | dsr_common2/imp/DSR_ROBOT2.py:2919-2934 | dsr_common2/imp/DSR_ROBOT2.py:3087-3102 | dsr_common2/imp/DSR_ROBOT2.py:3379-3394 | dsr_common2/imp/DSR_ROBOT2.py:3541-3556 | dsr_common2/imp/DSR_ROBOT2.py:7898-7913 | dsr_common2/imp/DSR_ROBOT2.py:8061-8076 | dsr_common2/imp/DSR_ROBOT2.py:8222-8237 | dsr_common2/imp/DSR_ROBOT2.py:8518-8533 | dsr_common2/imp/DSR_ROBOT2.py:8680-8695 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_common2/imp/DSR_ROBOT2.py:2752\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:3374\u0060 calls \u0060_check_valid_vel_acc_task\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:2747\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e853ef07e8a1ff430177b5762b3110456caf10c91cabb2a23e3462ee18bfa3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:5451-5466 | dsr_common2/imp/DSR_ROBOT2.py:5548-5563 | dsr_common2/imp/DSR_ROBOT2.py:5682-5697 | dsr_common2/imp/DSR_ROBOT2.py:10585-10600 | dsr_common2/imp/DSR_ROBOT2.py:10682-10697 | dsr_common2/imp/DSR_ROBOT2.py:10816-10831 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9918443896d32dc08776e76619ba4725a7cdf406f450caa9a0d659ab7c2e6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4186-4201 | dsr_common2/imp/DSR_ROBOT2.py:4811-4826 | dsr_common2/imp/DSR_ROBOT2.py:9320-9335 | dsr_common2/imp/DSR_ROBOT2.py:9945-9960 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4186}}}],"partialFingerprints":{"codehealthFindingId/v1":"93feebd10e28896278dfb20e9b9000ee3af0b2ad823b279844bbb7f096c380a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4257-4272 | dsr_common2/imp/DSR_ROBOT2.py:4482-4497 | dsr_common2/imp/DSR_ROBOT2.py:9391-9406 | dsr_common2/imp/DSR_ROBOT2.py:9616-9631 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0439ae806882fc2935c2f2f434c69fe2ee676f63cead6c5888a7e01a3ca5f031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4324-4337 | dsr_common2/imp/DSR_ROBOT2.py:4566-4581 | dsr_common2/imp/DSR_ROBOT2.py:9458-9471 | dsr_common2/imp/DSR_ROBOT2.py:9700-9715 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cdd92aa2811196e51a49b1e72b73fd0064e1900b433aa1b1c1d2099b51a60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:1601-1616 | dsr_common2/imp/DSR_ROBOT2.py:1620-1635 | dsr_common2/imp/DSR_ROBOT2.py:1741-1756 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e151935e31b5163dc708af84cf88115da600e64ab14486a8d05dba1d68018f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:1626-1641 | dsr_common2/imp/DSR_ROBOT2.py:1747-1762 | dsr_common2/imp/DSR_ROBOT2.py:1910-1924 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"85507887afe15ab62eaa49428e3b27c1531b6a67ef8f5facc93a7149bd8156d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:4583-4598 | dsr_common2/imp/DSR_ROBOT2.py:4631-4646 | dsr_common2/imp/DSR_ROBOT2.py:9765-9780 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4583}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65459fcfb3af267929aa7b8c424d89b78f734423023fbde6a0f24adf22eebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1061-1076 | dsr_common2/imp/DSR_ROBOT2.py:7253-7268 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b722e3ce67ec42e297428097d5f59cce1fcac14c1d63b6a89296fb6fff9c3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3281-3296 | dsr_common2/imp/DSR_ROBOT2.py:8420-8435 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c33bc140e45f743983df5b6f0328e3d93ad61f71ce016f2b445675e23dc4248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3425-3440 | dsr_common2/imp/DSR_ROBOT2.py:8564-8579 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e50babfd9af077db6161e8ff18330452d60988193ba278aca5827f766358bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3578-3593 | dsr_common2/imp/DSR_ROBOT2.py:8717-8732 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9578e2e81262a087cba8d743e7d4befbeaa3fdd5f1d782732d4b73a792cbbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5251-5266 | dsr_common2/imp/DSR_ROBOT2.py:10385-10400 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5251}}}],"partialFingerprints":{"codehealthFindingId/v1":"700193c976eaa0c639e7b4a74c9a88f91aba380a2f7b503df640ff642bec66f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5323-5338 | dsr_common2/imp/DSR_ROBOT2.py:10457-10472 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5323}}}],"partialFingerprints":{"codehealthFindingId/v1":"38daa56c222379917853cbf3681777006edaa253648015f8f295d847a45d267e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:2614-2628 | dsr_common2/imp/DSR_ROBOT2.py:2760-2774 | dsr_common2/imp/DSR_ROBOT2.py:2927-2941 | dsr_common2/imp/DSR_ROBOT2.py:7767-7781 | dsr_common2/imp/DSR_ROBOT2.py:7906-7920 | dsr_common2/imp/DSR_ROBOT2.py:8069-8083 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61605fe006d71b93deccc4a5eca5d0b65068f45f156d4f6469c3aa6711368ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4935-4949 | dsr_common2/imp/DSR_ROBOT2.py:5787-5800 | dsr_common2/imp/DSR_ROBOT2.py:10069-10083 | dsr_common2/imp/DSR_ROBOT2.py:10921-10934 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4935}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21bd8215e487eb6c2beaba0b6dc4513540345c4a43a6c785a015083352d9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:5207-5220 | dsr_common2/imp/DSR_ROBOT2.py:5231-5245 | dsr_common2/imp/DSR_ROBOT2.py:10341-10354 | dsr_common2/imp/DSR_ROBOT2.py:10365-10379 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5207}}}],"partialFingerprints":{"codehealthFindingId/v1":"02318f7f19d8eb49c6f704f76a3d5a981802483cc8529cb711dea16cae550b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:1634-1648 | dsr_common2/imp/DSR_ROBOT2.py:1755-1769 | dsr_common2/imp/DSR_ROBOT2.py:1970-1984 \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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae89d103d1684c9167099c9df102f05838f66a0cc8b0ddf01ffb7bc4e7fd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4372-4386 | dsr_common2/imp/DSR_ROBOT2.py:9506-9520 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe248de6045f8fd882bd39764d44339f9de0efbf188bc667ce450fb8ee0ca46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4653-4667 | dsr_common2/imp/DSR_ROBOT2.py:9787-9801 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4653}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a268d661306e87a00614321d840c01948ac00d8c40b5b41a3a31284d470d351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5817-5831 | dsr_common2/imp/DSR_ROBOT2.py:10950-10964 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5817}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fa8f98145ee6142b0641d7aec5507670f6787ae61fabee4d0c39c714bc276e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 20): dsr_common2/imp/DSR_ROBOT2.py:1521-1534 | dsr_common2/imp/DSR_ROBOT2.py:1540-1553 | dsr_common2/imp/DSR_ROBOT2.py:1791-1804 | dsr_common2/imp/DSR_ROBOT2.py:1810-1823 | dsr_common2/imp/DSR_ROBOT2.py:2555-2568 | dsr_common2/imp/DSR_ROBOT2.py:2574-2587 | dsr_common2/imp/DSR_ROBOT2.py:2688-2701 | dsr_common2/imp/DSR_ROBOT2.py:2707-2720 | dsr_common2/imp/DSR_ROBOT2.py:3207-3220 | dsr_common2/imp/DSR_ROBOT2.py:3226-3239 | dsr_common2/imp/DSR_ROBOT2.py:3629-3642 | dsr_common2/imp/DSR_ROBOT2.py:3648-3661 | dsr_common2/imp/DSR_ROBOT2.py:7708-7721 | dsr_common2/imp/DSR_ROBOT2.py:7727-7740 | dsr_common2/imp/DSR_ROBOT2.py:7836-7849 | dsr_common2/imp/DSR_ROBOT2.py:7855-7868 | dsr_common2/imp/DSR_ROBOT2.py:8340-8353 | dsr_common2/imp/DSR_ROBOT2.py:8359-8372 | dsr_common2/imp/DSR_ROBOT2.py:8768-8781 | dsr_common2/imp/DSR_ROBOT2.py:8787-8800 \u2014 all 20 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01372663370a62e4abeec4eb0cff3d4ead09044bab15a5452aded28605544e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:165-178 | dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:150-164 | dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:188-201 | dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:250-264 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:260-274 | dsr_controller2/launch/dsr_controller2.launch.py:115-128 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:173-186 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:149\u0060 calls \u0060LaunchConfiguration\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:164\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6456f93be227f71701fb51046d6e503deac2c99d0a8073908d6ccc72cc9bf539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:217-230 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:238-251 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:217-230 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:238-251 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:217-230 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:238-251 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:236\u0060 calls \u0060LaunchConfiguration\u0060, \u0060perform\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:216\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"05166f9e391eeeaab43ad346a4088b194ef27a6ef2607673c2bb848c8a94382b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:2601-2614 | dsr_common2/imp/DSR_ROBOT2.py:2734-2747 | dsr_common2/imp/DSR_ROBOT2.py:2901-2914 | dsr_common2/imp/DSR_ROBOT2.py:3069-3082 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef10b6f301ea09a4fa99dde008be168e84290996b49e50df96d7ced20da5d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4347-4359 | dsr_common2/imp/DSR_ROBOT2.py:4592-4605 | dsr_common2/imp/DSR_ROBOT2.py:9481-9493 | dsr_common2/imp/DSR_ROBOT2.py:9726-9739 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8896112f74e27a01230d6c93f72ae145ca3c5312128b2c1cbcb458c7cca89c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:7754-7767 | dsr_common2/imp/DSR_ROBOT2.py:7882-7893 | dsr_common2/imp/DSR_ROBOT2.py:8045-8056 | dsr_common2/imp/DSR_ROBOT2.py:8206-8217 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3602c2f72b6305bb4a0b2d6c834f49c9995a25db84bdabf7a76ef994976153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:822-835 | dsr_common2/imp/DSR_ROBOT2.py:1168-1181 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c918c34d7172706dd94d8c6df4c5e7a865830fc2b5bd99ffda69f1a4213bccea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1125-1138 | dsr_common2/imp/DSR_ROBOT2.py:7317-7330 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d73c0855f81d209faaffa00f790d6dd0f73283602cdb9881b5e80aa15e0469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2654-2667 | dsr_common2/imp/DSR_ROBOT2.py:7803-7816 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d58949b78251cf5cc15fa6f349ecd912d947d754e604afacc861aa0690995a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2808-2823 | dsr_common2/imp/DSR_ROBOT2.py:7951-7966 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3556d904d31d5dee210c173b09a105e7738e41db4aabef45d6c2f291bc4274f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2972-2987 | dsr_common2/imp/DSR_ROBOT2.py:8111-8126 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cb70f5851d7e5b8483f44f87f0863a813145ea10e9b8d34be3238f61d8d653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3166-3181 | dsr_common2/imp/DSR_ROBOT2.py:8299-8314 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfe9e40d51f3156cbdd485fd942984ff2344dca82efbb0ad7673d2bf51ec6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3711-3726 | dsr_common2/imp/DSR_ROBOT2.py:8847-8862 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a5bd65de98320b03b50dc1c5d94b8ef82dd9dbf98f805f1e47b969421000b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5519-5532 | dsr_common2/imp/DSR_ROBOT2.py:10653-10666 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f627a37ffd956a2bbe9a6c4a4bbab0701887e37958bf9051d146744962a61ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:7025-7038 | dsr_common2/imp/DSR_ROBOT2.py:7360-7373 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":7025}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dd902452048f7021bdd3e292ad3ca981681805e34106b35e9e34b559a78834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): dsr_controller2/launch/dsr_moveit2.launch.py:117-130 | dsr_description2/launch/dsr_description.launch.py:78-88 \u2014 before extracting anything, compare \u0060dsr_controller2/launch/dsr_moveit2.launch.py\u0060 and \u0060dsr_description2/launch/dsr_description.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_controller2/launch/dsr_moveit2.launch.py:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_controller2/launch/dsr_moveit2.launch.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb3e5be33c9197a1ab0cd87dc21ccea9a522838eea4b45d915342a22104e9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 16): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:181-193 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:179-191 | dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:226-238 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:247-259 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:226-238 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:247-259 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:226-238 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:247-259 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:179\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":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a164a19daa4380fd4130049de249a6ecbf927f783551eea0d218aefafa35e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 13): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:92-102 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:155-167 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:155-167 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:155-167 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:92\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":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f21970810778d38046c4f618dea9b32f154711fcf2643f15f0b4e446d21c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): dsr_common2/imp/DSR_ROBOT2.py:5845-5857 | dsr_common2/imp/DSR_ROBOT2.py:5871-5883 | dsr_common2/imp/DSR_ROBOT2.py:5941-5953 | dsr_common2/imp/DSR_ROBOT2.py:6142-6154 | dsr_common2/imp/DSR_ROBOT2.py:6309-6321 | dsr_common2/imp/DSR_ROBOT2.py:10978-10990 | dsr_common2/imp/DSR_ROBOT2.py:11004-11016 | dsr_common2/imp/DSR_ROBOT2.py:11074-11086 | dsr_common2/imp/DSR_ROBOT2.py:11275-11287 | dsr_common2/imp/DSR_ROBOT2.py:11442-11454 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5845}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbdfff8671f0eeac96ee533da8afba236947e9098b9d2896a86edbd11efb358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:167-179 | dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:153-165 | dsr_bringup2/launch/dsr_bringup2_rviz.launch.py:190-202 | dsr_bringup2/launch/dsr_dual_arm_rviz.launch.py:252-265 | dsr_bringup2/launch/dsr_dual_mobile_manipulator_rviz.launch.py:262-275 | dsr_controller2/launch/dsr_controller2.launch.py:117-129 | dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py:175-187 | dsr_tests/launch/dsr_spawner_cli_test.launch.py:34-46 \u2014 before extracting anything, compare \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_bringup2/launch/dsr_bringup2_mujoco.launch.py:149\u0060 calls \u0060LaunchConfiguration\u0060 and \u0060dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py:164\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeaf36900108d87bba973c56ab27b0714776bcb78e7eec3369de199c596e968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): dsr_common2/imp/DSR_ROBOT2.py:5149-5162 | dsr_common2/imp/DSR_ROBOT2.py:5172-5184 | dsr_common2/imp/DSR_ROBOT2.py:5205-5217 | dsr_common2/imp/DSR_ROBOT2.py:5229-5241 | dsr_common2/imp/DSR_ROBOT2.py:10283-10296 | dsr_common2/imp/DSR_ROBOT2.py:10306-10318 | dsr_common2/imp/DSR_ROBOT2.py:10339-10351 | dsr_common2/imp/DSR_ROBOT2.py:10363-10375 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf88e1a72c224111682f92b7117ce4336008008492922f4dde73bbbdd6a4988f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:4370-4382 | dsr_common2/imp/DSR_ROBOT2.py:4617-4629 | dsr_common2/imp/DSR_ROBOT2.py:5733-5743 | dsr_common2/imp/DSR_ROBOT2.py:9504-9516 | dsr_common2/imp/DSR_ROBOT2.py:9751-9763 | dsr_common2/imp/DSR_ROBOT2.py:10867-10877 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97005b660fe1e20c891a35caff07e7149555750e311d96691ade208b5f6c26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:6359-6371 | dsr_common2/imp/DSR_ROBOT2.py:6409-6421 | dsr_common2/imp/DSR_ROBOT2.py:11492-11504 | dsr_common2/imp/DSR_ROBOT2.py:11542-11554 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e37f45d7b4f3cd3a1152d1cedd81bd58b7adb57105fe7730b08f07c16ef10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:679-691 | dsr_common2/imp/DSR_ROBOT2.py:6882-6894 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedc04d7614297a9e809482fbc75514b71e848100f393f384dd41065a5d90c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:975-987 | dsr_common2/imp/DSR_ROBOT2.py:7166-7178 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff41091b4e823bcf8a6d3984b3b334f1fb01443652222980cf60f2c564b427c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1010-1022 | dsr_common2/imp/DSR_ROBOT2.py:7201-7213 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8dc89d5f331cc4c94b929e8bc97b9ce824b05943678fce6984a147074e9f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1092-1104 | dsr_common2/imp/DSR_ROBOT2.py:7284-7296 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14caee6a0fdce887b8de24e2f90e7a9e1280af327be4b5c10c06cf8ea3cb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1200-1212 | dsr_common2/imp/DSR_ROBOT2.py:7392-7404 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114d4f18749853770e60f96fa236f0d64f1c2fe72ef3e3f535f4eee899cf056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4068-4080 | dsr_common2/imp/DSR_ROBOT2.py:9202-9214 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44680f5f6f8c4e281191f7f7fc5779529c586ff753d0acd805aec817765e5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4341-4353 | dsr_common2/imp/DSR_ROBOT2.py:4386-4398 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4341}}}],"partialFingerprints":{"codehealthFindingId/v1":"600df341b5deaa68556e29267fa23bb952f5af25fe8f066777e878f112b4e0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:5301-5313 | dsr_common2/imp/DSR_ROBOT2.py:10435-10447 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00136b8052151175dddb6fbe428e2d3c810ca587f1f0b01de1dac9351c3c986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:9475-9487 | dsr_common2/imp/DSR_ROBOT2.py:9520-9532 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":9475}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c70344b6f26dcd35163e545f294d4b793693833215a466cb98ae7766b57484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:826-837 | dsr_common2/imp/DSR_ROBOT2.py:1172-1183 | dsr_common2/imp/DSR_ROBOT2.py:1285-1296 | dsr_common2/imp/DSR_ROBOT2.py:7029-7040 | dsr_common2/imp/DSR_ROBOT2.py:7364-7375 | dsr_common2/imp/DSR_ROBOT2.py:7478-7489 \u2014 all 6 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"271708f85e807a6d56915cef889af8331922c7926510a12c0450ed361ba624fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:4262-4273 | dsr_common2/imp/DSR_ROBOT2.py:4279-4289 | dsr_common2/imp/DSR_ROBOT2.py:4487-4498 | dsr_common2/imp/DSR_ROBOT2.py:9396-9407 | dsr_common2/imp/DSR_ROBOT2.py:9413-9423 | dsr_common2/imp/DSR_ROBOT2.py:9621-9632 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"75441fce497743a68c48953dc56807ad4446ba73743b94fdfe4461b937214f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:4719-4730 | dsr_common2/imp/DSR_ROBOT2.py:4763-4774 | dsr_common2/imp/DSR_ROBOT2.py:5399-5410 | dsr_common2/imp/DSR_ROBOT2.py:9853-9864 | dsr_common2/imp/DSR_ROBOT2.py:9897-9908 | dsr_common2/imp/DSR_ROBOT2.py:10533-10544 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4719}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6f546206ffaf1154ee41c07cb4ed9d825dd1ee0a9ed1286bd403ce23246625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:127-138 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:147-158 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:127-138 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:147-158 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:127-138 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:147-158 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f49411d26a03e230e81879cff94d9911204ea79b2a4e942dee35a1581a5b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): dsr_common2/imp/DSR_ROBOT2.py:1631-1642 | dsr_common2/imp/DSR_ROBOT2.py:1688-1699 | dsr_common2/imp/DSR_ROBOT2.py:1752-1763 | dsr_common2/imp/DSR_ROBOT2.py:1914-1925 | dsr_common2/imp/DSR_ROBOT2.py:1998-2009 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:1627\u0060 calls \u0060DR_Error\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:1687\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a1546cdee369c07fe51909d027d0dd5591ea25835e56939043b72b0d737da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): dsr_common2/imp/DSR_ROBOT2.py:2261-2272 | dsr_common2/imp/DSR_ROBOT2.py:2284-2295 | dsr_common2/imp/DSR_ROBOT2.py:2317-2328 | dsr_common2/imp/DSR_ROBOT2.py:2350-2361 | dsr_common2/imp/DSR_ROBOT2.py:2524-2535 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"910908d30b699f018d44230deb7a54bbd55c7eb4f4e33b07b93439093b9b6332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4218-4229 | dsr_common2/imp/DSR_ROBOT2.py:4437-4448 | dsr_common2/imp/DSR_ROBOT2.py:9352-9363 | dsr_common2/imp/DSR_ROBOT2.py:9571-9582 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c25ee4d31314375d66ade70b11c8f89d23ef909327646c6aae98415a204596e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:5437-5448 | dsr_common2/imp/DSR_ROBOT2.py:5524-5535 | dsr_common2/imp/DSR_ROBOT2.py:10571-10582 | dsr_common2/imp/DSR_ROBOT2.py:10658-10669 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98633f9a0454aa9f25686ae1731085c91a57e2eda13327f4c1271f97f9eb1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): dsr_common2/imp/DSR_ROBOT2.py:2086-2097 | dsr_common2/imp/DSR_ROBOT2.py:2109-2120 | dsr_common2/imp/DSR_ROBOT2.py:2138-2149 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f98a3a04c3c41973d2082b5cb7a9676616db573116e852ce831867f79014e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py:115-125 | dsr_gazebo2/launch/dsr_gazebo.launch.py:117-127 | dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py:117-128 \u2014 before extracting anything, compare \u0060dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py\u0060 and \u0060dsr_gazebo2/launch/dsr_gazebo.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0f4f39b98521f22b98c0b8f1c5cff47c2eb5c5fd8acde0e1003c9a77439e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:657-668 | dsr_common2/imp/DSR_ROBOT2.py:6860-6871 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae5a5da59f8bb58e1ef0693580b9193469ca6d0134f998fd6b48fd6228235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:700-711 | dsr_common2/imp/DSR_ROBOT2.py:6903-6914 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b91939ed91ffade9b43705581586dc591b3907aaf928e83696445e3392f0e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:719-730 | dsr_common2/imp/DSR_ROBOT2.py:6922-6933 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb88e2592dd43909cd9bb612c66e98ccf1363f5b6f5e781b0a522cb79e3f4ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:761-772 | dsr_common2/imp/DSR_ROBOT2.py:6964-6975 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f980ad3b9bba442a09ea7aacda4b481585321809549d334d3336f8a24dc782d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:807-818 | dsr_common2/imp/DSR_ROBOT2.py:7010-7021 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd00b55f5bed04df3c30b7cbcc215731aa4e045816f8d247b0ebe513fe5fc5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:845-856 | dsr_common2/imp/DSR_ROBOT2.py:7048-7059 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eaaf33158c2feb8d65f55548cd8116283c50d4b0f1e5abb49ca89c1ef22b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:889-900 | dsr_common2/imp/DSR_ROBOT2.py:7092-7103 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cbc967d0ab96376004830d52fa97f6ca8318123c9f0b0cf60531f10bc7b408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:907-918 | dsr_common2/imp/DSR_ROBOT2.py:7110-7121 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f751282431e3485bb83bf61686ab5cfcf05181fd5d7ce8ba8d4e97c359dad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:994-1005 | dsr_common2/imp/DSR_ROBOT2.py:7185-7196 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7d7c2694521ef7418e9211ac427b6fb1c950f8f010ca67bb2bed79aa11271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1109-1120 | dsr_common2/imp/DSR_ROBOT2.py:7301-7312 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"65732d80848e943bd99a7c752b96954a2d863c0f4f28bf9478dfc7fb23631079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1154-1165 | dsr_common2/imp/DSR_ROBOT2.py:7346-7357 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdc49a0865f6a53f21921e63314ba7d25cb338a61d9681fc44c31794db6b237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1219-1230 | dsr_common2/imp/DSR_ROBOT2.py:7411-7422 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb2ddefcc7b5bf641d4bee6e92e81594f607fc444464411aa368a7fc239ba0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1237-1248 | dsr_common2/imp/DSR_ROBOT2.py:7429-7440 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5e5f03ccbb6e513f8d707cae6e9c29898b7961d6dc449a9da99c8e7294e640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1300-1311 | dsr_common2/imp/DSR_ROBOT2.py:7493-7504 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a924ce4be1eadc56689833295a59943a655431858cc905a59b02badf63e70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1318-1329 | dsr_common2/imp/DSR_ROBOT2.py:7511-7522 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca59e9bdf3cd639dbda44b37444a7ef1013430a544267f66479c25cc3976e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1335-1346 | dsr_common2/imp/DSR_ROBOT2.py:7528-7539 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c01605ed5bdf3939b6a8d2c73743d506423d5388e183d105e40cbb7bc07380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1377-1388 | dsr_common2/imp/DSR_ROBOT2.py:7571-7582 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"845775d682a4a339362cca25a027369f1446bafcb70fe137fc1eb4321b6ce605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1409-1420 | dsr_common2/imp/DSR_ROBOT2.py:7603-7614 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ead0416df34628691a5bc1225635921784a3e317af14cedb2f88e0638cb330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1449-1460 | dsr_common2/imp/DSR_ROBOT2.py:7643-7654 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa30194f85f0cf92857df400bd2585e8292a2be76797cbaae5fb7abedd26d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2161-2172 | dsr_common2/imp/DSR_ROBOT2.py:2184-2195 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a09f54dd73b660d5fb434567eca92df5f14fb66f2410772c9374be9b70dd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2211-2222 | dsr_common2/imp/DSR_ROBOT2.py:2238-2249 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca0c330157d548a174163daf76dcf7920c9bf16338f81f4978e33cf04f12ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3889-3900 | dsr_common2/imp/DSR_ROBOT2.py:9023-9034 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3889}}}],"partialFingerprints":{"codehealthFindingId/v1":"c293cd6995164991139cf8712e8f1e57ed3b31d13aa8392f36b97eebc473f867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4152-4163 | dsr_common2/imp/DSR_ROBOT2.py:9286-9297 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f785219db29a8e2c75e2056640f25958a440d0f491d90c73d6cd8b923b34b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:6053-6064 | dsr_common2/imp/DSR_ROBOT2.py:11186-11197 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6053}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32118d364dbea9b4b67f118842669bc6f7de16845185cc867480b89234f3d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:6641-6653 | dsr_common2/imp/DSR_ROBOT2.py:11774-11785 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6641}}}],"partialFingerprints":{"codehealthFindingId/v1":"51afb089bc0dba0e685405d367d5ce52fae8342a405637bfc09e5e59c2277f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 123): dsr_common2/imp/DSR_ROBOT2.py:636-646 | dsr_common2/imp/DSR_ROBOT2.py:742-752 | dsr_common2/imp/DSR_ROBOT2.py:784-794 | dsr_common2/imp/DSR_ROBOT2.py:870-880 | dsr_common2/imp/DSR_ROBOT2.py:1476-1486 | dsr_common2/imp/DSR_ROBOT2.py:2043-2053 | dsr_common2/imp/DSR_ROBOT2.py:2654-2664 | dsr_common2/imp/DSR_ROBOT2.py:2808-2818 | dsr_common2/imp/DSR_ROBOT2.py:2972-2982 | dsr_common2/imp/DSR_ROBOT2.py:3166-3176 | dsr_common2/imp/DSR_ROBOT2.py:3281-3291 | dsr_common2/imp/DSR_ROBOT2.py:3425-3435 | dsr_common2/imp/DSR_ROBOT2.py:3578-3588 | dsr_common2/imp/DSR_ROBOT2.py:3711-3721 | dsr_common2/imp/DSR_ROBOT2.py:3811-3821 | dsr_common2/imp/DSR_ROBOT2.py:3842-3852 | dsr_common2/imp/DSR_ROBOT2.py:3870-3880 | dsr_common2/imp/DSR_ROBOT2.py:3914-3924 | dsr_common2/imp/DSR_ROBOT2.py:3972-3982 | dsr_common2/imp/DSR_ROBOT2.py:3998-4008 | dsr_common2/imp/DSR_ROBOT2.py:4017-4027 | dsr_common2/imp/DSR_ROBOT2.py:4042-4052 | dsr_common2/imp/DSR_ROBOT2.py:4099-4109 | dsr_common2/imp/DSR_ROBOT2.py:4128-4138 | dsr_common2/imp/DSR_ROBOT2.py:4172-4182 | dsr_common2/imp/DSR_ROBOT2.py:4322-4332 | dsr_common2/imp/DSR_ROBOT2.py:4344-4354 | dsr_common2/imp/DSR_ROBOT2.py:4368-4378 | dsr_common2/imp/DSR_ROBOT2.py:4389-4399 | dsr_common2/imp/DSR_ROBOT2.py:4564-4574 | dsr_common2/imp/DSR_ROBOT2.py:4589-4599 | dsr_common2/imp/DSR_ROBOT2.py:4615-4625 | dsr_common2/imp/DSR_ROBOT2.py:4637-4647 | dsr_common2/imp/DSR_ROBOT2.py:4674-4683 | dsr_common2/imp/DSR_ROBOT2.py:4693-4703 | dsr_common2/imp/DSR_ROBOT2.py:4737-4747 | dsr_common2/imp/DSR_ROBOT2.py:4781-4791 | dsr_common2/imp/DSR_ROBOT2.py:5384-5394 | dsr_common2/imp/DSR_ROBOT2.py:5415-5425 | dsr_common2/imp/DSR_ROBOT2.py:5502-5512 | dsr_common2/imp/DSR_ROBOT2.py:5577-5587 | dsr_common2/imp/DSR_ROBOT2.py:5731-5741 | dsr_common2/imp/DSR_ROBOT2.py:5753-5763 | dsr_common2/imp/DSR_ROBOT2.py:5915-5925 | dsr_common2/imp/DSR_ROBOT2.py:5996-6006 | dsr_common2/imp/DSR_ROBOT2.py:6037-6047 | dsr_common2/imp/DSR_ROBOT2.py:6070-6080 | dsr_common2/imp/DSR_ROBOT2.py:6115-6125 | dsr_common2/imp/DSR_ROBOT2.py:6227-6237 | dsr_common2/imp/DSR_ROBOT2.py:6252-6262 | dsr_common2/imp/DSR_ROBOT2.py:6284-6294 | dsr_common2/imp/DSR_ROBOT2.py:6339-6349 | dsr_common2/imp/DSR_ROBOT2.py:6388-6398 | dsr_common2/imp/DSR_ROBOT2.py:6433-6443 | dsr_common2/imp/DSR_ROBOT2.py:6458-6468 | dsr_common2/imp/DSR_ROBOT2.py:6482-6492 | dsr_common2/imp/DSR_ROBOT2.py:6509-6519 | dsr_common2/imp/DSR_ROBOT2.py:6533-6543 | dsr_common2/imp/DSR_ROBOT2.py:6560-6570 | dsr_common2/imp/DSR_ROBOT2.py:6584-6594 | dsr_common2/imp/DSR_ROBOT2.py:6603-6613 | dsr_common2/imp/DSR_ROBOT2.py:6622-6632 | dsr_common2/imp/DSR_ROBOT2.py:6839-6849 | dsr_common2/imp/DSR_ROBOT2.py:6945-6955 | dsr_common2/imp/DSR_ROBOT2.py:6987-6997 | dsr_common2/imp/DSR_ROBOT2.py:7073-7083 | dsr_common2/imp/DSR_ROBOT2.py:7670-7680 | dsr_common2/imp/DSR_ROBOT2.py:7803-7813 | dsr_common2/imp/DSR_ROBOT2.py:7951-7961 | dsr_common2/imp/DSR_ROBOT2.py:8111-8121 | dsr_common2/imp/DSR_ROBOT2.py:8299-8309 | dsr_common2/imp/DSR_ROBOT2.py:8420-8430 | dsr_common2/imp/DSR_ROBOT2.py:8564-8574 | dsr_common2/imp/DSR_ROBOT2.py:8717-8727 | dsr_common2/imp/DSR_ROBOT2.py:8847-8857 | dsr_common2/imp/DSR_ROBOT2.py:8944-8954 | dsr_common2/imp/DSR_ROBOT2.py:8975-8985 | dsr_common2/imp/DSR_ROBOT2.py:9004-9014 | dsr_common2/imp/DSR_ROBOT2.py:9048-9058 | dsr_common2/imp/DSR_ROBOT2.py:9106-9116 | dsr_common2/imp/DSR_ROBOT2.py:9132-9142 | dsr_common2/imp/DSR_ROBOT2.py:9151-9161 | dsr_common2/imp/DSR_ROBOT2.py:9176-9186 | dsr_common2/imp/DSR_ROBOT2.py:9233-9243 | dsr_common2/imp/DSR_ROBOT2.py:9263-9273 | dsr_common2/imp/DSR_ROBOT2.py:9306-9316 | dsr_common2/imp/DSR_ROBOT2.py:9456-9466 | dsr_common2/imp/DSR_ROBOT2.py:9478-9488 | dsr_common2/imp/DSR_ROBOT2.py:9502-9512 | dsr_common2/imp/DSR_ROBOT2.py:9523-9533 | dsr_common2/imp/DSR_ROBOT2.py:9698-9708 | dsr_common2/imp/DSR_ROBOT2.py:9723-9733 | dsr_common2/imp/DSR_ROBOT2.py:9749-9759 | dsr_common2/imp/DSR_ROBOT2.py:9771-9781 | dsr_common2/imp/DSR_ROBOT2.py:9808-9817 | dsr_common2/imp/DSR_ROBOT2.py:9827-9837 | dsr_common2/imp/DSR_ROBOT2.py:9871-9881 | dsr_common2/imp/DSR_ROBOT2.py:9915-9925 | dsr_common2/imp/DSR_ROBOT2.py:10518-10528 | dsr_common2/imp/DSR_ROBOT2.py:10549-10559 | dsr_common2/imp/DSR_ROBOT2.py:10636-10646 | dsr_common2/imp/DSR_ROBOT2.py:10711-10721 | dsr_common2/imp/DSR_ROBOT2.py:10865-10875 | dsr_common2/imp/DSR_ROBOT2.py:10887-10897 | dsr_common2/imp/DSR_ROBOT2.py:11048-11058 | dsr_common2/imp/DSR_ROBOT2.py:11129-11139 | dsr_common2/imp/DSR_ROBOT2.py:11170-11180 | dsr_common2/imp/DSR_ROBOT2.py:11203-11213 | dsr_common2/imp/DSR_ROBOT2.py:11248-11258 | dsr_common2/imp/DSR_ROBOT2.py:11360-11370 | dsr_common2/imp/DSR_ROBOT2.py:11385-11395 | dsr_common2/imp/DSR_ROBOT2.py:11418-11428 | dsr_common2/imp/DSR_ROBOT2.py:11472-11482 | dsr_common2/imp/DSR_ROBOT2.py:11521-11531 | dsr_common2/imp/DSR_ROBOT2.py:11566-11576 | dsr_common2/imp/DSR_ROBOT2.py:11591-11601 | dsr_common2/imp/DSR_ROBOT2.py:11615-11625 | dsr_common2/imp/DSR_ROBOT2.py:11642-11652 | dsr_common2/imp/DSR_ROBOT2.py:11666-11676 | dsr_common2/imp/DSR_ROBOT2.py:11693-11703 | dsr_common2/imp/DSR_ROBOT2.py:11717-11727 | dsr_common2/imp/DSR_ROBOT2.py:11736-11746 | dsr_common2/imp/DSR_ROBOT2.py:11755-11765 \u2014 all 123 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:632\u0060 calls \u0060wait_for_service\u0060, \u0060get_logger\u0060, \u0060info\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:739\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"132bc2cc68adbcef2d9f99fdd96b053122c355008239bc81a37af5b1575e3232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12): dsr_common2/imp/DSR_ROBOT2.py:5149-5159 | dsr_common2/imp/DSR_ROBOT2.py:5172-5182 | dsr_common2/imp/DSR_ROBOT2.py:5205-5215 | dsr_common2/imp/DSR_ROBOT2.py:5229-5239 | dsr_common2/imp/DSR_ROBOT2.py:5251-5261 | dsr_common2/imp/DSR_ROBOT2.py:5301-5311 | dsr_common2/imp/DSR_ROBOT2.py:10283-10293 | dsr_common2/imp/DSR_ROBOT2.py:10306-10316 | dsr_common2/imp/DSR_ROBOT2.py:10339-10349 | dsr_common2/imp/DSR_ROBOT2.py:10363-10373 | dsr_common2/imp/DSR_ROBOT2.py:10385-10395 | dsr_common2/imp/DSR_ROBOT2.py:10435-10445 \u2014 all 12 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":5149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded1dd89a32bd30eacc827f3a2d578be2c928215575aa28c224aadae26fe86e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 6): dsr_common2/imp/DSR_ROBOT2.py:1108-1118 | dsr_common2/imp/DSR_ROBOT2.py:1354-1362 | dsr_common2/imp/DSR_ROBOT2.py:3941-3951 | dsr_common2/imp/DSR_ROBOT2.py:7300-7310 | dsr_common2/imp/DSR_ROBOT2.py:7548-7556 | dsr_common2/imp/DSR_ROBOT2.py:9075-9085 \u2014 all 6 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15b5ae1b16d360ef966322fb81606da77e28d50104b63c410a15aaca7e41149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:807-817 | dsr_common2/imp/DSR_ROBOT2.py:1061-1071 | dsr_common2/imp/DSR_ROBOT2.py:7010-7020 | dsr_common2/imp/DSR_ROBOT2.py:7253-7263 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4598f40c804ff19bbf3dcf9949dab9ea6f0d17c2e7efa164d372a21f34285ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:975-985 | dsr_common2/imp/DSR_ROBOT2.py:1125-1135 | dsr_common2/imp/DSR_ROBOT2.py:7166-7176 | dsr_common2/imp/DSR_ROBOT2.py:7317-7327 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c1f805b94ea4c95d1e066ad54c8cdca6dc104e9403f2ad4d19436c71750690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:6014-6024 | dsr_common2/imp/DSR_ROBOT2.py:6052-6062 | dsr_common2/imp/DSR_ROBOT2.py:11147-11157 | dsr_common2/imp/DSR_ROBOT2.py:11185-11195 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6014}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c68f27b7c955744b0401aa9552dc505744f88465d8568cc2af019426e14bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:925-935 | dsr_common2/imp/DSR_ROBOT2.py:950-960 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d4504349ac8032676410efe1fcb13899bf8c7643cdc4aa2de7131d9a9dd0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3149-3159 | dsr_common2/imp/DSR_ROBOT2.py:8284-8294 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e816839f48fdd07cdab0c2651e926a8aedc23cc5ccbade084af66e979eb6353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 18): dsr_common2/imp/DSR_ROBOT2.py:975-984 | dsr_common2/imp/DSR_ROBOT2.py:994-1003 | dsr_common2/imp/DSR_ROBOT2.py:1125-1134 | dsr_common2/imp/DSR_ROBOT2.py:1154-1163 | dsr_common2/imp/DSR_ROBOT2.py:1219-1228 | dsr_common2/imp/DSR_ROBOT2.py:1237-1246 | dsr_common2/imp/DSR_ROBOT2.py:4935-4944 | dsr_common2/imp/DSR_ROBOT2.py:5787-5796 | dsr_common2/imp/DSR_ROBOT2.py:7147-7156 | dsr_common2/imp/DSR_ROBOT2.py:7166-7175 | dsr_common2/imp/DSR_ROBOT2.py:7185-7194 | dsr_common2/imp/DSR_ROBOT2.py:7317-7326 | dsr_common2/imp/DSR_ROBOT2.py:7346-7355 | dsr_common2/imp/DSR_ROBOT2.py:7411-7420 | dsr_common2/imp/DSR_ROBOT2.py:7429-7438 | dsr_common2/imp/DSR_ROBOT2.py:7457-7466 | dsr_common2/imp/DSR_ROBOT2.py:10069-10078 | dsr_common2/imp/DSR_ROBOT2.py:10921-10930 \u2014 all 18 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c178466aecd337694a80af1045420b0e56fe2dd873ce9c2cc797f976915a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:2381-2390 | dsr_common2/imp/DSR_ROBOT2.py:2410-2419 | dsr_common2/imp/DSR_ROBOT2.py:2437-2446 | dsr_common2/imp/DSR_ROBOT2.py:2464-2473 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"806af2fca299f2ce1bdc0c11d753af1f92a86bf5fcc11271205694399b3922a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4196-4205 | dsr_common2/imp/DSR_ROBOT2.py:4415-4424 | dsr_common2/imp/DSR_ROBOT2.py:9330-9339 | dsr_common2/imp/DSR_ROBOT2.py:9549-9558 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4196}}}],"partialFingerprints":{"codehealthFindingId/v1":"febf159653b2f9d2e0589437fce08afad2dc21adaec5ecaa1c71fc13fd9f1697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4304-4313 | dsr_common2/imp/DSR_ROBOT2.py:4545-4554 | dsr_common2/imp/DSR_ROBOT2.py:9438-9447 | dsr_common2/imp/DSR_ROBOT2.py:9679-9688 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:4543\u0060 calls \u0060get_posx\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:4302\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac00d847a3217130edffd823260da7692fa3096b60e80c39d8b5a74d19a7d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2364-2373 | dsr_common2/imp/DSR_ROBOT2.py:2393-2402 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ddc4486adff4668b60b0855e32610c338884001c641295c0a0e8b8162e9a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2791-2800 | dsr_common2/imp/DSR_ROBOT2.py:7937-7946 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2791}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c9cc19ea5a0d65b5db4d090302af3fc80be5fb1d0bd32a36bb84428ccd92eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4083-4092 | dsr_common2/imp/DSR_ROBOT2.py:9217-9226 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"388634eee6808f8b11be4c870037e754565a631572e41b1582eb150721e6831f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): dsr_common2/imp/DSR_ROBOT2.py:2261-2269 | dsr_common2/imp/DSR_ROBOT2.py:2284-2292 | dsr_common2/imp/DSR_ROBOT2.py:2317-2325 | dsr_common2/imp/DSR_ROBOT2.py:2350-2358 | dsr_common2/imp/DSR_ROBOT2.py:2381-2389 | dsr_common2/imp/DSR_ROBOT2.py:2410-2418 | dsr_common2/imp/DSR_ROBOT2.py:2437-2445 | dsr_common2/imp/DSR_ROBOT2.py:2464-2472 | dsr_common2/imp/DSR_ROBOT2.py:2524-2532 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1a7c7d2f9daa2955a7707c5bddcbade1425dbfaf998268f23ae21df7dce76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): dsr_common2/imp/DSR_ROBOT2.py:4193-4201 | dsr_common2/imp/DSR_ROBOT2.py:4411-4419 | dsr_common2/imp/DSR_ROBOT2.py:4818-4826 | dsr_common2/imp/DSR_ROBOT2.py:4959-4967 | dsr_common2/imp/DSR_ROBOT2.py:9327-9335 | dsr_common2/imp/DSR_ROBOT2.py:9545-9553 | dsr_common2/imp/DSR_ROBOT2.py:9952-9960 | dsr_common2/imp/DSR_ROBOT2.py:10093-10101 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:4420\u0060 calls \u0060get_kargs\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:4204\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc32e22b049501fd86013fd04931987bf3d77a932f8aa991b59310ccca5caad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:43-51 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:47-55 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:43-51 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:47-55 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:43-51 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:47-55 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py: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":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c860975e28808f5b04ba7987f4170b52d1a9c02cf87c75f88bf45284472c79d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:1600-1608 | dsr_common2/imp/DSR_ROBOT2.py:1619-1627 | dsr_common2/imp/DSR_ROBOT2.py:1725-1733 | dsr_common2/imp/DSR_ROBOT2.py:1740-1748 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dsr_common2/imp/DSR_ROBOT2.py:1612\u0060 calls \u0060DR_Error\u0060 and \u0060dsr_common2/imp/DSR_ROBOT2.py:1736\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aae793622729ac619a45a67809ad3bb3079bd3c1b2171ed343796bace38ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2957-2965 | dsr_common2/imp/DSR_ROBOT2.py:8099-8107 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2957}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad236ead9b1da88c0984096ddbb7d52d4a44a0e3070921c8ab36a45bfefa466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3413-3421 | dsr_common2/imp/DSR_ROBOT2.py:8552-8560 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5973358cc0546fd05e977e1b76a942d1a1aadfb37932bd118bf16fa829dc71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3696-3704 | dsr_common2/imp/DSR_ROBOT2.py:8835-8843 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3696}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eb24cc24edd7994f68215e27306bc1a2c5db3b690aeede362ef701e12d32db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:44-51 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:44-51 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8d181f01dc55d010e5c11f015546e9adfcf54e926141b486cff830956137c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:1859-1866 | dsr_common2/imp/DSR_ROBOT2.py:1872-1879 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1778c13536136380a7c3abb0afc5605c1ef0d9986ec98cd8b7b9f092e2348f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:2640-2647 | dsr_common2/imp/DSR_ROBOT2.py:7793-7800 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f718bdd64491aca4eccafd99a230750499a426b071ec482af63250563e6600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3567-3574 | dsr_common2/imp/DSR_ROBOT2.py:8706-8713 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf653a450f4520e820990943ac9dd00435bca4dafb551172215737758dd38b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 29): dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:38-41 | dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py:43-48 | dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:42-47 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:39-42 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:46-51 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:42-47 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:39-42 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:46-51 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:42-47 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:39-42 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:46-51 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 310 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:40\u0060 calls \u0060LaunchConfiguration\u0060, \u0060perform\u0060 and \u0060dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py:38\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a8cb9cdc2fb20fa49e556bf0f7df282662b6f933ba43717fae87191ba37a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:2958-2963 | dsr_common2/imp/DSR_ROBOT2.py:3150-3155 | dsr_common2/imp/DSR_ROBOT2.py:8100-8105 | dsr_common2/imp/DSR_ROBOT2.py:8285-8290 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd6afa631d4662f3383bdfba1609723dd2f764015622a13e82603d1af136dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:3414-3419 | dsr_common2/imp/DSR_ROBOT2.py:3568-3573 | dsr_common2/imp/DSR_ROBOT2.py:8553-8558 | dsr_common2/imp/DSR_ROBOT2.py:8707-8712 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc48db427d07c3e80344ddcee07ab177ac93740e9c86f64115cbead3b3796eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dsr_bringup2/dsr_bringup2/moveit_connection.py:38-43 | dsr_bringup2/dsr_bringup2/set_config.py:57-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/moveit_connection.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e8ec548374adeb9432c7704edf3a8c2954454a4db6af78d067907bc4596205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:3799-3804 | dsr_common2/imp/DSR_ROBOT2.py:8935-8940 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":3799}}}],"partialFingerprints":{"codehealthFindingId/v1":"a635ccb12188b2b653006f7aba23b724b9390c68358289fa693dc5ff078d6c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py:78-82 | dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py:98-102 | dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py:78-82 | dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py:98-102 | dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py:78-82 | dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py:98-102 \u2014 before extracting anything, compare \u0060dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py\u0060 and \u0060dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 442 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b32abf02aa85150a370fbfe935ac22391576e88eac41161c9c8f0e7504902f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): dsr_common2/imp/DSR_ROBOT2.py:4556-4561 | dsr_common2/imp/DSR_ROBOT2.py:4607-4612 | dsr_common2/imp/DSR_ROBOT2.py:9690-9695 | dsr_common2/imp/DSR_ROBOT2.py:9741-9746 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4556}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d7371e1c6953cb586b018d05ebb037f337f842a24e32959bba7826699b044b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dsr_common2/imp/DSR_ROBOT2.py:4926-4932 | dsr_common2/imp/DSR_ROBOT2.py:10060-10066 \u2014 both copies are in the same file, so extract the block 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":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"642ddeb6bbc22149dce75905ba2972a1a78e3929031abd6f7d23f6863ac1bd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dsr_controller2/launch/dsr_moveit2.launch.py:31-38 | dsr_description2/launch/dsr_description.launch.py:32-39 \u2014 before extracting anything, compare \u0060dsr_controller2/launch/dsr_moveit2.launch.py\u0060 and \u0060dsr_description2/launch/dsr_description.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_controller2/launch/dsr_moveit2.launch.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"daac3430e2ae23dd419696e0a3a81a03818f6a3f46129a6bfd27ce2cb7376be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dsr_controller2/launch/dsr_moveit2.launch.py:41-48 | dsr_description2/launch/dsr_description.launch.py:42-49 \u2014 before extracting anything, compare \u0060dsr_controller2/launch/dsr_moveit2.launch.py\u0060 and \u0060dsr_description2/launch/dsr_description.launch.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"dsr_controller2/launch/dsr_moveit2.launch.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"01348a7a390be8b4ff8f58d699f29be9d5e01cdec5e68b372e05b5219904afbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dsr_common2/imp/DR_tcp_client2.py:152-161 | dsr_common2/imp/DR_tcp_server2.py:177-186 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b50ca5805c52782bc5ef5ec05b3fccded34b07795052908b549247b5585964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): dsr_example2/dsr_example/dsr_example/demo/slope_demo.py:32-43 | dsr_example2/dsr_example/dsr_example/simple/single_robot_simple.py:42-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"dsr_example2/dsr_example/dsr_example/demo/slope_demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a7689e63e635cc131d0f99adc96d13f6d430af4ce1e61e0b52934ccd4593a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CDsrRobot (LCOM4 93): CDsrRobot\u0027s methods fall into 93 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 93 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DSR_ROBOT2.py"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"138bd2f715849dc0438dbf7c0ec63fa9c3c00555fb754bfc3a2071974dfac869"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/controller_config.py: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/controller_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"949ea7a548fa151ddbbd8c589a5e9c91b20f4ab9fb212bc24f09901773f75928"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/dsr_mujoco_bridge.py: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/dsr_mujoco_bridge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"528d227b9678defacae66cdf18f525aaab8c00faffb9d9b87c7213b4ea24b60c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/gazebo_connection.py: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/gazebo_connection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113b6521e4ea7ef99e7869b4472312b5d59cc6c2d9e4cbbb16c66f28b7758b99"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/gazebo_connection_pos.py: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/gazebo_connection_pos.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed36d0354cc9e0c76aaf1231dbd790bf03fa8c3c74d0608eebaecfe41789f53d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/moveit_connection.py: 0.0% line coverage (0/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/moveit_connection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fba056431da3e094e699f6764c987ae1261211fcd3f264337d01289660d486"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/run_emulator.py: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/run_emulator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9570e11961e6ed7eacb4ada57ec58699720097f97063913adc99eddd50a95"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/set_config.py: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/set_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51564ac31f914d4f566df5b2c376810f38c00b3288e0aa64817d65efca5c98"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/dsr_bringup2/utils.py: 0.0% line coverage (0/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6867faa4cf08ccb776198c5c0835cee6da8c30499c40ba178c6394f075ae9cab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_bringup2/setup.py: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48e328087eeed5a2ae4c0c9f932c2f5fa7d3f3f9a8af3248678145767c1b3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_example/dsr_example/demo/dance_m1013.py: 0.0% line coverage (0/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_example/dsr_example/demo/dance_m1013.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0713114c01d65347b7003275a8633977c972d42f5a6635640b35445352d493"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_example/dsr_example/demo/slope_demo.py: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_example/dsr_example/demo/slope_demo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3097845f7d64167169755b45c0e731b0bf82cecf7fc2c9f9e5cb7f7bf4e56faa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_example/dsr_example/simple/single_robot_simple.py: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_example/dsr_example/simple/single_robot_simple.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e843f5f80dcf6c2d9e0d5ccd8aa18b05506590ea64c8c4070b618561fc2fd700"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_mujoco/dsr_mujoco/dsr_build_scene.py: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/dsr_mujoco/dsr_build_scene.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143bb9596edd777a684b7111ae1018b18430728cba6634648ddc2d800633ce53"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_mujoco/dsr_mujoco/dsr_merge_gripper.py: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_mujoco/dsr_mujoco/dsr_merge_gripper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486d33aed7652e81abcaeb548a5f9703f71ec918f454fe7774acaf5a75334e7a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_tests/setup.py: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481da23cc0a63911514582dd4e03464bb53f47e88070e8aa2e868650e26f636"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_example/setup.py: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_example/setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ed75a2e7e069c3d7f8fceead8aace56e483a94b9a3c18950bcd4bc9079d31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_visualservoing/dsr_visualservoing/camera_publisher.py: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/camera_publisher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74b9323ca745c1b2891eed0c7cb75f86512cfc604760ad4c480b30f8f5fe99d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_visualservoing/dsr_visualservoing/detect_marker_gz.py: 0.0% line coverage (0/139)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/detect_marker_gz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48abd7bf4f9c26570f75809044f54a52b657ed3d4768d06071e066f39b380ac3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_visualservoing/dsr_visualservoing/joint90.py: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/joint90.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c5513e1af69590c950bcdfab52d27131dec6856c5247e24123ae7b09db785"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_visualservoing/dsr_visualservoing/send_pose_servol_gz.py: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/send_pose_servol_gz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed1b2afc4e4b37ee8bcd0e4d8bb761a90a2d69441eda6d62bd99896e34a296"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: dsr_example2/dsr_visualservoing/setup.py: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2777ab166bfd148f1ec0e7ceb5c1eb3bd1b2b0562b27150934e641690cdd52"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_flake8: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022The package sources have not been brought up to flake8 style yet.\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/test/test_flake8.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfca7e81648b916135c1094481666e9a6a4ec825ae9d99fd3f704fcb718aa0c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### !Note: Currently, real mode doesn\u0027t work. (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f879a795fc5fdfa30ef6b2b1eebdf7fc4a8c7d5cc060ef244762a8a5185934"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: handle node only once over classes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b4f742fd63380f3b77e64d0ec0649a365a0f2231a7551b6030d66a5099b412"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0da5d21b4fd390affa9533a5f19d7d811d57f17a72aac7515d6fa1334c8895"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e23c899b39211c9a230967009f6fccf42d77bb12218c927ad757aad88571b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f411681ae5639110db558c7560f038a1825ffe80cc7683e0d681f56483567af1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a43400040fbcb4088dcab46d7bd815eca57f2e7990cdef2d59eadee07807b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad008b9a8f9185344c374964738532e84314fa262c775edf5a3c5f8ca1e28104"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e5f0a692c2610f2d7038e0e48856b6740c0806c168c97de609a1b6484fc095"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: Move home service occurs asynchronously. need to update logic to wait. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"64076055fabd161f314e903eadca2b00384837713400e8997315dc19029b5f27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # \t## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"22822928f7c2ff9c194c61bad35c980d2bbaf75142c62f0265139b7da491a513"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # ## TODO: fix hard code section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba84d2e2b1ab2607d001093dbf82e4416e9c94151a37e2ea9b3523cad41c19e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### Note: we added sleep to make sure set_current_tool works (TODO: Fix service) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe44126cdb574fcb71b8201b185bfc7b2786e573d810371b3d879c6483db373"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### Note: we added sleep to make sure set_current_tool works (TODO: Fix service) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"7148573ae91947fc85116c93d3bd1e16a35f980f638732ff86dddf42ac4455b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### Note: we added sleep to make sure set_current_tool works (TODO: Fix service) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a4385b89edcf75bf9a510598e03fc196b64b33f5bc4fd857a7b1252539856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # \t\u0022\u0022\u0022 TODO : Operating in API but not operating in ROS 2 \u0022\u0022\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874265e22a34b73d2ae0ff5c6921b41ff3781303ef2380b43566a7c246c0635"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # \t\u0022\u0022\u0022 TODO : Operating in API but not operating in ROS 2 \u0022\u0022\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee15044ac6d6f84e83127c3ea9d885f8bf062b08b3b009285347340fefe2674"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # \t\u0022\u0022\u0022 TODO : Do not create Coordinate Transform Result \u0022\u0022\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce42316cf9e8be6eb8cf1c7435c7b02572cdd3959d77324609993d0a2b48565d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### Note: we added sleep to make sure set_current_tool works (TODO: Fix ) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/test/test_cli_dsr_system.py"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc6f5c28e6594eb6d3453b99f2152bc8bd518b10835ce3dbc2df0c38c8d23b5"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060dsr_tests/setup.py\u0060 makes this repository a deployable product (line 25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_tests/setup.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a5f6355a9d0f4e4e8833642e21ca073da37d9071ed478cb10f91da2f2796d"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"102e2dc12cc9aab1e20cdd3744cdb306c6dfb890573a4242112f735d998b7472"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bd337a577fbde29bf2a63cc17cdcd4da38704a6e794689952ccbac81cf2d265"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23d7cd69bade4e539cf4406b2962bea90a468d8f31db8dad4bb601cedb67d7f1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b51a2f7dde20710a2b7e23d6f43643473bcc1d97e07f09b483d71b0f06980159"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c80ff877858ba8123bae1d8deb97ef5995b31a3adc594df663172f10f0904fe5"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe0614678c80d99e8c926ea02078c96849a4cd80b8cf6ffeb08f4b9bd25b646a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d65bd993f9b72acd13ade2d5402b7752759a364098f7c46ad909e03608bdbe80"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5120caf1d34d4e042170b27ac8a29f605f50484bc73e4d2940ce63bb095d87ea"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3880dfb8f33161c80aad2c8c9d08f1dc67fd351abe5fccce02a8e9fc49b4dd71"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce7c95ca8a54fdf14b9843cbf63cbbe1c22bc9f7c5a162daba20a6dec4f3e030"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"271d1e9e94fc6ff53f6eddce7552696f10542543fd124990d555740878461e33"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccf243f34f67aa3603c9524d027a270e30dd69b7189ebb8d6ab8f46043dea6f8"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f02e8c2bd529d1369ae753048a47d690ffd179af51b4dc8ac953b96135d1ae6"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"162391502426687e0f703ff4a38e4b9e6a70204dfaabf9dabd4f984f062022fa"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7de54cc7a9fcd3b3071a4f1356b824b8962d2a4a568b7ed5b7825b7e67eb177"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f7870905b4bea54e8d6962b802a77fb3557e991ce3cb5e6d02ea40ea267aa4a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f78de0e7361cbb6ffb981da0fca38a0d7002ff76f930cdb0bee42fdc6ce70963"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d4cf821fabde2f8537f2146ab0aad72494f995d9e110300100fca2124206814"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"992767e9cf3bc8ccf52851ab0eb6c17e51ec4041e5626f3abfca5a5f9279dd6f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a38a0bfcde51ae3ab9a0847704c98e88459849e94452de5f8732f4ddaf038980"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 51 of 63 significant files have no living knowledge, while the repository is still being changed at a low rate (6 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 51 separate risks. Counted over 63 of the 85 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DRFC.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1b9acf74977d2d6ceab7441743234d1ad9c77c6bd41ea3bfdd693a477cf77"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b758cf58451fbefadc98dde5df4374af52b4f274cd5671a71bb8f6dca96035"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1013_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5df0b9ab1c1d461b5c4699ed7dd9407985b6de60ef3e3c18adb9d78061f6f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1509_dual/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a7d9bc3e8b56ce0d6f474ccbf5fe7a9ea81eb5ec9b6a14607341936e415e17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1509/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e0610dd0e5ca704c263028d52325881235cd269d226e4f02aa588e67afff5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_m1013/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d3bbf3714cb2cbd443e676d63ef024ad3466a39f68b84cc3197adfebffed47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_r100_a0509/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"787d5322b62e8477f20968046024cf5fa55a349e22e29552d93f022c0b0545be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_rviz.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44aa068f8b40b51e2be1c070965434681b270a017c8ff3cd5a7a0d2656fd667"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_rviz.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91091b2bd69ea2d0a5458779877cbadf9fca745fbf8369b2ce5c3b783822fa4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_p3020/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbf907e112b399cf02b3f844555370fd302b0c21e8d393a8b62f9e1a88cce68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m1509/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a18048148adf755915929da2b796265f83a2ef1b5a71f0ed36b700c027dd06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m0617/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9862b76c1ade6ea8687bc7acc94230e9af3997c8a859c763c80a158b4618f9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m0609/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8983330bd3e1e797b0f4c0f8e99e1f0677afa56442c28fc7a1d7d5626c24e8fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_h2017/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70efa55d51f105223ab440006f35ac7ae89c38e41008fb2fc98cc862aeb1499b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_e0509/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35117c189bfeaf4f7e86698aa5e12e30836ba3f2f74aeea082b92f74efc49565"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0912/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18bccd5a4a8ab3b9284b13b7da3204097901727127da9fdf8eb45912118940a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e56a6840b4a3e2c4b0152a5f9e309252654223a354b0664444328aa3e3b57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_h2515/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3136900a2c74a33ede9e0c93e8f3cbb8c4b2a0cf4735edcefb0446fdaa0559fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m1013/launch/start.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99657ff76fcb69d82a7650b3ff1f07931549bcb107de1fe8ec81590d1dbf5a7a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_common2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a28ccd1e16c8f569091b88665ac46a7b5b2150303a612c50dbbcf1385fc59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_server2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9df6cf26cffc6826692881966c1f2dd6b793d655e247ba89af09ec20a4bd894"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4b4dbdb56c810b5a17e3356ce013f450f49ceba8f89eb15db19f3611eb5d0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_gazebo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab3eda1502faf8848788390945b4e119b1b16cb6d5cfc39f4604c7025298a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_bringup2_visual_servoing_gazebo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8b3eebf6b0c5ac4c31aa6c1a836fabd78f9443262cbbc548420103ab6aec8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_dual_moveit.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b966990da4192e329f75bcb2e15263312ab1bc82be59c7b97576094547c0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_controller2/launch/dsr_moveit2.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"892032be1c7ed869ec388fbdda21afd7011d66716aa1cf71168014a978f21eab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/detect_marker_gz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"395bc9da34c69ec8f9a75c5e13e2325c4481f7776a82a1603e3f829da140affa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_gazebo2/launch/dsr_gazebo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d6f4638b1f4f2bf3ae01ecfe854388bc1c5ac60afa05f10cf2d3f5e89ac143"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_gazebo2/launch/dsr_spawn_on_gazebo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f6ee2073d842978b6b7e6693d8f3d8751dff7f01e7d6bbd09df19b1e1a9331"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_mobile_manipulator_moveit.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0887a3416efeaa68c672b0d874a197bed715c00333c30131e9d9c2e0f50c605f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m1509/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ea9a5231f7a565a6a87ef42c925000893e4616fed176821775b43ba198de48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m0617/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9defc1e6433327db40a59d970bbe85d67b077dd37021c5d04b09a14e922c63ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_m0609/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c034e47a17b94e3dd4f6642c037c7d5a6e2646ee6d08ba19b7b6e3545c807e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_h2515/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"504b89432aaf97e5343e48a1ca85a09c446b68653b65e91a281227b20e3fe94b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_e0509/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"497d9df40afb4ae04677964d9782f0ad87645728c469bf91b91a89669054f181"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0509/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87036a4bc1c1497473339f55b2858a9a1b59a53ebb14ffe89158e6d634a2db9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_h2017/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1a97c061ae3bed34703c41427140685b5c0ba896e982c000e355e6220db3b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_moveit2/dsr_moveit_config_a0912/launch/demo.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87b0fb41ecf2953fb2a5f2ab1938c5b43e3c628932a215203e035c3aeb3fbbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/dsr_gazebo_visual_servoing.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a293c9eaae72a6a3193d581b8bec6f07a96a586ac4d5c0d9a26984e23a9ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_controller2/launch/dsr_controller2.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf065c69e9f1215221f1194d1a0c7e6a93075fcbc7ae0de8c13f93a7b811e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f103757360a843921dc5359714a9f8dcf09f3e4578e34c107764b45a322a897"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/launch/dsr_bringup2_moveit.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504258a759f8d2d4f66b83a70c7618d62a3b20daedb6b92ba08b04409aeeb71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_example/dsr_example/simple/single_robot_simple.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170d57452b0660b350518078e10704341c0bea9ec2fe04b2f8d659201a3dd78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/moveit_connection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e21e5d3c62a6831fb35c80b9b170fbc423615fbbebebf77747068a004974c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_description2/launch/dsr_description.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb7174967fca9f4fe1278d45700fcedc66c69dfc137715caca54eee3366148a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/gazebo_connection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5686187d8ee9f55b7e5ff995e45b434b8d5d49b26e39f01b170f4e373e108dd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/dsr_visualservoing/send_pose_servol_gz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f773e486b406ea6e6d8e74f1e6c33d1d1eb8e41020e519b11c14dd2a4b6fed0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/controller_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e13762594ab0a883df7d2217abbbcf43d18a59076153600231f68c4167057ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_example2/dsr_visualservoing/launch/rgbd_camera.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f9ea99ee72bbff723e78505ac55d43e4a90c24545a478c148018e2054389ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_error2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc6be2a3c0cad6129863c11387de65993984156283eb97f8efb2632cd139a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_controller2/launch/dsr_control2.launch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef4d85cdbd7d20762d8cdfc99da9176540f99c928924bc50c161c3eb5aed29"}},{"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":"90daad3905a90b49e7dc127a55eff896c23648db81b52b795842a1a8067faea5"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d466f76a2c69dab62e194a0de16bf81363822ad0e2840a26e97d626eb130018e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(timeout) != int and type(timeout) != float\u0060 appears character-identically in 3 files \u2014 dsr_common2/imp/DR_tcp_client2.py, dsr_common2/imp/DR_tcp_server2.py, dsr_common2/imp/DSR_ROBOT2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_common2/imp/DR_tcp_client2.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc3dd6922942939ef9e4b9084263fa8bfe9af2ed262e51e687ec9988c496f93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/utils.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"104220e7287583f39ec0953c42984d128dac9ac34b29e7a8998e3dc9170bdbd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060run\u0060 (in \u0060show_git_info\u0060) swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsr_bringup2/dsr_bringup2/utils.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a6e78c820245d71a7f6eb66861eb39888d3cab77005c03da3a860a0ebab5dd"}}],"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":26,"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."]}]}